Skip to topic | Skip to bottom
Home
 
Www
Www.FixingReplyToMailTATr1.1 - 10 Dec 2006 - 09:21 - BruceDawsontopic end

Start of topic | Skip to actions
The following comes from Ben Scott in reply to a message from Bruce Dawson for sometime before 10 December, 2006.


Okay, I can't find my past procmailrc files for some reason.

But I'm pretty sure this will work:

# add/override Reply-To for list mail
:0 fhw
* ^List-Id: .*<gnhlug-discuss.mail.gnhlug.org>
| formail -i "Reply-To: gnhlug-discuss@mail.gnhlug.org"

The "f" tells procmail the recipe is a non-delivering filter. The "h" means only check the header, and the "w" means check the exit status of formail in case things go bang. The "-i" switch to formail means "add this header, renaming any existing header if needed". So any existing "Reply-To" should become "Old-Reply-To".

I got the idea to add the "hw" flags from the results of a Google search just now; apparently many others have wanted this too. Which is why I think this will work; other people have posted the same thing.
to top


You are here: Www > LinuxResources > TipsAndTechniques > MailTAT > FixingReplyToMailTAT

to top

All content is Copyright © 1999-2018 by, and the property of, the contributing authors.
Questions, comments, or concerns? Contact GNHLUG
Legal Notice (includes Terms of Service)