Avira antivir mailgate suite Benutzerhandbuch

Seite von 67
Installation
Avira GmbH
Avira AntiVir MailGate
24
X
Change these entries as below:
# Select how mail should be forwarded.
# Send mail by piping it thru sendmail (this is the default)
# ForwardTo /usr/sbin/sendmail -oem -oi
# Or if you want the mail to be sent by SMTP
ForwardTo SMTP: localhost port smtp-backdoor
# The location of the scanner's socket. 
# MailGate connects to this socket to perform scan requests.
ScannerListenAddress /var/run/avmailgate/scanner
If you use SuSE Mail Server II:
X
Replace the entry 
#AllowSourceRouting NO
 with:
AllowSourceRouting YES
X
Stop and restart AntiVir MailGate:
/etc/init.d/avmailgate restart
X
Add the following entry in 
/etc/postfix/master.cf
:
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (50)
smtp inet n - n - - smtpd
For AntiVir Mail daemon
localhost:smtp-backdoor inet n - n - - smtpd -o content_filter= 
(one line!)
X
Check that the first character in the table is not a space or tab.
The entry 
smtpd -o content_filter 
deactivates the corresponding line in 
a second Postfix instance (avoids mail loops).
X
Add into 
/etc/postfix/main.cf
:
# AntiVir integration
content_filter = smtp:127.0.0.1:10024
X
Restart Postfix:
/etc/init.d/postfix restart
or
/etc/init.d/postfix reload
If Postfix sets the status 
deferred
 for emails, after AntiVir MailGate installation:
X
Search in 
main.cf
 for the line:
defer_transports = local
X
Comment it out:
# defer_transports = local