repairing the From: headers of sed-users ...

"Cameron Simpson [email protected] [sed-users]" <[email protected]>
Newsgroups gmane.editors.sed.user
Message-ID <[email protected]>
As I'm sure you're all aware, Yahoo Groups began mangling our From: headers 
last year to be from the list, not the author, because Yahoo moved to DKIM 
validation.

Nice for authentication perhaps, by for me at least, immensely annoying for 
reading the list and replying/attributing.

I have finally found some time to produce a workaround for this issue which I 
thought other here may benefit from, especially since one form of it is a sed 
script.

I've written more wordily here:

  http://marc.info/?l=mutt-users&m=142006430708261&w=2

but in short:

This sed script is here:

  https://bitbucket.org/cameron_simpson/css/src/tip/bin/fix-dkim-from

will under to From: header, producing a correct original author. You can use it 
in a procmail recipe like this (untested, but the script itself is tested):

  :0whf
   * from:.*<[email protected]>
  | fix-dkim-from

If you do that ahead of your filing rules, you should get good results. An 
important caveat is that you should only apply the script to messages from 
lists which do this mangling, hence the condition in the above rule.

Hoping others here find this useful,
Cameron Simpson <[email protected]>

No electrons were harmed in the production of this message.
        - Dr. P. Gensheimer <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.