D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] formail hack



G'day all,

Further to my whinge earlier :-)

Here is something that might help.
Stick it a procmail formular and it should work.

formail -k -I Reply-To: -i "List-Post: <mailto:list@xxxxxxxxxxxx>" -X ""

I should remove the Reply-To: which will then default to the From: field I think... does for me...
If your mail client conforms to RFC 2369
http://www.faqs.org/rfcs/rfc2369.html
The the List-Post field will allow 'the reply to list' button/function to work properly.


Here is what I stuck in my procmailrc...
#+
#Munge the non-rfc headers
#-
:0
* ^Sender:.*owner-list@xxxxxxxxxxxx
{
:0hf
| /usr/local/bin/formail -k -I Reply-To: -i "List-Post: <mailto:list@xxxxxxxxxxxx>" -X ""
:0:
/home/mike/mail/inbox/
}


Lets see how this works...

 --
'ooroo

Mike...(:)-)
---------------------------------------------------
Email: mike@xxxxxxxxxxxxx        o
You need only two tools.        o /////
A hammer and duct tape. If it    /@   `\  /) ~
doesn't move and it should use  >  (O)  X<  ~  Fish!!
the hammer. If it moves and      `\___/'  \) ~
shouldn't, use the tape.           \\\
---------------------------------------------------

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly