postfix sasl -> haproxy -> dovecot auth

Edgaras Lukoševičius
Fri, 27 Mar 2015 13:58:59 -0000

I don?t want to allow public network facing servers to be able to reach
passwords database. And I want to segregate roles of the servers.
If I will setup dovecot locally I will still have to provide it access to
database (eg. /etc/dovecot/dovecot-sql.conf.ext).

On 27 Mar 2015, at 15:49, Benny Pedersen <me at junc.eu> wrote:

> Edgaras Luko?evi?ius skrev den 2015-03-27 14:34:
>> Can?t dovecot authenticate against imap?
>
> will it be trusted ?
>
>> What I need is to make smtp authentication balanced and keep
>> everything in backend (private network)
>
> dovecot is not a smtp server, thats why i say cyrus-sasl
>
> yes cyrus-sasl is ha-awail with rimap, but there is a minor problem with
it, haproxy and rimap have both the same problem to connect to one ip that times
out before the next ip is used, haproxy does imho not solve this better then
rimap