procmail
[Top] [All Lists]

Re: recipe for Content-Type:

2002-07-16 15:36:41
On Tue, 16 Jul 2002, Bart Schaefer wrote:


On Tue, 16 Jul 2002, Keith wrote:

On Tue, 16 Jul 2002, Bart Schaefer wrote:

Actually you shouldn't use the H flag.  It's the default, and in the 
current version (3.22) of procmail there's a bug

 Well I still use 3.21 and if I don't mandate the H then procmail will
also search the body for matches. 

Really?  It's not supposed to unless you explicitly use the B flag.  I
just tried both 3.14 and 3.22 and neither searches the body without B,
and I don't recall this ever being reported as a bug in 3.21.



 I discovered this becuase I had set up procmail with copy and had
to filter for the ^subject:.*ebay.*. In a mail list I manage many times
the subject: ebay would be in the body of the message and procmail
would deliver it to the wrong folder. I had to use H to stop 
procmail from searching the body. 

:0c:
* ^Subject:.*ebay.*
/home/user/mail/foldername

[..]
# final filter
:0:
* ^TO@
/home/user/mail/mailbackup
 
-- 
Best Regards,  Keith
NW Oregon Radio http://n6jpa.home.attbi.com/ 
rec.radio.swap email list http://groups.yahoo.com/group/rec_radio_swap
Linux 2.4.7-10 PINE 4.44


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