procmail
[Top] [All Lists]

Re: testing & regexp nonmatch

2001-07-23 15:44:42
Hi Philip. How about

    ^TO_(_dot_)+(_at_)somedomain(_dot_)com

to make sure a message is to someone in somedomain.com?

Remove the ".+"?

        Thanks,

        John

Philip Guenther writes:

DON'T PUT ".*" AFTER ^TO or ^TO_!!!  They do the skipping for you.

-- 

John Conover        Tel. 408.370.2688  conover(_at_)rahul(_dot_)net
631 Lamont Ct.      Fax. 408.379.9602  http://www.johncon.com/
Campbell, CA 95008  Cel. 408.772.7733  

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