procmail
[Top] [All Lists]

Re: proper optional subdomain testing

2001-03-18 23:43:39
Timothy wrote,

| I want to test for a specific, but optional, subdomain, such as
| 
| nobody(_at_)home(_dot_)com
| nobody(_at_)my(_dot_)home(_dot_)com
| 
| is this the correct format?
| 
| * ^From:.*nobody@(my\.)?home\.com

Looks good to me, except that you might want to make sure that you aren't
matching snobody, winobody, or dranobody or a domain like
home.communistparty.org:

 * ^From:(.*\<)?nobody@(my\.)?home\.com\>

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