For anyone using procmail with formail for filtering email (normally
*nix), I've written a rule that seems to handle the broken Date: fields
we've been seeing. It works well enough for sorting to work properly
with pine and kmail. YMMV.

--- begin procmail rule ---
:0 fw
* ^TO(SURVPC@tmonroe|survpc@softcon)
* Date: \(No, or invalid, date\.\)
| formail -i "Date: `date '+%e %b %y %r %Z'`"
--- end procmail rule ---

This one's set up as a filter, meaning it will modify the message
headers but return it to the handling queue (i.e. to sort into folders
with another rule.) It can be tweaked to handle different headers and
variations.

Something similar could be done with sed as a filter if you're not
running procmail.

I wonder if something similar could be set up on the respective list
handling servers for these lists so all users could benefit?

Anyone doing mail handling with procmail/formail under BasicLinux?

- Bob

To unsubscribe from SURVPC send a message to [EMAIL PROTECTED] with 
unsubscribe SURVPC in the body of the message.
Also, trim this footer from any quoted replies.
More info can be found at;
http://www.softcon.com/archives/SURVPC.html

Reply via email to