Re: An 'or' recipe
"John Levine" <[email protected]> 13 Aug 2017 23:49:42 -0000
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <[email protected]> |
In article <[email protected]> you write: >* 2147483647^0 $ ^From:${ws}.*jrobertsonwrites@gmail\.com >$AUTHORS ># > >where ${ws} is folded whitespace, (the characters between the block >braces are a tab character, hex 09, followed by a space character, hex >20). That seems overcomplicated -- I have never seen a non-spam From: line that had anything other than space or tabs after the From: and before the address. Since you need to skip over comments like these: From: Joe Blow <[email protected]> you might as well just do what I did, = ^From:.*(address1|address2|address3|...|addressN) >> > > :0 >> > > *^From:[email protected] |\ >> > > ^From:[email protected] |\ >> > > ^From:[email protected] |\ >> > > ^From:[email protected] |\ >> > > ^From:[email protected] |\ >> > > ^From:[email protected] |\ >> > > ^From:[email protected] |\ >> > > ^From:[email protected] |\ >> > > ^From:[email protected] |\ >> > > ^From:[email protected] |\ >> > > ^From:[email protected] >> > > $AUTHORS >> > between the From: and the address.=A0=A0Try this: >> > = >> > :0 >> > * ^From:.*([email protected]|[email protected]|mail@cchase >> > harwood.com|[email protected]|[email protected]|help@boo >> > kfunnel.com|[email protected]|[email protected]|cgockel@ >> > cgockelwrites.com|[email protected]|[email protected]) >> > $AUTHORS