[Dovecot] [dovecot] - filters

Karsten Bräckelmann guenther at rudersport.de
Fri Mar 5 01:56:56 EET 2010


On Thu, 2010-03-04 at 17:46 -0600, Rick Romero wrote:
> Quoting "Karsten Bräckelmann" <guenther at rudersport.de>:

> > # 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:\/.*

Corrected quoting, I did not write that last line.

I don't think it does what you intend anyway, unless you want to prevent
the Subject tagging, if the Subject begins with a Re: marker. Also, I've
never used the \/ match buffer in a negated condition, but my gut
feeling is that it will make the original intent fail.

> > | formail -I "Subject: [Dovecot] ${MATCH}"
> 
> Added partial Re: adjuster - Use a 2nd recipe for the Subject: Re: [Dovecot] ?
> THANK YOU!   :)

You're welcome. :)


-- 
char *t="\10pse\0r\0dtu\0. at ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}



More information about the dovecot mailing list