procmail
[Top] [All Lists]

Filter emails coming not from my own domain

2006-08-22 01:51:54
Dear All,

I want to filter all emails coming not from my own domain to our
private email address say  privateaddress(_at_)mydomain(_dot_)com . I am working
around following  recipie but it is not working, kindly tell me how to
write it.

:0
* !^From:outsidefrom-mydomain(_at_)mydomain(_dot_)com
* ^TO_privateaddress(_at_)mydomain(_dot_)com
/dev/null


Thank you,
Imran

____________________________________________________________
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>