Server Information:blankblankMail Server Log:Sep  2 12 mail postfix/smtpd: connect from unknownSep  2 12 mail postfix/smtpd: Anonymous TLS connection established from unknown: TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)Sep  2 12 mail postfix/smtpd: lost connection after STARTTLS from unknownSep  2 12 mail postfix/smtpd: disconnect from unknownWhat fixes I've tried:http://forum.osticket.com/d/discussion//failed-to-configure-email-smtp-settingshttp://forum.osticket.com/d/discussion//resolved-email-configuration (IMAP Issue, Same error though)I think it may have to do with my php version 5.6 because of the open-ssl changes listed here, but i'm using a signed certificate on the mail server. I also tried to use the "ssl://mail.redacted.com" and "tls://mail.redacted.com". I use the same settings for two other php services on the same server and they are both able to connect and send mail. 

I personally only have minor ideas here:- set the log level on the mail server to be more informative (so you get more info to debug)- try to use the specific tls version like "tlsv1.2://mail.redacted.com"- "Anonymous TLS connection established from unknown" -- I am a bit irritated by "anonymous TLS..." since I think it should only appear when you have not specified any username or password. Btw. osTicket uses the username and password from the IMAP/POP settings for the SMTP settings too when you set "Authentication Required" to "Yes".Maybe @[deleted] has some more ideas?

blankSame error for port 587 aswell.Logs remain the same with log-level 0, The username and password are both correct.

I ended up fixing it by changing the port number to 465, Admin can close now

Great you got it fixed!

And thank you for sharing your solution. Closing this discussion now. Feel free to open a new issue for another comment, question or issue.

Write a Reply...