[Dovecot] When should dictionary entries for the expire plugin be added/updated?

Timo Sirainen tss at iki.fi
Wed Aug 25 17:51:52 EEST 2010


On Wed, 2010-08-25 at 16:44 +0200, Ralph Seichter wrote:
> On 25.08.10 16:29, Timo Sirainen wrote:
> 
> > But you don't have to give rw access to them. You have to give rw
> > access to Dovecot processes (this works as long as you don't use
> > dovecot-lda).
> 
> My message <4C7433C6.50705 at seichter.de> was all about this question: is
> it sufficient to allow rw access to the user "dovecot", or does every
> user who connects via IMAP need to write to the dict socket. I'm sorry
> if I did not make this clear enough.

It was clear to me what you meant, but you gave only two choices and the
answers to them were:

> is it sufficient to allow rw access to the user "dovecot", 

"no"

> or does every user who connects via IMAP need to write to the dict socket.

and "no", because the 3rd possibility was described in the Dict wiki.

> Anyway, I call dovecot-lda as Postfix's mailbox_command, so I understand
> that the socket needs to be world-writeable? I read the Wiki pages for
> Dict and Expunge, but did not find them conclusive. You have the unfair
> advantage of having written the software and thus knowing exactly how it
> behaves. ;-)

You could switch to using LMTP.

> > If you do that, then there's no point in using expire database at all.
> > Even the wiki page says at the top that you don't really need it.
> 
> Yes, the Wiki states that "Even without this plugin it's possible to use
> doveadm to expunge messages". Howevery, I don't think the Wiki currently
> mentions that "doveadm expunge -u" (in contrast to "-A") does not use
> the expire plugin's data at all?

Yeah.. I guess I'll have to figure out some clearer way to explain it.



More information about the dovecot mailing list