postfix sasl -> haproxy -> dovecot auth
Reindl Harald
h.reindl at thelounge.net
Fri Mar 27 14:41:30 UTC 2015
Am 27.03.2015 um 15:04 schrieb Benny Pedersen:
> Gedalya skrev den 2015-03-27 14:48:
>
>>> 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
>> Why don't you set up a dovecot locally (with only auth service) on
>> each postfix box?
>
> cyrus-sasl is still needed
bullshit and to be honest nobody right in his mind aware of the
capabilities configures cyrus-sasl on a server where postfix and dovecot
are running already instead just use one common auth layer for incoming
and outgoing mail supporting the same mechs and configuration
http://wiki2.dovecot.org/HowTo/PostfixAndDovecotSASL
# configure backend for postfix sasl-auth
service auth {
unix_listener /var/spool/postfix/private/auth {
mode = 0660
user = postfix
group = postfix
}
}
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20150327/bbc6da61/attachment.sig>
More information about the dovecot
mailing list