Avira antivir mailgate suite User Manual

Page of 67
Installation
Avira GmbH
Avira AntiVir MailGate
25
Listen on
port 25
X
Look in 
master.cf
 for:
smtp inet n - n - - smtpd
X
Comment it out:
# smtp inet n - n - - smtpd
 It prevents Postfix from listening on SMTP port. SMTP daemon can listen on 
this port. Emails forwarded by the SMTP daemon will be processed by the 
Sendmail wrapper 
/usr/lib/sendmail
 (delivered by Postfix).
X
Restart Postfix:
/etc/init.d/postfix restart
or
/etc/init.d/postfix reload
4.6
Testing AntiVir MailGate after Installation
After installing AntiVir MailGate, it is recommended that you test its functionality. 
To do this, you can use a test virus, called Eicar, which is recognized by all virus 
scanners. This will not cause any damage, but it will force the program to react 
when an email scan is performed, if the installation (and configuration) is correct.
X
Copy the following string to a file:
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
– OR –
download the Eicar file from the websit
X
Send this file as an attachment to a test email for AntiVir MailGate.
X
Check the reactions in the directory 
/var/spool/avmailgate/rejected
.
X
Check the messages AntiVir MailGate sent to the logfile or 
syslog
.