I have this ISPConfig 3 machine running generally fine for a few years now however just noticed the email stopped working a while ago. Updated to 3.1.7 and issue persists. CentOS 6.9 x64 ISPConfig 3.1.7 Initially (few years back) followed The Perfect Server - CentOS 6.5 x86_64 (Apache2, MySQL, PHP, PureFTPD, Postfix, Dovecot and ISPConfig 3) without issues. Issues: - amavisd fails to start upon update (haven't found any reference for this particular error on internet): Error in config file "/etc/amavisd/amavisd.conf": Config file "{amavis_config_dir}/60-dkim" does not exist, at /usr/sbin/amavisd line 2148. Shutting down amavisd: [FAILED] Error in config file "/etc/amavisd/amavisd.conf": Config file "{amavis_config_dir}/60-dkim" does not exist, at /usr/sbin/amavisd line 2148. Starting amavisd: [FAILED] - in the ISC GUI under Server Config / Mail there is a field "DKIM Path:" with value "/var/lib/amavis/dkim". There is no such path on the system: # ls -l /var/lib/amavis/dkim ls: cannot access /var/lib/amavis/dkim: No such file or directory ls -l /var/lib/amavis ls: cannot access /var/lib/amavis: No such file or directory - I reinstalled amavisd-new to no avail Any help would be appreciated. Dragos
Please edit the file /etc/amavisd/amavisd.conf and change the line: include_config_files('{amavis_config_dir}/60-dkim'); to: include_config_files('/etc/amavisd/60-dkim'); Dies the file /etc/amavisd/60-dkim exist? f not, create it with: touch /etc/amavisd/60-dkim and then restart amavisd.
Did that, amavis daemon fails to start. Sep 26 13:26:10 hermes amavis[1248]: starting. /usr/sbin/amavisd at hermes.xx amavisd-new-2.9.1 (20140627), Unicode aware, LANG="en_US" Sep 26 13:26:11 hermes amavis[1249]: (!)Net::Server: 2017/09/26-13:26:11 Can't connect to TCP port 10024 on ::1 [Cannot assign requested address]\n at line 68 in file /usr/share/perl5/vendor_perl/Net/Server/Proto/TCP.pm Should I disable ipv6? How?
Although I've disabled ipv6 globally on the server: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 I've found some fairly old references on this http://www.iredmail.org/forum/topic9874-iredmail-support-cant-start-amavisd-service.html: "add this line $inet_socket_bind = '127.0.0.1'; to amavisd config file" and it seems to work. But why of a sudden after a couple of years this issue?
@till after upgrading to 3.1.7, indeed mails also stopped working for me. (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)