My problem statement was poor in the last message, so I decided to just start over. Thanks for the help!
The problem is - authentication fails when attempting to send mail from a script. It fails both for my own script and for some installed software (such as trac). Here is the debug output from MIME::Lite (it uses Net::SMTP): MIME::Lite::SMTP>>> MIME::Lite::SMTP MIME::Lite::SMTP>>> Net::SMTP(2.31) MIME::Lite::SMTP>>> Net::Cmd(2.29) MIME::Lite::SMTP>>> Exporter(5.58) MIME::Lite::SMTP>>> IO::Socket::INET(1.29) MIME::Lite::SMTP>>> IO::Socket(1.29) MIME::Lite::SMTP>>> IO::Handle(1.25) MIME::Lite::SMTP=GLOB(0x10f04ec0)<<< 220 yoak.com ESMTP MIME::Lite::SMTP=GLOB(0x10f04ec0)>>> EHLO localhost.localdomain MIME::Lite::SMTP=GLOB(0x10f04ec0)<<< 250-yoak.com Ok. MIME::Lite::SMTP=GLOB(0x10f04ec0)<<< 250-AUTH LOGIN PLAIN CRAM-MD5 MIME::Lite::SMTP=GLOB(0x10f04ec0)<<< 250-AUTH=LOGIN PLAIN CRAM-MD5 X-NETSCAPE-HAS-BUGS MIME::Lite::SMTP=GLOB(0x10f04ec0)<<< 250-XVERP=Courier MIME::Lite::SMTP=GLOB(0x10f04ec0)<<< 250-XEXDATA MIME::Lite::SMTP=GLOB(0x10f04ec0)<<< 250-XSECURITY=NONE,STARTTLS MIME::Lite::SMTP=GLOB(0x10f04ec0)<<< 250-PIPELINING MIME::Lite::SMTP=GLOB(0x10f04ec0)<<< 250-8BITMIME MIME::Lite::SMTP=GLOB(0x10f04ec0)<<< 250-SIZE MIME::Lite::SMTP=GLOB(0x10f04ec0)<<< 250 DSN MIME::Lite::SMTP=GLOB(0x10f04ec0)>>> AUTH CRAM-MD5 MIME::Lite::SMTP=GLOB(0x10f04ec0)<<< 334 PEQyNENGNjlGRjYxNkQ3Qzk0N0UyNEQ3NTkyNDM4MjlDQG5hdC5sb25nbWVkaWEuY29tPg== MIME::Lite::SMTP=GLOB(0x10f04ec0)>>> a2F0ZSBmYzQ5MWRhYmJlOTNiZmM4N2U5ZTNiNzViYTgxZWM1ZQ== MIME::Lite::SMTP=GLOB(0x10f04ec0)<<< 535 Authentication failed. --- Here is what the log says: Jul 1 10:07:45 nat courieresmtpd: started,ip=[::ffff:64.235.49.166] Jul 1 10:07:45 nat courieresmtpd: error,relay=::ffff:64.235.49.166,msg="535 Authentication failed.",cmd: a2F0ZSBmYzQ5MWRhYmJlOTNiZm M4N2U5ZTNiNzViYTgxZWM1ZQ== --- Here are key settings from esmtpd AUTHREQUIRED=0 ESMTP_TLS_REQUIRED=0 TLS_PROTOCOL=SSL3 ESMTPAUTH='LOGIN PLAIN CRAM-MD5' ESMTPAUTH_TLS="PLAIN LOGIN CRAM-MD5" --- Authentication works correctly from desktop clients. I am running courier 0.58 on Fedora Core 4. I require smtp authentication for all users, and that is working out fine. All of the users have pam accounts on the system, and pamauth is the only thing I've got going on. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
