
Installation
Avira GmbH Avira AntiVir MailGate 22
The second options involves setting up email delivery via port 825 on which
Qmail should be enabled. This is achieved, e.g. with the aid of the file
inetd.conf
(see Qmail installation package).
Set up the email relay mode. In /etc/avira/avmailgate.conf, search for the
following line:
# Select how mail should be forwarded.
Change the appropriate entries as follows:
# ForwardTo /usr/sbin/sendmail -oem -oi
# Or if you want the mail to be sent by SMTP
ForwardTo SMTP: localhost port 825
If you are using inetd with Qmail:
Add the following line (1 line!) to inetd.conf:
825 tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/
bin/qmail-smtpd
If you are using tcpwrapper with Qmail:
Change the Qmail port in /var/qmail/supervise/qmail-smtpd/run. For example,
search 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
Change the lines as follows:
/usr/bin/tcpserver -D -R -v -p -x /etc/tcprules.d/qmail-smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 825 /var/qmail/bin/qmail-smtpd 2>&1
Configuring Postfix
There are two options for integrating Avira AntiVir MailGate into Postfix:
• Integration of Avira AntiVir MailGate as a content filter in
Postfix (recommended)
• Avira AntiVir MailGate is listening on port 25 and relays emails to Postfix
Content filter
Perform the following steps:
In /etc/avira/avmailgate.conf, search for the following line:
# Select how mail should be forwarded.
Change the appropriate entries as follows:
# Select how mail should be forwarded.
# Send mail by piping it through 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 10025
# Set the network interface the SMTP daemon will listen on.
ListenAddress 127.0.0.1 port 10024
Kommentare zu diesen Handbüchern