procmail
[Top] [All Lists]

Re: Help wit filtering recipe

2010-05-26 15:43:44
Hello Gustavo Villaran,

Am 2010-05-26 14:58:38, hacktest Du folgendes herunter:
Hi i need to filter some emails with procmail but im new to this and
i dont know how to do it, i need
to do the following :

IF  the target email is "xxx(_at_)abc(_dot_)com" and the sender is 
"a(_at_)abc(_dot_)com"
or "b(_at_)abc(_dot_)com"
then the email needs to be delivered
else the email should be deleted

thats it

if anyone please can help me should be great.

    :0
    * ^To:(_dot_)*xxx(_at_)abc\(_dot_)com
    * ^From:.*(a|b)@abc\.com
    /dev/null


Thanks, Greetings and nice Day/Evening
    Michelle Konzack

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems(_at_)tdnet France EURL       itsystems(_at_)tdnet UG (limited 
liability)
Owner Michelle Konzack            Owner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz                 Kinzigstraße 17
67100 Strasbourg/France           77694 Kehl/Germany
Tel: +33-6-61925193 mobil         Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

<http://www.itsystems.tamay-dogan.net/>  <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/>         <http://www.can4linux.org/>

Jabber linux4michelle(_at_)jabber(_dot_)ccc(_dot_)de
ICQ    #328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/
____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>