I just installed Avast on my Linux server and have it configured as follows:
qmail running on port 25 relays inbound mail to avastrelay listener
avastrelay relays scanned mail to second instance of qmail
In my previous configuration using a different mail scanner, I configured internal mail clients to use the av port as their outbound SMTP server… e.g., I want to scan both inbound and outbound mail. Since installing avastrelay, mail clients are getting connection errors when they try to send mail.
The mailscanner section of avastd.conf contains the following line:
listen = /var/run/avast4mailscanner.sock
The switches variable in /etc/init.d/avastrelay looks like this:
-i 192.168.2.66:725 -I 192.168.2.66:825 -a /var/run/avast4mailscanner.sock -l var/log/avast4/avastrelay -u avrelay -t 60
The SMTP port for mail clients is 725.
What do I need to change to ensure that outbound mail is scanned?