procmail
[Top] [All Lists]

Dump email from specific sender

2000-08-16 13:45:43
I'm a little confused with syntax.  I want to dump mail from a specific
sender and would like to do the same for email coming from a specific domain
(two cases really).  I propose the following:

Case 1:

:0
* !^FROM_DAEMON
* !^FROM_MAILER
* !^X-Loop: myaddress(_at_)mydomain(_dot_)net
* ^From(_dot_)*jhodgins(_at_)moneymailer(_dot_)com
/dev/null

Case 2:

:0
* !^FROM_DAEMON
* !^FROM_MAILER
* !^X-Loop: myaddress(_at_)mydomain(_dot_)net
* ^From(_dot_)*(_at_)moneymailer(_dot_)com
/dev/null


Would Case 1 dump email from this specific sender?

Would Case 2 dump email from everyone(_at_)moneymailer(_dot_)com?

What are the differences between:
* ^From(_dot_)*(_at_)moneymailer(_dot_)com
* ^From:(_dot_)*(_at_)moneymailer(_dot_)com
------- and -------
* ^From*(_at_)moneymailer(_dot_)com

?????

Thanks in advance,
Mike O.




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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