[Dovecot] [dovecot] - filters

Rick Romero rick at havokmon.com
Fri Mar 5 01:46:07 EET 2010


Quoting "Karsten Bräckelmann" <guenther at rudersport.de>:

>> > > I'm by no means a procmail expert, but this seems to work (though
>> > > [Dovecot] gets put before the Re:)
>
>> This is better for procmail (doesn't change Subject if [Dovecot]
>> already there)
>> :0 fhw
>> * ^List-Id:.*Dovecot Mailing List
>> {
>>    :0
>
> The first one is not a filter, and we don't wanna wait for it either.
> And all this unnecessary cascading of recipes, to get an AND, which is
> default with multiple conditions... See, that's why people perceive
> procmail syntax as hard to understand. ;)
>
>
> # Force-inject [Dovecot] Subject tagging, just because I insist on the
> # list traffic hitting my Inbox, and am unwilling to filter it.
>
> :0 fw
> *   ^List-Id: .*Dovecot Mailing List
> * ! ^Subject: .*\[Dovecot\]
> *   ^Subject: \/.*
> * ! ^Subject: Re:\/.*
> | formail -I "Subject: [Dovecot] ${MATCH}"
>
Added partial Re: adjuster - Use a 2nd recipe for the Subject: Re: [Dovecot] ?
THANK YOU!   :)

Rick



More information about the dovecot mailing list