OT: Procmail help

Shawn Grunberger shawn at oddpost.com
Fri Feb 7 21:19:36 CET 2003


I would second the recommendation of maildrop. I've never used procmail, but we have a complex maildrop script and it appears to be both reliable and fast. Plus, the script is quite readable. There are some subtle gotchas, however, (in my experience, mostly related to dealing with external programs that return 'failure') so do plenty of testing. 
  
Shawn 

-----Original Message----- 

At 01:14 PM 2003-02-06 -0800, Peter Loron wrote: 

>Sorry for the OT post. 
> 
>I'd like to create (or borrow) a Procmail recipe that will add a bit of 
>text to the beginning of certain Subject headers. Specifically, I get some 
>mailinglists that prefix their messages with something like "[listname]", 
>and some that don't. I want to add those prefixes. 
> 
>I did some looking in Google, but either got back waaaaay too many hits or 
>nothing, depending on my keywords. 
> 
>Can somebody point me to a recipe? I know this wheel has been invented 
>before... 

If you do not understand procmail well enough to write recipes easily, may 
I suggest a more radical solution? There is a mail filter program called 
"maildrop". It uses a vaguely C like language to do the things that 
procmail does. I got to the point that I could not understand my recipes 
pretty quickly. I installed maildrop, and I was much happier. 




More information about the Bogofilter mailing list