Hello,>> is it possible to provide service auth on tcp-socket instead of >> unix-socket? >> I changed my conf and dovecot 2.0.5 is restarting but on telnet test it >> throws: >> dovecot: auth: Fatal: getsockname(12) failed: Socket operation on >> non-socket >> >> Want to separate smtp and imap to different servers but keep using >> dovecot auth for postfix-sasl. >> Whats to do? hmm, is postfix able to use non-unix socket for >> dovecot-sasl?> Well, added support for that: > http://hg.dovecot.org/dovecot-2.0/rev/fe8e82b5bff9Thanks for that. is it save to use smtpd_sasl_path = inet:localhost:1434 in postfix's main.cf? there are some warnings in log: "when SASL type is "dovecot", SASL path "inet:localhost:1434" should be a socket pathname" ( Datei src/xsasl/xsasl_dovecot_server.c ) Thanks, Hajo
Hello,> there are some warnings in log: > "when SASL type is "dovecot", SASL path "inet:localhost:1434" should be a > socket pathname" > ( Datei src/xsasl/xsasl_dovecot_server.c )file xsasl_dovecot_server.c is in postfix sources but was written by you, Timo Should there also made an update to support auth on tcp-socket without warnings from postfix side? Thanks, Hajo
On Mon, 2011-03-07 at 13:32 +0100, Hajo Locke wrote:> Hello, > > > there are some warnings in log: > > "when SASL type is "dovecot", SASL path "inet:localhost:1434" should be a > > socket pathname" > > ( Datei src/xsasl/xsasl_dovecot_server.c ) > > file xsasl_dovecot_server.c is in postfix sources but was written by you, > TimoThe initial version, yes, but it has been heavily modified since. I never added that warning.> Should there also made an update to support auth on tcp-socket without > warnings from postfix side?Looks like someone already added the inet: support, so I guess it should work. You could ask on Postfix list to get the warning removed..
Hello, sorry, iam digest reader, always creating a new message...> > > there are some warnings in log: > > > "when SASL type is "dovecot", SASL path "inet:localhost:1434" should > > > be a > > > socket pathname" > > > ( Datei src/xsasl/xsasl_dovecot_server.c ) > > > > file xsasl_dovecot_server.c is in postfix sources but was written by > > you, > > Timo> The initial version, yes, but it has been heavily modified since. I > never added that warning.> > Should there also made an update to support auth on tcp-socket without > > warnings from postfix side?> Looks like someone already added the inet: support, so I guess it should > work. You could ask on Postfix list to get the warning removed..wietse dont wants to change anything until it is not documented http://archives.neohapsis.com/archives/postfix/2011-03/0356.html may be the developers should talk directly to each other, i dont like to get forwarded to each other list to ask for reliability of features... Thanks, Hajo
On Tue, Mar 08, 2011 at 05:07:49PM +0100, Hajo Locke wrote:> Hello, > > sorry, iam digest reader, always creating a new message...On http://dovecot.org/cgi-bin/mailman/options/dovecot you can login to change your membership options ;) [..]> >The initial version, yes, but it has been heavily modified since. I > >never added that warning. > > >> Should there also made an update to support auth on tcp-socket without > >> warnings from postfix side? > > >Looks like someone already added the inet: support, so I guess it should > >work. You could ask on Postfix list to get the warning removed.. > > wietse dont wants to change anything until it is not documented > http://archives.neohapsis.com/archives/postfix/2011-03/0356.html > may be the developers should talk directly to each other, i dont > like to get forwarded to each other list to ask for reliability of > features...You should read Wietses post again. He told you to not rely on not documented settings since they can silently disappear. With postfix you can rely on the documented behaviour. So it is natural that there will be no warning for officially unsupported features. Dennis
Hello,> You should read Wietses post again. > > He told you to not rely on not documented settings since they can > silently disappear. > > With postfix you can rely on the documented behaviour. So it is > natural that there will be no warning for officially unsupported > features. >yes, i know that. nobody should use undocumented features. auth-service on tcp-socket was added by timo after my Suggestion last november. so when asking this on postfix's-side iam not really interested in current docs but wanted to suggest the update on implemention and docs to get it as official feature for next releases. as an user all i can do is telling some facts and ask... Hajo