procmail
[Top] [All Lists]

Re: Matching literal dot in To

2015-06-12 21:14:36


On 06/12/2015 07:41 PM, LuKreme wrote:
You need to match to not contain the @.

To:(.*\<)[^@]+\.[^@]+@

Something like that. I'm away from my computer, so I can't check the syntax, 
but that should be close enough.

Also, adding .* at the end of a procmail match pattern is pointless.


Thanks Lukreme and Chuck.
Chuck, the goal is to put the message in a particular folder if ~any~ of the addresses in the To field is of the form abc.def@some.domain.

--
--Moby

They that can give up essential liberty to obtain a little temporary safety 
deserve neither liberty nor safety.  -- Benjamin Franklin

____________________________________________________________
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