setar писал(а):то pr0vider
# Input mail filters
O InputMailFilters=spamassassin, drweb-filter
O Milter.LogLevel=6
O Milter.macros.connect=b, j, _, {daemon_name}, {if_name}, {if_addr}
[censored]
Странно. У меня так:
sendmail.mc:
Код: Выделить всё
MAIL_FILTER(`spamassassin',`S=local:/var/run/spamass-milter, F=T, T=C:15m;S:4m;R:4m;E:10m')
MAIL_FILTER(`drweb_filter',`S=inet:3001@localhost, F=T, T=C:1m;S:5m;R:5m;E:1h')
define(`confMILTER_MACROS_CONNECT', `b, j, _, spamd, lo, 127.0.0.1')
define(`confINPUT_MAIL_FILTERS',`spamassassin')
define(`confINPUT_MAIL_FILTERS',`drweb_filter')
define(`confMILTER_LOG_LEVEL',`6')
sendmail.cf:
Код: Выделить всё
# Input mail filters
O InputMailFilters=drweb_filter
# Milter options
O Milter.LogLevel=6
O Milter.macros.connect=b, j, _, spamd, lo, 127.0.0.1
O Milter.macros.helo={tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}
O Milter.macros.envfrom=i, {auth_type}, {auth_authen}, {auth_ssf}, {auth_author}, {mail_mailer}, {mail_host}, {mail_addr}
O Milter.macros.envrcpt={rcpt_mailer}, {rcpt_host}, {rcpt_addr}
...
#Mail Filter Definitions
Xspamassassin, S=local:/var/run/spamass-milter, F=T, T=C:15m;S:4m;R:4m;E:10m
Xdrweb_filter, S=inet:3001@localhost, F=T, T=C:1m;S:5m;R:5m;E:1h