[Dovecot] director map and mysql

Костырев Александр Алексеевич a.kostyrev at serverc.ru
Wed Jun 20 06:40:42 EEST 2012


but what mechanisms do I have if I want certain user to be always proxied to certain host, but if that host is down, to redirect him to another?

I planned to setup two dovecot storage servers where
all mailboxes are mirrored between these two servers with dsync replication like described in http://www.dovecot.org/list/dovecot/2012-March/064243.html
but I don't want this user to be redirected to two these servers in round-robin fashion.

-----Original Message-----
From: dovecot-bounces at dovecot.org [mailto:dovecot-bounces at dovecot.org] On Behalf Of Timo Sirainen
Sent: Wednesday, June 20, 2012 1:22 PM
To: Костырев Александр Алексеевич
Cc: dovecot at dovecot.org
Subject: Re: [Dovecot] director map and mysql

On 20.6.2012, at 5.03, Костырев Александр Алексеевич wrote:

> Is "doveadm director map" command suppose to work when I store "host" value in mysql table?
> It gives me nothing in output with no errors in log.

If you return a host for a user, then Dovecot does regular proxying and director doesn't know anything about the user.

More information about the dovecot mailing list