procmail
[Top] [All Lists]

Re: Identify a .forward[ed] message

1999-05-08 21:58:22
"David W. Tamkin" <dattier(_at_)Mcs(_dot_)Net> writes:

**8<snip good info

The only thing that remains to be distinguished is mail that originates on
worldnet, blind-carboned to reader(_at_)newsguy(_dot_)com, from mail sent to
readerx(_at_)worldnet(_dot_)att(_dot_)net and forwarded to 
reader(_at_)newsguy(_dot_)com(_dot_)  Harry, is that
a consideration for you?  If not,

 :0:
 * ^Received:(.+$)+Received:(.+$)+Received:.*from \
   ([^ ]+\.)?worldnet\.att\.net.*by newsguy\.com.*for 
<reader(_at_)newsguy(_dot_)com>;
 * ! ^TO_reader(x(_at_)worldnet\(_dot_)att\(_dot_)net|@newsguy\.com)
 blindcarbonedworldnetforwards
 
David, I haven't been able to experiment with this yet, just studying
your approach though, I'm finding my limited experience with regexp
isn't making it easy to see what you are doing here.

I wonder if you could give an account in english of what the RE above
is doing.  (for the RE impaired)

Thanks for the input.  I'll be experimenting with it later tonight.





<Prev in Thread] Current Thread [Next in Thread>