[Dovecot] Expire plugin with multiple mail servers

Ramón Frontera ramon.frontera at uib.es
Wed Sep 12 16:44:27 EEST 2012


Hello,
I have configured mysql on one server and each mail server use this database for expire plugin.
I have configured each mail server as explains on:http://wiki2.dovecot.org/Plugins/Expire

But now I have a question; How i configure director server to use the database?
I need to configure expire plugin on the director server?

thanks in advance.
  
--
  Ramon Frontera Gallardo
  Universitat de les Illes Balears        





El 11/09/2012, a las 15:34, Timo Sirainen escribió:

> 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