Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Can’t send via hmail Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
chrisk
Newbie
Newbie


Joined: 15 June 2012
Online Status: Offline
Posts: 2
Posted: 15 June 2012 at 9:42pm | IP Logged Quote chrisk

I have the hmail running on the same machine/IP as Webmail Lite.
I can send OK from Thunderbird but WebMail throws an error:

[21:30:31.31] [INFO] Assembly version: 6.0.2.220.
[21:30:31.31] [INFO] Will resolve host "127.0.0.1".
[21:30:31.31] [INFO] Host "127.0.0.1" resolved to IP address(es) 127.0.0.1.
[21:30:31.31] [INFO] Will connect to host "127.0.0.1" on port 465.
[21:30:31.31] [INFO] Socket connected to IP address 127.0.0.1 on port 465.
[21:30:31.31] [INFO] Error: Socket connection has been refused by remote host. InnerException message follows: The handshake failed due to an unexpected packet format.
[21:30:31.31] [INFO] Error: IOException occurred. InnerException message follows: The handshake failed due to an unexpected packet format.

What's also strange is that the webmail is configured with different IP, not as localhost.
POP3 works OK and is using the correct IP.
No SSL used for the connection. TB works on both ports 25 and 465 (no SSL/TLS).
Back to Top View chrisk's Profile Search for other posts by chrisk
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 18 June 2012 at 2:21am | IP Logged Quote Igor

Outgoing mail settings are taken from default domain settings, settings of domain you're using or the account itself, recheck if you have 127.0.0.1 in any of those. Depending on account and product configuration, you might need to fix this on a database level.

Also, you might need to check port and SSL setting, or try using port 25 instead.

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


Joined: 15 June 2012
Online Status: Offline
Posts: 2
Posted: 18 June 2012 at 2:49pm | IP Logged Quote chrisk

127.0.0.1 is never used. Both Webmail and hMail only use external IP in configuration.
I'll check the database entries as well but I am using the same tandem on my own site and it's working perfectly. The settings seems to be exactly the same - just different IP's.
There is no SSL used/configured on this site. Neither hmail nor Webmail are set to use SSL.
Back to Top View chrisk's Profile Search for other posts by chrisk
 
ch3nadh
Newbie
Newbie


Joined: 26 July 2015
Location: India
Online Status: Offline
Posts: 1
Posted: 26 July 2015 at 4:38am | IP Logged Quote ch3nadh

Hi There,
I have a similar problem. please check below.

Log Message   : Incoming Mail Connection Error: MailBee.MailBeeIOException: Socket connection has been refused by remote host. InnerException message

follows: The handshake failed due to an unexpected packet format. ---> System.IO.IOException: The handshake failed due to an unexpected packet format.
   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at a.e.au.a(SecurityProtocol A_0, String A_1)
   --- End of inner exception stack trace ---
   at a.e.au.a(SecurityProtocol A_0, String A_1)
   at a.ab.a()
   at a.ab.a(String A_0, Int32 A_1, Boolean A_2, Socket A_3, EndPoint A_4)
   at a.ab.y()
   at a.t.a(Boolean A_0, String A_1, Int32 A_2, Boolean A_3, Socket A_4, EndPoint A_5)
   at MailBee.ImapMail.Imap.Connect(String serverName, Int32 port)

I did not set SSLMode and SSLProtocl, the same code working at all other places. Am i missing any.

Thanks,
Trinadh
Back to Top View ch3nadh's Profile Search for other posts by ch3nadh
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 27 July 2015 at 4:45am | IP Logged Quote Igor

Based on the logs, this looks like SSL mode mismatch - you either have SSL set in WebMail config but hMailServer isn't configured for SSL, or the other way around.

--
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