Re: Matching literal dot in To
Erik Christiansen <[email protected]> Sat, 13 Jun 2015 20:22:40 +1000
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <20150613102239.GB3699@ratatosk> |
On 12.06.15 21:14, Moby wrote: > 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]. Then how close does something like this take us?: :0 * ? formail -X"To:" | egrep '\<[^.@]+\.[^.@]+@' particular_folder That is agnostic about the number of addresses, triggering on any one or more. Not tried - only run through the wetware simulator, so might need a whack on a corner. Erik -- "The difference between theory and practice is much smaller in theory than in practice..."