Re: Matching literal dot in To
Moby <[email protected]> Fri, 12 Jun 2015 21:14:15 -0500
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected]. -- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin