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

Ralph Seichter dovecot-ml at seichter.de
Wed Aug 25 17:44:10 EEST 2010


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.

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. ;-)

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

Of course, I believe you if you tell me that there is no point in using
the expire plugin in my particular scenario. I shall disable it.

-Ralph


More information about the dovecot mailing list