[Dovecot] Getting started with sieve and conversion from procmail

Karsten Bräckelmann guenther at rudersport.de
Thu Nov 17 04:18:38 EET 2011


On Wed, 2011-11-16 at 20:42 -0500, Alex wrote:
[...]

Unrelated to other dovecot specific questions...

> Is there an index file that dovecot-lda updates for imap?

Yes. Which would be the advantage of using dovecot deliver, directly or
called from procmail.

> Can I just eliminate it entirely and just have procmail do all the
> delivery?

Yes, you can.

In fact, that's what I usually still use. Procmail can just do much more
than sieve. And procmail doesn't scare me as much as sieve. But then
again, I like Perl... And I've never yet encountered a problem with
dovecot IMAP updating indexes on the fly -- which it does, unless
deliver does it incrementally.

However, wasn't your original question about converting procmail recipes
to sieve? (Yes, it was.) So what would hold you back of just not
converting?


-- 
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