Mark Constable writes:
I finally managed to get a test server set up and try out authsqlite and it mostly seems to work except for when it comes to relaying via port 465 with auth. If I use a current server using authmysql then I see this when relaying...Oct 10 10:20:22 u1 courieresmtpd: started,ip=[::ffff:xx.167.17.51] Oct 10 10:20:23 u1 courieresmtpd: EHLO [xx.xx.xx.202]Oct 10 10:20:23 u1 courieresmtpd: AUTH PLAIN AG1hcmtjQHJlbnRhLm5ldAAxcWF6QFdTWA== Oct 10 10:20:23 u1 authdaemond: received auth request, service=esmtp, authtype=login... etc Oct 10 10:20:23 u1 courieresmtpd: MAIL FROM:<ma...@renta.net> SIZE=373 Oct 10 10:20:24 u1 courieresmtpd: RCPT TO:<m...@markconstable.com> Oct 10 10:20:24 u1 courieresmtpd: DATA when I try the server with authsqlite I see... Oct 10 10:08:10 u2 courieresmtpd: started,ip=[::ffff:xx.167.17.51] Oct 10 10:08:10 u2 courieresmtpd: EHLO [xx.xx.xx.202] Oct 10 10:08:11 u2 courieresmtpd: MAIL FROM:<m...@markconstable.com> SIZE=384 Oct 10 10:08:11 u2 courieresmtpd: RCPT TO:<ma...@renta.net>Oct 10 10:08:19 u2 courieresmtpd: error,relay=::ffff:xx. 167.17.51,from=<m...@markconstable.com>,to=<ma...@renta.net>: 513 Relaying denied.Oct 10 10:08:22 u2 courieresmtpd: QUIT IMAP and local deliveries all work but the above seems to indicate that esmtpd-ssl is not hooking into authsqlite via authdaemon.
No, in the sqlite case the mail client is not authenticating at all. Something is causing the client to decide not to authenticate. Compare the output of EHLO for both cases.
ESMTPAUTH=""
That's the problem.
ESMTPAUTH_WEBADMIN="LOGIN CRAM-MD5 CRAM-SHA1 CRAM-SHA256" ESMTPAUTH_TLS=""
And that. Compare those settings against the working box's.
pgpfYWvChEdwI.pgp
Description: PGP signature
------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users