On Fri, Jan 10, 2003 at 05:11:56PM +0700, Samnang Tep wrote:
Hi,
Can I have your sample script about the sendmail's MTA rule?
It's under the EXAMPLES section of the procmail(1) manpage. Search for
Mprocmail and you'll find something like this:
Mprocmail, P=/usr/local/bin/procmail, F=mSDFMhun, S=11, R=21,
A=procmail -m $h $g $u
This enables you to use rules like the following (most
likely in ruleset 0) to filter mail through the procmail
mailer (please note the leading tab to continue the rule,
and the tab to separate the comments):
R$*<@some.where>$*
$#procmail $@/etc/procmailrcs/some.rc
$:$1(_at_)some(_dot_)where(_dot_)procmail$2
R$*<@$*.procmail>$*
$1<@$2>$3 Already filtered, map back
Scott
--
Scott Wiersdorf
scott(_at_)perlcode(_dot_)org
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail