Avira antivir mailgate suite Benutzerhandbuch

Seite von 67
Milter Mode
Avira GmbH
Avira AntiVir MailGate
13
Directly modify sendmail.cf
X
Insert the following two lines in the configuration file 
sendmail.cf
:
Xavmilter, S=inet:3333@localhost, F=R, 
T=S:2m;R:2m;E:10m
O InputMailFilters=avmilter
Value meaning
z
F: determines what should happen if the filter is not available:
– T: emails are temporarily not accepted (error 4XX)
– R: emails are rejected (error 5XX)
z
T: sets the following timeouts:
– C: timeout to set up the connection to filter
– S: timeout while sending information to filter
– R: timeout while reading an answer from filter
– E: timeout between sending the "End of message" and the response from the 
filter
Generate sendmail.cf
X
Insert the corresponding lines in the file 
sendmail.mc
(commands beginning with 
INPUT must be written in one line):
for sendmail 8.11.x:
define(`_FFR_MILTER’, `true’)
INPUT_MAIL_FILTER(`avmilter’,`S=inet:3333@localhost, 
F=R, T=S:2m;R:2m;E:10m’) 
    for sendmail 8.12.x:
INPUT_MAIL_FILTER(`avmilter’,`S=inet:3333@localhost, 
F=R, T=S:2m;R:2m;E:10m’)
X
Generate the file 
sendmail.cf
Example:
m4 sendmail.mc > /etc/mail/sendmail.cf
Change these values if the log displays this notification:
"Milter (avmilter): timeout before data read"