Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Problem with SMTP SSL connection Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
merc
Newbie
Newbie
Avatar

Joined: 14 April 2010
Location: Netherlands
Online Status: Offline
Posts: 8
Posted: 14 April 2010 at 9:13am | IP Logged Quote merc

After upgrading to the latest webmail version (4.9) I was unable to send any email. My mail server is configured to support SSL/TLS secure connections. Up until the new Webmail version all worked perfectly. However, I noticed that Webmail now tries to establish a SSL connection first. This fails because apparently my mail server does not approve of the information being sent ('TLS hello contains 6 bytes extraneous data')

The SMTP log file:

17:30:09.579: << 250-mail Hello mailserver; ESMTPs are:<cr><lf>250-TIME<cr><lf>
17:30:09.579: << 250-SIZE 0<cr><lf>
17:30:09.579: << 250-AUTH CRAM-MD5<cr><lf>
17:30:09.579: << 250-STARTTLS<cr><lf>
17:30:09.579: << 250 HELP<cr><lf>
17:30:09.797: >> STARTTLS<cr><lf>
17:30:09.797: << 220 OK, begin SSL/TLS negotiation now.<cr><lf>
17:30:09.797: 22: Error -32 activating SSL session (locus 0, type 0, code 0, 'TLS hello contains 6 bytes extraneous data')
17:30:09.813: --- Connection closed normally at Wed Apr 14 17:30:09 2010. ---
17:30:09.813:


Switching off SSL/TLS support in the mail server results in Webmail sending mail successfully. However, this is not a desired configuration.

Any thoughts on this? Is there a way to change the behaviour of Webmail, maybe tell it *not* to try and establish a SSL connection?

FYI, I'm running Webmail 4.9 PHP version on Windows 2003 SP2. Mail server is Mercury/32 v4.72

Thanks for any reply!
Back to Top View merc's Profile Search for other posts by merc
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6089
Posted: 15 April 2010 at 2:22am | IP Logged Quote Igor

Check common\class_smtp.php file, you'll find the following line there (line ~18):

Code:
define('USE_STARTTLS', true);


Changing this from true to false should do the trick.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
merc
Newbie
Newbie
Avatar

Joined: 14 April 2010
Location: Netherlands
Online Status: Offline
Posts: 8
Posted: 18 April 2010 at 3:08am | IP Logged Quote merc

Thanks, it's working now!

Still, this is some kind of workaround. Apparently I'm not able to use TLS when communicating with the mail server. W\I know that Mercury/32 is quite rigid when it comes to implementing (mail) standards. Could that be causing the problem? Or is it something else? Apparently the 'TLS hello' the mail server receives contains too much information.
Back to Top View merc's Profile Search for other posts by merc
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6089
Posted: 19 April 2010 at 2:10am | IP Logged Quote Igor

Actually, STARTTLS support was implemented quite recently in WebMail Pro, so its pretty much experimental now. Previously, SSL was available on dedicated ports only, like 995 for POP3 or 465 for SMTP, consider using those ports instead.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide