Some time around 10/02/2004 09:09:39, I think I heard DZ-Jay say:
# * .*acs rcb
# * .*acuso recebimento
# * .*acuso o recebimento
# YOU CAN DO THIS...
:0 B
* .*ac(s|uso) (o )?r(cb|recebimento)
{
:0 fw
|(formail -r -i "From:suporte(_at_)mynet(_dot_)br" -A "X-Loop: suporte";\
cat /adm/acs_rcb.msg)|sendmail -oi -t
:0
/dev/null
}
Sorry, the regexp pattern on this rule should be:
* .*ac(s|uso) (o )?r(cb|ecebimento)
(no "r" in "ecebimento", since it is matched outside the alternative grouping.)
Note that this will also match things like ".* acs o rcb", and "*.acuso rcb"
but that shouldn't be a problem, right?
-dZ.
--
:[ DZ vs. THE WORLD]==- -- - -
Hating anything, everything and everyone since 1996.
--
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail