Avira antivir mailgate Manual

Descargar
Página de 13
Avira AntiVir MailGate
 | HowTo 
 
Status: October 5, 2010 
 
 
In the main configuration of postfix (main.cf) only the entry for the content filter (the 
redirection) is entered:  
 
"antivir" = Port 10024 
 
/etc/postfix/main.cf: 
 
content_filter=smtp:localhost:10024 
 
In the following a further TCP socket is defined. On this TCP socket the known mail 
server service “smtpd” shall listen. Thereby it is important that the definition for the 
content filter which was valid before is reset so that no mail loop is generated.  
 
"smtp-backdoor" = Port 10025 
/etc/postfix/master.cf: 
 
localhost:10025 inet n - n - - smtpd -o content_filter= 
Postfix should be rebooted afterwards so that the new configuration is active. Now 
the configuration in postfix is done.  
 
 
The MailGate configuration is also very simple.  
 
/etc/avmailgate.conf: 
 
ListenAddress localhost port 10024 
ForwardTo SMTP: localhost port 10025 
 
Afterwards a reboot of MailGate is necessary in order to assume the configuration. 
 
2.2 MailGate in connection with Sendmail 
 
An interesting option is the integration via sendmail milter interface.  
 
Procedure for this configuration: 
 
Internet  
    | 
Sendmail 
←→
 [MILTER] 
←→
 MailGate 
    | 
further MTA / Client (MUA) 
 
 
Tip: This option allows you to check an email directly in the SMTP dialogue. In case 
of a detection the email can be rejected directly. That means a direct “REJECT” is 
possible.  
 
You find detailed installation instructions in the MailGate manual from page 15 on.