ISPConfig 3.1.7 - Amavisd fails to start - email not working

Discussion in 'Installation/Configuration' started by dragosl, Sep 26, 2017.

  1. dragosl

    dragosl New Member

    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.
    - 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.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please edit the file /etc/amavisd/amavisd.conf and change the line:




    Dies the file /etc/amavisd/60-dkim exist? f not, create it with:

    touch /etc/amavisd/60-dkim

    and then restart amavisd.
  3. dragosl

    dragosl New Member

    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/

    Should I disable ipv6? How?
  4. dragosl

    dragosl New Member

  5. Hbod

    Hbod Member

    @till after upgrading to 3.1.7, indeed mails also stopped working for me.
    (delivery temporarily suspended: connect to[]:10024: Connection refused)
  6. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    (re)start amavis

Share This Page