postfix sasl -> haproxy -> dovecot auth

Edgaras Lukoševičius
Fri, 27 Mar 2015 13:34:04 -0000

Can?t dovecot authenticate against imap?

What I need is to make smtp authentication balanced and keep everything in
backend (private network)


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

> Edgaras Luko?evi?ius skrev den 2015-03-27 12:21:
>
>> is it possible to configure configure haproxy to work with postfix
>> sasl and dovecot auth like this:
>> clients -> 25:postfix -> 20025:haproxy ->
20025:auth-backend-1,
>> 20025:auth-backend-2
>
> configure cyrus-sasl as a remote imap client is more simple
>
> if imap hostname is dns round robin it would be ha-avail already
>
> keep postfix simple