[Dovecot] Expire plugin with multiple mail servers

Timo Sirainen tss at iki.fi
Tue Sep 11 16:34:50 EEST 2012


On 11.9.2012, at 12.41, Ramón Frontera wrote:

> Hello we are running Dovecot 2.1.9 and I want to configure expire plugin.
> We have 2 proxies with director and 4 mail servers.
> 
> I have configured expire plugin on a single mail server and it works Ok.
> I don't konw how to configure with 4 mail servers and 2 proxies. 
> My first idea is create on each mailserver one sqlite database and configure the expire plugin on proxy, but I don't know if this is a good idea.

The backend servers need to be the ones actually doing the expunges. Director servers are the only ones that know which backend server to run each expunge on. Expire plugin works by limiting the users iterated by "doveadm expunge -A", which is run on director. So the director server where you run this command needs to have access to the full expire database. This pretty much means one shared SQL server between all servers.




More information about the dovecot mailing list