procmail
[Top] [All Lists]

Re: Adding custom mail headers via a filter?

2002-10-17 11:42:30
On Thursday, Oct 17, 2002, at 02:01 Canada/Mountain, Robert Nicholson wrote:
On Wednesday, October 16, 2002, at 10:43 PM, David W. Tamkin wrote:

 :0hf
 * ^^rom( )
 | sed '1s/^rom/From/' # or heck, sed 1s/^/F/

I had an email that had body text

asdljflkasdfjalsfjasfljasflkjaskfljasdf;jasdfkF=
rom asldfjasklfjaslkfjaslkfjaslkfjaslkfjasdflkj

so I don't think that rule is 100% reliable.

note the flags ':0hf'

If you have a line starting with "rom " in your headers you've got a messed up header, right?

--
Lies!  All lies!  You're all lying against my boys!  -- Ma Barker

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail