procmail
[Top] [All Lists]

Re: [Procmail] exact match

1997-01-13 10:36:15
Hi Costa!  I'm a UNIX administrator and I like to fight spam!
# The following command will forward any mail addressed
# to info(_at_)domain(_dot_)com to user1(_at_)me(_dot_)com
:0
* ^TO.*info
! user1(_at_)me(_dot_)com

 abcinfo(_at_)domain(_dot_)com
 infoxyz(_at_)domain(_dot_)com
 abcinfoxyz <otheraddress(_at_)domain(_dot_)com>

        Try this:

        * ^To:^[a-z]*^[A-Z]*info(_at_)domain(_dot_)com

        that will prevent it from matching any letters before the word 
"info".

        Regards,

-- 
<Doug Muth>--<dmuth(_at_)ot(_dot_)com> - Spam me and die!
Think your homepage sucks?  You haven't seen http://www.ot.com/~dmuth yet!!
Anti-virus software and utils: | The Transformers fanfiction:|"Est Sularus|
http://www.ot.com/~dmuth/virus | http://www.ot.com/~dmuth/tf |oth Mithas!"|
-=-=-=-=- Send a spammer to the slammer! * http://www.vix.com/spam -=-=-=-=

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Procmail] exact match, Doug Muth <=