Re: [Dovecot] director map and mysql

2012-06-27 Thread Timo Sirainen
On Wed, 2012-06-20 at 14:40 +1100, Костырев Александр Алексеевич wrote: 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? You'll have to mark the host down in SQL, and change your SQL query to

[Dovecot] director map and mysql

2012-06-19 Thread Костырев Александр Алексеевич
hello! 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. I've successfully setup directors with static passdb, and decided to give a try setup with storing host value in mysql table. The proxying is

Re: [Dovecot] director map and mysql

2012-06-19 Thread Timo Sirainen
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

Re: [Dovecot] director map and mysql

2012-06-19 Thread Костырев Александр Алексеевич
, June 20, 2012 1:22 PM To: Костырев Александр Алексеевич Cc: dovecot@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