[Esa-l]cuestion abuot sendmail.cf
Sean Walberg
SWalberg at exchange.hsc.mb.ca
Fri May 25 13:46:59 PDT 2001
Here is my .mc file:
VERSIONID('@(#)foo')
OSTYPE(linux)
FEATURE(nouucp)
FEATURE(use_cw_file)
FEATURE(relay_based_on_MX)
FEATURE(access_db)
FEATURE(`mailertable', `hash /etc/mail/mailertable')
MAILER(`procmail')
MAILER(local)
MAILER(smtp)
LOCAL_CONFIG
CP PROCMAIL
LOCAL_RULE_0
R$* $: <> $1 mark all
R<> < @ $* > $* $: < @ $1 > $2 skip
route-addr
R<> $* < @ $* . PROCMAIL . > $: $>3 $1 @ $2 already
filtered
R<> $* < @ PROCMAIL . > $: $1 already filtered
R<> $* < @ $* . > $: <> $1 < @ $2 > remove dot
R<> $* < @ $* > $: $1 < @ $2 . PROCMAIL . > send to procmail
R<> $* $: $1 < @ PROCMAIL . > send to
procmail
In mailertable, you need:
PROCMAIL procmail:/etc/procmailrcs/filter.rc
.PROCMAIL procmail:/etc/procmailrcs/filter.rc
Sean
-----Original Message-----
From: Stephan Fassotte [mailto:sfassotte at cti.cnr.gob.sv]
Sent: Friday, May 25, 2001 3:45 PM
To: esa-l at spconnect.com
Subject: [Esa-l]cuestion abuot sendmail.cf
how to modify sendmail.cf to filter ALL incoming mail with procmail? not
just
local delivery.
More information about the esd-l
mailing list