错误:Postfix / amavisd - 连接到127.0.0.1 [127.0.0.1]:10024:连接被拒绝
您使用具有amavisd-new的Postfix设置,并在邮件日志中获取以下错误:
Aug 17 14:58:33 server1 postfix/smtp[5993]: F0C57124E77: to=<info@example.com>, relay=none, delay=2524, delays=2524/0.27/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
要么:
Aug 17 09:42:24 server1 postfix/error[7809]: 15D54124E53: to=<info@example.com>, relay=none, delay=269, delays=0.49/269/0/0.04, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting)
解
请重新启动amavisd-new和Postfix,然后检查
netstat -tap
两者都在端口上运行
25和10025(Postfix)
和
10024(amavisd-new)。