Port 10024 is closed - connections refused - mail fails

Discussion in 'Installation/Configuration' started by snowweb, Mar 17, 2022.

  1. snowweb

    snowweb Member

    On new VPS being prepared for production, we see in /var/log/mail.log
    Mar 18 01:00:11 s2 postfix/lmtp[420719]: connect to[]:10024: Connection refused
    according to htf_report the port is not open.
    Does this indicate that something is not installed properly? Or how to resolve?

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The error message means that the amavis daemon is not running. Restart amavisd and in case it still does not work, check the mail.log to see why amavis does not start.
  3. snowweb

    snowweb Member

    Super fast response! Thanks!
    You were correct. It had exited. Restarting failed with this message in the mail.log:
    Mar 18 01:37:56 s2 amavis[422483]: (!)Net::Server: 2022/03/18-01:37:56 Can't connect to TCP port 10024 on ::1 [Cannot assign requested address]\n  at line 64 in file /usr/share/perl5/Net/Server/Proto/TCP.pm
  4. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Stop amavis, then see if something still has port 10024 open (with 'lsof -i :10024'), eg. maybe another amavis process that is hung? You might have to kill that before starting amavis. Or just reboot and see if it starts.
  5. snowweb

    snowweb Member

    Fixed after a reboot. Thanks Jesse

Share This Page