FreeBSD 7.0
Procmail v3.22 (ставился из портов)Задача - письма содержащие в теме "SPAM" перенаправлять на postmaster@xxxx.com
Sendmail и Spamassassin работают нормально. А Procmail, такое ощущение что вообще не вызывается. Лог пустой. Помогите найти где ошибка.
начало sendmail.mc
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.34.2.1 2007/11/22 16:19:40
gshapiro Exp $')
OSTYPE(freebsd6)
DOMAIN(generic)
FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(`local_procmail')dnl
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " $&{client_addr} "
rejected, see http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}')
FEATURE(dnsbl, `bl.spamcop.net', `"550 Mail from " $&{client_addr} " rejected -
see bl.spamcop.net"')
FEATURE(dnsbl, `cbl.abuseat.org', `"550 Mail from " $&{client_addr} " rejected -
see cbl.abuseat.org"')
FEATURE(dnsbl, `dnsbl.njabl.org', `"550 Mail from " $&{client_addr} " rejected -
see dnsbl.njabl.org"')
FEATURE(dnsbl, `dnsbl.sorbs.net', `"550 Mail from " $&{client_addr} " rejected -
see dnsbl.sorbs.net"')
FEATURE(dnsbl, `list.dsbl.org', `"550 Mail from " $&{client_addr} " rejected - s
ee list.dsbl.org"')
FEATURE(dnsbl, `zen.spamhaus.org', `"550 Mail from " $&{client_addr} " rejected
- see zen.spamhaus.org"')
FEATURE(dnsbl, `dul.ru')dnl
FEATURE(dnsbl, `ex.dnsbl.org',`"SPAM - dnsbl.org"')dnl
define(`confCW_FILE', `-o /etc/mail/local-host-names')
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
define(`confLOCAL_MAILER', `cyrusv2')
define(`CYRUS_MAILER_PATH', /usr/local/cyrus/bin/deliver)
define(`PROCMAIL_MAILER_PATH',`/usr/local/bin/procmail')
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=, T=S:4m;R
:4m')dnl
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=,T=S:
4m;R:4m')dnl
define(`confMILTER_MACROS_CONNECT',`b, j, _, r, {daemon_name}, {if_name}, {if_ad
dr}')dnl
define(`confINPUT_MAIL_FILTERS', `clmilter,spamassassin')dnl
TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 PLAIN LOGIN')dnl
define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 PLAIN LOGIN')dnl
MAILER(`procmail')
MAILER(`local')
конец sendmail.mc
Начало procmailrc
PATH=/bin:/usr/bin:/sbin:/usr/sbin
LOGFILE=/var/log/procmail.log
LOGABSTRACT=all
VERBOSE=yes
:0
* ^Subject:.*(SPAM|spam)
!postmaster@xxxx.com
конец procmailrc