[Dovecot] [dovecot] - filters
Roderick A. Anderson
raanders at cyber-office.net
Fri Mar 5 00:41:05 EET 2010
Rick Romero wrote:
> Quoting "Marcus Rueckert" <darix at opensu.se>:
>
>> On 2010-03-04 15:27:20 -0600, Rick Romero wrote:
>>> I'm by no means a procmail expert, but this seems to work (though
>>> [Dovecot] gets put before the Re:)
>>>
>> and with an LDA that speaks only sieve?
>> how do you do it there?
>>
>
> This is better for procmail (doesn't change Subject if [Dovecot] already
> there)
> :0 fhw
> * ^List-Id:.*Dovecot Mailing List
> {
> :0
> * !^Subject:.*\[Dovecot\]
> {
> :0 fhw
> * ^Subject:\/.*
> | formail -I "Subject: [Dovecot] $MATCH"
> }
> }
>
>
> I don't know enough about Sieve to give an example..
> what you want is:
> 1. List-Id head contains "Dovecot Mailing List"
> 2. Subject does not contain [Dovecot]
> 3. Pass email to formail to modify Subject ( built in Sieve equivalent?)
if header :contains "List-Id" "dovecot.dovecot.org" {
fileinto "Dovecot";
stop;
}
I just removed my Subject based filter and put this in so "+1".
\\||/
Rod
--
>
> HTH
>
> Rick
>
>
>
>
>
>
More information about the dovecot
mailing list