Installation
Avira GmbH
Avira AntiVir MailGate
23
X
Change these entries as below:
# ForwardTo /usr/sbin/sendmail -oem -oi
# Or if you want the mail to be sent by SMTP
ForwardTo SMTP: localhost port smtp-backdoor
If you use
inetd
with Qmail:
X
Insert the following line in
inetd.conf
(one line!):
smtp-backdoor stream tcp nowait qmaild /var/qmail/bin/
tcp-env tcp-env /var/qmail/bin/qmail-smtpd
If you use tcpwrapper with Qmail:
X
Change the Qmail port in
/var/qmail/supervise/qmail-smtpd/run
. For example,
look for the following lines:
/usr/bin/tcpserver -D -R -v -p -x /etc/tcprules.d/
qmail-smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/
qmail-smtpd 2>&1
X
Edit the lines as follows:
/usr/bin/tcpserver -D -R -v -p -x /etc/tcprules.d/
qmail-smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp-backdoor /var/
qmail/bin/qmail-smtpd 2>&1
Configuring Postfix
There are two ways of integrating AntiVir MailGate with Postfix:
z
Integrate AntiVir MailGate as a content filter in Postfix (recommended)
z
AntiVir MailGate listens on port 25 and forwards emails to Postfix
Content Filter
From Postfix snapshot 20000520, it is possible to integrate AntiVir MailGate as a
content filter. The first release with possible content filtering was 20010228.
Proceed as follows:
X
Make the following entries in
etc/services
:
# Content Filter for postfix
antivir 10024/tcp #Port for smtp daemon
smtp-backdoor 10025/tcp #Port for postfix backdoor
X
Look for the following line in
/etc/avmailgate.conf
:
# Select how mail should be forwarded.