Failed to save exim configuration.
AnsweredHello,
I faced an issue, and stucked out trying to find a solution. So everything started from roundcube, it can't connect to SMTP server to send emails. I found that SMTP server are not listening on port 465, or 587 only on 25
root@cp:~# netstat -tnlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:3693 0.0.0.0:* LISTEN 1518/sshd: /usr/sbi
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 1467/dovecot
tcp 0 0 0.0.0.0:2095 0.0.0.0:* LISTEN 1464/cpsrvd (SSL) -
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 1467/dovecot
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1/init
tcp 0 0 0.0.0.0:2096 0.0.0.0:* LISTEN 1464/cpsrvd (SSL) -
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1525/nginx: master
tcp 0 0 0.0.0.0:81 0.0.0.0:* LISTEN 2623/httpd
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 1484/pdns_server
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1228/cupsd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 2618/master
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 1484/pdns_server
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1525/nginx: master
tcp 0 0 0.0.0.0:444 0.0.0.0:* LISTEN 2623/httpd
tcp 0 0 0.0.0.0:2077 0.0.0.0:* LISTEN 1657/cpdavd - accep
tcp 0 0 0.0.0.0:2078 0.0.0.0:* LISTEN 1657/cpdavd - accep
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 1467/dovecot
tcp 0 0 0.0.0.0:2082 0.0.0.0:* LISTEN 1464/cpsrvd (SSL) -
tcp 0 0 127.0.0.1:579 0.0.0.0:* LISTEN 1661/cPhulkd - proc
tcp 0 0 0.0.0.0:2083 0.0.0.0:* LISTEN 1464/cpsrvd (SSL) -
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 1467/dovecot
tcp 0 0 0.0.0.0:2086 0.0.0.0:* LISTEN 1464/cpsrvd (SSL) -
tcp 0 0 0.0.0.0:2087 0.0.0.0:* LISTEN 1464/cpsrvd (SSL) -
tcp 0 0 0.0.0.0:2091 0.0.0.0:* LISTEN 1657/cpdavd - accep
tcp6 0 0 :::3693 :::* LISTEN 1518/sshd: /usr/sbi
tcp6 0 0 :::110 :::* LISTEN 1467/dovecot
tcp6 0 0 :::143 :::* LISTEN 1467/dovecot
tcp6 0 0 :::111 :::* LISTEN 1/init
tcp6 0 0 :::80 :::* LISTEN 1525/nginx: master
tcp6 0 0 :::81 :::* LISTEN 2623/httpd
tcp6 0 0 :::53 :::* LISTEN 1484/pdns_server
tcp6 0 0 ::1:631 :::* LISTEN 1228/cupsd
tcp6 0 0 :::25 :::* LISTEN 2618/master
tcp6 0 0 :::443 :::* LISTEN 1525/nginx: master
tcp6 0 0 :::444 :::* LISTEN 2623/httpd
tcp6 0 0 :::993 :::* LISTEN 1467/dovecot
tcp6 0 0 :::995 :::* LISTEN 1467/dovecot
tcp6 0 0 :::3306 :::* LISTEN 1635/mysqld
So i went to exim server configuration to look at this, when i tried to set up tls_on_connection_ports to 465 (as instructed here https://support.cpanel.net/hc/en-us/articles/10552467452823-Sending-an-email-from-Roundcube-results-in-SMTP-Error-1-Connection-to-server-failed-) I found that Advanced tab is not loading
added as additional configuration setting
after saving, got this
Your configuration could not be updated.
Doing Dry Run Unkonwn binary: 'sendmail', possible typo? at /usr/local/cpanel/Cpanel/Binaries.pm line 406. Cpanel::Binaries::path("sendmail") called at /usr/local/cpanel/Cpanel/Exim.pm line 101 Cpanel::Exim::geteximinfo() called at /usr/local/cpanel/Cpanel/Exim.pm line 27 Cpanel::Exim::fetch_caps() called at /usr/local/cpanel/Cpanel/Exim/Config.pm line 286 Cpanel::Exim::Config::new("Cpanel::Exim::Config", "localopts", "/etc/exim.conf.localopts.dry_run", "localopts.shadow", "/etc/exim.conf.localopts.shadow.dry_run", "debug", 0) called at /usr/local/cpanel/scripts/buildeximconf line 58
so far i restarted services, restarted server, checked if sendmail exists
i made a diffcheck of configs with a working server (no differences found)
finaly trying to reset config, got same error
Maybe someone faced same or similar issue and can give a clue on how to solve this.
Thank you all in advance.
-
It passed some time, don't know if someone encounter this issue.
We have found that our customer, had installed some packages from cli which lead to deletion of some cpanel packages.After running system integrity checking, we found which packages were missing and installed it again.
and the issue was solved.Cheers!
0
Please sign in to leave a comment.
Comments
1 comment