On Fri, Aug 12, 2005 at 04:13:52PM -0400, Jason Folkens wrote: > Alright... I know it's been a few weeks since I last addressed this issue. > I ended up reloading the server because I had screwed up a lot of stuff... > > I'm now using the files from the /var/qmail/boot directory for my supervise > scripts, specifically . . . > > qmail-pop3d -> /var/qmail/boot/qmail-pop3d > qmail-send -> /var/qmail/boot/qmail > qmail-smtpd -> /var/qmail/boot/qmail-smtpd > > it now attempts to query data from the ldap server across the 127.0.0.1 > interface when I do SMTP auth. This is one step further than I was > before... Thank you Thomas Kuliavas for pointing me in the right > direction. > > But I'm still getting authentication failures, but ONLY with SMTP... I > can do pop3 without a problem, so I dont think its a password problem ... > unless pop3 expects a different encryption algorithm than smtp... > > Heres some output when I put smtpd into loglevel 255 and then try to do > smtp auth: > > tcpserver: status: 1/50 > tcpserver: pid 3870 from 207.179.69.3 > tcpserver: ok 3870 mail.mydomain.org:server_ip_address:25 > :207.179.69.3::1212 > qmail-smtpd 3870: connection from 207.179.69.3 (unknown) to > mail.mydomain.org > qmail-smtpd 3870: enabled options: smtp-auth > qmail-smtpd 3870: remote ehlo: laptop > qmail-smtpd 3870: auth login > qmail-smtpd 3870: authentication failed: authentication failure > > qmail-smtpd 3870: quit, closing connection > tcpserver: end 3870 status 0 > tcpserver: status: 0/50 > > Does anyone know what would cause SMTP to reject the password even though > pop3 succeeds with the same password? >
Make sure that ldaplogin and ldappassword can be read by processes running as qmaild (as qmail-smtpd does and therefor auth-smtp too). If auth-smtp is unable to read the control files it uses an anonymous bind for the search. -- :wq Claudio
