Hello, I tried to disable spam and anti-virus on my server using this link. After that I restarted my server and I got this error in /var/log/mail.log Could someone maybe point me in the right direction on how to fix this issue. I think there is a config file somewhere that still tells postfix to connect to amavis. Code: Jun 1 14:10:26 server1 postfix/submission/smtpd[8999]: connect from ***.***[127.0.0.1] Jun 1 14:10:26 server1 postfix/submission/smtpd[8999]: NOQUEUE: filter: RCPT from ***.***[127.0.0.1]: <***@***.me>: Sender address triggers FILTER amavis:[127.0.0.1]:10026; from=<***@***.me> to=<***@***.nl> proto=ESMTP helo=<***.***.me> Jun 1 14:10:26 server1 postfix/submission/smtpd[8999]: 4BD083ED6E: client=***.***.me[127.0.0.1], sasl_method=LOGIN, sasl_username=***@***.me Jun 1 14:10:26 server1 postfix/cleanup[9002]: 4BD083ED6E: message-id=<e404718fc11e1cdc8e098a6ed60b5d0a@***.***.me> Jun 1 14:10:26 server1 postfix/qmgr[8687]: 4BD083ED6E: from=<***@***.me>, size=11673, nrcpt=1 (queue active) Jun 1 14:10:26 server1 postfix/qmgr[8687]: warning: connect to transport private/amavis: Connection refused Jun 1 14:10:26 server1 postfix/submission/smtpd[8999]: disconnect from ***.***.me[127.0.0.1] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8 Jun 1 14:10:26 server1 postfix/error[8971]: 4BD083ED6E: to=<***@***.nl>, relay=none, delay=0.11, delays=0.1/0/0/0, dsn=4.3.0, status=deferred (mail transport unavailable) My /etc/postfix/main.cf & /etc/postfix/master.cf https://pastebin.com/vweASJzS
Amavis is an important part of the mail system, it is not just an antivirus scanner, it does also dkim signing. Disabling it will make the mail system fail. To fix it, undo the steps that you did to disable it.
Thanks for your response, undoing the steps fixed the issue. I have disabled virus scanning because that took most of the system resources. Everything is running perfect now.