On 12Aug2009 14:56, I wrote: | I'm thinking about getting procmail to rewrite that header | as you describe. Maybe (untested): | | :0whf | * ^from:.*<http://[email protected]> | | formail -i 'From: Joe User <[email protected]>' | | ahead of the other rules.
I'm now running with this: :0 * ^from:.*<http://[email protected]> { :0whf | sed '/^[Ff]rom:/s|<http://|<|' } Seems to work. (I know that can be written as a single clause instead of nested; the above is a syntactic thing for my mail rule processor.) Cheers, -- Cameron Simpson <[email protected]> DoD#743 http://www.cskk.ezoshosting.com/cs/ "Neomort" : Brain-dead human, kept alive for medical purposes. "Medicine Lecturer" : Brain-dead human, kept alive for medical purposes.
