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
Edgaras Luko?evi?ius skrev den 2015-03-27 14:58:> 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).did you read cyrus-sasl docs ? it can read auth from sql, so no need for dovecot there
I will install cyrus-sasl and see how it goes. Anyway, it would be nice to have same features (authentication agains imap) in dovecot. On 27 Mar 2015, at 16:27, Benny Pedersen <me at junc.eu> wrote:> Edgaras Luko?evi?ius skrev den 2015-03-27 14:58: > >> 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). > > did you read cyrus-sasl docs ? > > it can read auth from sql, so no need for dovecot there