[Dovecot] director ignoring director_mail_servers for lmtp connections

Jan-Frode Myklebust janfrode at tanso.net
Tue Sep 13 09:34:12 EEST 2011


On Mon, Sep 12, 2011 at 04:55:51PM +0100, mailing lists wrote:
> 
> how I can redirect incoming lmtp request to backend lmtp servers (and not just one)? what I'm missing here? 
> 
> director_mail_servers = 101.180.245.101
> director_servers = 101.180.245.101

Is this a loop maybe?  director_mail_servers should list all
your backend dovecot servers, space separated. Here's mine:

	director_mail_servers = 192.168.42.7 192.168.42.8 192.168.42.9 192.168.42.10 192.168.42.11 192.168.42.28 192.168.42.29

and director_servers should list all your director servers so that they
can share info on where to direct each user, like:

	director_servers = 192.168.42.15 192.168.42.17

Then, if this is configured correctly "doveadm director status" should 
list your backend director_mail_servers:

$ sudo doveadm  director status 
mail server ip                           vhosts users
192.168.42.28                               100  5220
192.168.42.29                               100  4733
<snip>
$ sudo doveadm  director status janfrode at tanso.net
Current: 192.168.42.28 (expires 2011-09-13 08:46:42)
Hashed: 192.168.42.28
Initial config: 192.168.42.11



  -jf



More information about the dovecot mailing list