Author |
|
merc Newbie
Joined: 14 April 2010 Location: Netherlands
Online Status: Offline Posts: 8
|
Posted: 14 April 2010 at 9:13am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 15 April 2010 at 2:22am | IP Logged
|
|
|
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 |
|
|
merc Newbie
Joined: 14 April 2010 Location: Netherlands
Online Status: Offline Posts: 8
|
Posted: 18 April 2010 at 3:08am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 19 April 2010 at 2:10am | IP Logged
|
|
|
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 |
|
|