Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hMailServer can't send or receive (external) mail #212

Closed
suriyaa opened this issue Feb 5, 2017 · 2 comments
Closed

hMailServer can't send or receive (external) mail #212

suriyaa opened this issue Feb 5, 2017 · 2 comments

Comments

@suriyaa
Copy link

suriyaa commented Feb 5, 2017

@martinknafve


My Issue

I can't send or receive emails to external email providers.

My Environment

I use:

  • Version: hMailServer 5.6.4-B2283
  • Mail Client: SquirrelMail 1.4.22
  • Server: WAMP Server 3.0.8
  • PHP: PHP 5.6.16
  • Database: MySQL 5.7.9
  • OS: Windows 10
  • Domain(s): suriyaa.tk & mail.suriyaa.tk (I use CloudFlare!)

My Log

Output of hmailserver_2017-02-05.log file:

"DEBUG"	10180	"2017-02-05 13:57:54.206"	"Creating session 24"
"TCPIP"	10180	"2017-02-05 13:57:54.207"	"TCP - 192.168.178.23 connected to 192.168.178.23:25."
"DEBUG"	10180	"2017-02-05 13:57:54.208"	"TCP connection started for session 22"
"SMTPD"	10180	22	"2017-02-05 13:57:54.208"	"192.168.178.23"	"SENT: 220 mail.suriyaa.tk ESMTP"
"SMTPD"	10676	22	"2017-02-05 13:57:54.209"	"192.168.178.23"	"RECEIVED: EHLO mail.suriyaa.tk"
"SMTPD"	10676	22	"2017-02-05 13:57:54.209"	"192.168.178.23"	"SENT: 250-mail.suriyaa.tk[nl]250-SIZE 20480000[nl]250-AUTH LOGIN[nl]250 HELP"
"SMTPD"	2160	22	"2017-02-05 13:57:54.210"	"192.168.178.23"	"RECEIVED: MAIL FROM:<valiantenger@suriyaa.tk>"
"DEBUG"	2160	"2017-02-05 13:57:54.215"	"Total spam score: 0"
"SMTPD"	2160	22	"2017-02-05 13:57:54.216"	"192.168.178.23"	"SENT: 250 OK"
"SMTPD"	10676	22	"2017-02-05 13:57:54.217"	"192.168.178.23"	"RECEIVED: RCPT TO:<isc.suriyaa@gmail.com>"
"SMTPD"	10676	22	"2017-02-05 13:57:54.218"	"192.168.178.23"	"SENT: 250 OK"
"SMTPD"	10180	22	"2017-02-05 13:57:54.219"	"192.168.178.23"	"RECEIVED: DATA"
"SMTPD"	10180	22	"2017-02-05 13:57:54.220"	"192.168.178.23"	"SENT: 354 OK, send."
"DEBUG"	2160	"2017-02-05 13:57:54.223"	"Adding task AsynchronousTask to work queue Asynchronous task queue"
"DEBUG"	8124	"2017-02-05 13:57:54.224"	"Executing task AsynchronousTask in work queue Asynchronous task queue"
"DEBUG"	8124	"2017-02-05 13:57:54.227"	"Total spam score: 0"
"DEBUG"	8124	"2017-02-05 13:57:54.228"	"Saving message: {EE9418F1-E032-45CE-B913-EF70C67EA3EC}.eml"
"DEBUG"	8124	"2017-02-05 13:57:54.229"	"Requesting SMTPDeliveryManager to start message delivery"
"SMTPD"	8124	22	"2017-02-05 13:57:54.230"	"192.168.178.23"	"SENT: 250 Queued (0.015 seconds)"
"SMTPD"	2160	22	"2017-02-05 13:57:54.231"	"192.168.178.23"	"RECEIVED: QUIT"
"DEBUG"	4896	"2017-02-05 13:57:54.231"	"Adding task DeliveryTask to work queue SMTP delivery queue"
"SMTPD"	2160	22	"2017-02-05 13:57:54.231"	"192.168.178.23"	"SENT: 221 goodbye"
"DEBUG"	3312	"2017-02-05 13:57:54.232"	"Executing task DeliveryTask in work queue SMTP delivery queue"
"DEBUG"	10180	"2017-02-05 13:57:54.232"	"Creating session 25"
"DEBUG"	10676	"2017-02-05 13:57:54.233"	"Ending session 22"
"DEBUG"	3312	"2017-02-05 13:57:54.233"	"Delivering message..."
"TCPIP"	10180	"2017-02-05 13:57:54.233"	"TCP - 192.168.178.23 connected to 192.168.178.23:143."
"APPLICATION"	3312	"2017-02-05 13:57:54.234"	"SMTPDeliverer - Message 41: Delivering message from valiantenger@suriyaa.tk to isc.suriyaa@gmail.com. File: C:\Program Files (x86)\hMailServer\Data\{EE9418F1-E032-45CE-B913-EF70C67EA3EC}.eml"
"DEBUG"	3312	"2017-02-05 13:57:54.235"	"Applying rules"
"DEBUG"	10180	"2017-02-05 13:57:54.235"	"TCP connection started for session 23"
"DEBUG"	3312	"2017-02-05 13:57:54.236"	"Performing local delivery"
"IMAPD"	10180	23	"2017-02-05 13:57:54.236"	"192.168.178.23"	"SENT: * OK IMAPrev1"
"DEBUG"	3312	"2017-02-05 13:57:54.236"	"Local delivery completed"
"IMAPD"	10676	23	"2017-02-05 13:57:54.238"	"192.168.178.23"	"RECEIVED: A001 LOGIN "valiantenger@suriyaa.tk" ***"
"APPLICATION"	3312	"2017-02-05 13:57:54.238"	"SMTPDeliverer - Message 41: Relaying to host mail.suriyaa.tk."
"IMAPD"	10676	23	"2017-02-05 13:57:54.239"	"192.168.178.23"	"SENT: A001 OK LOGIN completed"
"DEBUG"	3312	"2017-02-05 13:57:54.239"	"Starting external delivery process. Server: mail.suriyaa.tk (192.168.178.23), Port: 25, Security: 0, User name: "
"IMAPD"	10180	23	"2017-02-05 13:57:54.241"	"192.168.178.23"	"RECEIVED: A002 LIST "" "INBOX.Sent""
"DEBUG"	3312	"2017-02-05 13:57:54.241"	"Creating session 26"
"IMAPD"	10180	23	"2017-02-05 13:57:54.241"	"192.168.178.23"	"SENT: * LIST (\HasNoChildren) "." "INBOX.Sent"[nl]A002 OK LIST completed"
"TCPIP"	3312	"2017-02-05 13:57:54.242"	"Connecting to 192.168.178.23:25..."
"DEBUG"	3312	"2017-02-05 13:57:54.243"	"SMTPDeliverer - Message 41 - Connection failed: Could not connect to 192.168.178.23 on port 25 since this would mean connecting to myself."
"TCPIP"	3312	"2017-02-05 13:57:54.243"	"TCPConnection - Could not connect to 192.168.178.23 on port 25 since this would mean connecting to myself."
"DEBUG"	3312	"2017-02-05 13:57:54.244"	"Ending session 26"
"DEBUG"	3312	"2017-02-05 13:57:54.244"	"External delivery process completed"
"DEBUG"	3312	"2017-02-05 13:57:54.245"	"Summarizing delivery result"
"DEBUG"	3312	"2017-02-05 13:57:54.245"	"Summarized delivery results"
"DEBUG"	3312	"2017-02-05 13:57:54.246"	"SD::RescheduleDelivery_"
"DEBUG"	3312	"2017-02-05 13:57:54.246"	"Retrieving retry options."
"DEBUG"	3312	"2017-02-05 13:57:54.247"	"Starting rescheduling."
"APPLICATION"	3312	"2017-02-05 13:57:54.247"	"SMTPDeliverer - Message 41: Message could not be delivered. Scheduling it for later delivery in 60 minutes."
"DEBUG"	3312	"2017-02-05 13:57:54.247"	"PersistentMessage::SetNextTryTime()"
"IMAPD"	8692	23	"2017-02-05 13:57:54.248"	"192.168.178.23"	"RECEIVED: A003 APPEND "INBOX.Sent" (\Seen) {570}"
"IMAPD"	8692	23	"2017-02-05 13:57:54.248"	"192.168.178.23"	"SENT: + Ready for literal data"
"DEBUG"	3312	"2017-02-05 13:57:54.248"	"PersistentMessage::~SetNextTryTime()"
"DEBUG"	3312	"2017-02-05 13:57:54.250"	"Message rescheduled for later delivery."
"APPLICATION"	3312	"2017-02-05 13:57:54.250"	"SMTPDeliverer - Message 41: Message delivery thread completed."
"DEBUG"	8692	"2017-02-05 13:57:54.251"	"Saving message: {A72046C2-4308-45C9-914B-58729D794C09}.eml"
"IMAPD"	8692	23	"2017-02-05 13:57:54.252"	"192.168.178.23"	"SENT: A003 OK APPEND completed"
"IMAPD"	8692	23	"2017-02-05 13:57:54.253"	"192.168.178.23"	"RECEIVED: A004 LOGOUT"
"IMAPD"	8692	23	"2017-02-05 13:57:54.254"	"192.168.178.23"	"SENT: * BYE Have a nice day[nl]A004 OK Logout completed"
"DEBUG"	10180	"2017-02-05 13:57:54.255"	"Ending session 23"
"DEBUG"	10180	"2017-02-05 13:57:54.337"	"Creating session 27"
"TCPIP"	10180	"2017-02-05 13:57:54.338"	"TCP - 192.168.178.23 connected to 192.168.178.23:143."
"DEBUG"	10180	"2017-02-05 13:57:54.339"	"TCP connection started for session 25"
"IMAPD"	10180	25	"2017-02-05 13:57:54.340"	"192.168.178.23"	"SENT: * OK IMAPrev1"
"IMAPD"	10676	25	"2017-02-05 13:57:54.341"	"192.168.178.23"	"RECEIVED: A001 LOGIN "valiantenger@suriyaa.tk" ***"
"IMAPD"	10676	25	"2017-02-05 13:57:54.342"	"192.168.178.23"	"SENT: A001 OK LOGIN completed"
"IMAPD"	10676	25	"2017-02-05 13:57:54.343"	"192.168.178.23"	"RECEIVED: A002 SELECT "INBOX.Trash""
"IMAPD"	10676	25	"2017-02-05 13:57:54.343"	"192.168.178.23"	"SENT: * 6 EXISTS[nl]* 0 RECENT[nl]* FLAGS (\Deleted \Seen \Draft \Answered \Flagged)[nl]* OK [UIDVALIDITY 1475504890] current uidvalidity[nl]* OK [UNSEEN 5] unseen messages[nl]* OK [UIDNEXT 7] next uid[nl]* OK [PERMANENTFLAGS (\Deleted \Seen \Draft \Answered \Flagged)] limited[nl]A002 OK [READ-WRITE] SELECT completed"
"IMAPD"	10180	25	"2017-02-05 13:57:54.345"	"192.168.178.23"	"RECEIVED: A003 EXPUNGE"
"IMAPD"	10180	25	"2017-02-05 13:57:54.345"	"192.168.178.23"	"SENT: "
"IMAPD"	10180	25	"2017-02-05 13:57:54.345"	"192.168.178.23"	"SENT: A003 OK EXPUNGE Completed"
"IMAPD"	8692	25	"2017-02-05 13:57:54.347"	"192.168.178.23"	"RECEIVED: A004 EXAMINE "INBOX.Trash""
"IMAPD"	8692	25	"2017-02-05 13:57:54.347"	"192.168.178.23"	"SENT: * 6 EXISTS[nl]* 0 RECENT[nl]* FLAGS (\Deleted \Seen \Draft \Answered \Flagged)[nl]* OK [UIDVALIDITY 1475504890] current uidvalidity[nl]* OK [UNSEEN 5] unseen messages[nl]* OK [UIDNEXT 7] next uid[nl]* OK [PERMANENTFLAGS ()] limited[nl]A004 OK [READ-ONLY] EXAMINE completed"
"IMAPD"	10180	25	"2017-02-05 13:57:54.348"	"192.168.178.23"	"RECEIVED: A005 SELECT "INBOX.Trash""
"IMAPD"	10180	25	"2017-02-05 13:57:54.349"	"192.168.178.23"	"SENT: * 6 EXISTS[nl]* 0 RECENT[nl]* FLAGS (\Deleted \Seen \Draft \Answered \Flagged)[nl]* OK [UIDVALIDITY 1475504890] current uidvalidity[nl]* OK [UNSEEN 5] unseen messages[nl]* OK [UIDNEXT 7] next uid[nl]* OK [PERMANENTFLAGS (\Deleted \Seen \Draft \Answered \Flagged)] limited[nl]A005 OK [READ-WRITE] SELECT completed"
"IMAPD"	8692	25	"2017-02-05 13:57:54.350"	"192.168.178.23"	"RECEIVED: A006 EXPUNGE"
"IMAPD"	8692	25	"2017-02-05 13:57:54.351"	"192.168.178.23"	"SENT: "
"IMAPD"	8692	25	"2017-02-05 13:57:54.351"	"192.168.178.23"	"SENT: A006 OK EXPUNGE Completed"
"IMAPD"	10180	25	"2017-02-05 13:57:54.352"	"192.168.178.23"	"RECEIVED: A007 EXPUNGE"
"IMAPD"	10180	25	"2017-02-05 13:57:54.352"	"192.168.178.23"	"SENT: "
"IMAPD"	10180	25	"2017-02-05 13:57:54.353"	"192.168.178.23"	"SENT: A007 OK EXPUNGE Completed"
"IMAPD"	10676	25	"2017-02-05 13:57:54.354"	"192.168.178.23"	"RECEIVED: A008 UID SEARCH UID 1:6"
"IMAPD"	10676	25	"2017-02-05 13:57:54.354"	"192.168.178.23"	"SENT: * SEARCH 1 2 3 4 5 6"
"IMAPD"	10676	25	"2017-02-05 13:57:54.355"	"192.168.178.23"	"SENT: A008 OK UID completed"
"IMAPD"	10180	25	"2017-02-05 13:57:54.356"	"192.168.178.23"	"RECEIVED: A009 UID FETCH 1:* (FLAGS UID RFC822.SIZE INTERNALDATE BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance Priority Content-Type)])"
"IMAPD"	10180	25	"2017-02-05 13:57:54.357"	"192.168.178.23"	"SENT: * 1 FETCH (UID 1 RFC822.SIZE 568 FLAGS (\Seen) INTERNALDATE " 5-Feb-2017 13:29:48 +0100" BODY[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance Priority Content-Type)] {223}"
"IMAPD"	10180	25	"2017-02-05 13:57:54.358"	"192.168.178.23"	"SENT: )"
"IMAPD"	10180	25	"2017-02-05 13:57:54.359"	"192.168.178.23"	"SENT: * 2 FETCH (UID 2 RFC822.SIZE 570 FLAGS (\Seen) INTERNALDATE " 5-Feb-2017 13:30:40 +0100" BODY[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance Priority Content-Type)] {223}"
"IMAPD"	10180	25	"2017-02-05 13:57:54.360"	"192.168.178.23"	"SENT: )"
"IMAPD"	10180	25	"2017-02-05 13:57:54.361"	"192.168.178.23"	"SENT: * 3 FETCH (UID 3 RFC822.SIZE 564 FLAGS (\Seen) INTERNALDATE " 5-Feb-2017 13:31:08 +0100" BODY[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance Priority Content-Type)] {219}"
"IMAPD"	10180	25	"2017-02-05 13:57:54.362"	"192.168.178.23"	"SENT: )"
"IMAPD"	10180	25	"2017-02-05 13:57:54.363"	"192.168.178.23"	"SENT: * 4 FETCH (UID 4 RFC822.SIZE 564 FLAGS (\Seen) INTERNALDATE " 5-Feb-2017 13:45:40 +0100" BODY[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance Priority Content-Type)] {219}"
"IMAPD"	10180	25	"2017-02-05 13:57:54.363"	"192.168.178.23"	"SENT: )"
"IMAPD"	10180	25	"2017-02-05 13:57:54.365"	"192.168.178.23"	"SENT: * 5 FETCH (UID 5 RFC822.SIZE 292 FLAGS () INTERNALDATE " 5-Feb-2017 13:48:56 +0100" BODY[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance Priority Content-Type)] {139}"
"IMAPD"	10180	25	"2017-02-05 13:57:54.365"	"192.168.178.23"	"SENT: )"
"IMAPD"	10180	25	"2017-02-05 13:57:54.366"	"192.168.178.23"	"SENT: * 6 FETCH (UID 6 RFC822.SIZE 292 FLAGS () INTERNALDATE " 5-Feb-2017 13:48:59 +0100" BODY[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance Priority Content-Type)] {139}"
"IMAPD"	10180	25	"2017-02-05 13:57:54.367"	"192.168.178.23"	"SENT: )"
"IMAPD"	10180	25	"2017-02-05 13:57:54.367"	"192.168.178.23"	"SENT: A009 OK UID completed"
"IMAPD"	10180	25	"2017-02-05 13:57:54.389"	"192.168.178.23"	"RECEIVED: A010 LOGOUT"
"IMAPD"	10180	25	"2017-02-05 13:57:54.390"	"192.168.178.23"	"SENT: * BYE Have a nice day[nl]A010 OK Logout completed"
"DEBUG"	10676	"2017-02-05 13:57:54.391"	"Ending session 25"
"DEBUG"	10180	"2017-02-05 14:00:24.902"	"Creating session 28"
"TCPIP"	10180	"2017-02-05 14:00:24.903"	"TCP - 192.168.178.23 connected to 192.168.178.23:143."
"DEBUG"	10180	"2017-02-05 14:00:24.904"	"TCP connection started for session 27"
"IMAPD"	10180	27	"2017-02-05 14:00:24.905"	"192.168.178.23"	"SENT: * OK IMAPrev1"
"IMAPD"	8692	27	"2017-02-05 14:00:24.906"	"192.168.178.23"	"RECEIVED: A001 LOGIN "valiantenger@suriyaa.tk" ***"
"IMAPD"	8692	27	"2017-02-05 14:00:24.908"	"192.168.178.23"	"SENT: A001 OK LOGIN completed"
"IMAPD"	8692	27	"2017-02-05 14:00:24.911"	"192.168.178.23"	"RECEIVED: A002 STATUS "INBOX" (MESSAGES UNSEEN RECENT)"
"IMAPD"	8692	27	"2017-02-05 14:00:24.912"	"192.168.178.23"	"SENT: * STATUS "INBOX" (MESSAGES 1 UNSEEN 0 RECENT 0)[nl]A002 OK Status completed"
"IMAPD"	8692	27	"2017-02-05 14:00:24.914"	"192.168.178.23"	"RECEIVED: A003 EXAMINE "INBOX.Trash""
"IMAPD"	8692	27	"2017-02-05 14:00:24.915"	"192.168.178.23"	"SENT: * 6 EXISTS[nl]* 0 RECENT[nl]* FLAGS (\Deleted \Seen \Draft \Answered \Flagged)[nl]* OK [UIDVALIDITY 1475504890] current uidvalidity[nl]* OK [UNSEEN 5] unseen messages[nl]* OK [UIDNEXT 7] next uid[nl]* OK [PERMANENTFLAGS ()] limited[nl]A003 OK [READ-ONLY] EXAMINE completed"
"IMAPD"	2160	27	"2017-02-05 14:00:24.976"	"192.168.178.23"	"RECEIVED: A004 LOGOUT"
"IMAPD"	2160	27	"2017-02-05 14:00:24.977"	"192.168.178.23"	"SENT: * BYE Have a nice day[nl]A004 OK Logout completed"
"DEBUG"	8692	"2017-02-05 14:00:24.978"	"Ending session 27"
"DEBUG"	10180	"2017-02-05 14:04:46.319"	"Creating session 29"
"TCPIP"	10180	"2017-02-05 14:04:46.320"	"TCP - 192.168.178.23 connected to 192.168.178.23:25."
"DEBUG"	10180	"2017-02-05 14:04:46.321"	"TCP connection started for session 24"
"SMTPD"	10180	24	"2017-02-05 14:04:46.322"	"192.168.178.23"	"SENT: 220 mail.suriyaa.tk ESMTP"
"DEBUG"	8692	"2017-02-05 14:04:46.322"	"The read operation failed. Bytes transferred: 0 Remote IP: 192.168.178.23, Session: 24, Code: 2, Message: End of file"
"DEBUG"	8692	"2017-02-05 14:04:46.323"	"Ending session 24"
"DEBUG"	10180	"2017-02-05 14:04:46.411"	"Creating session 30"
"TCPIP"	10180	"2017-02-05 14:04:46.412"	"TCP - 192.168.178.23 connected to 192.168.178.23:25."
"DEBUG"	10180	"2017-02-05 14:04:46.414"	"TCP connection started for session 29"
"SMTPD"	10180	29	"2017-02-05 14:04:46.415"	"192.168.178.23"	"SENT: 220 mail.suriyaa.tk ESMTP"
"DEBUG"	8692	"2017-02-05 14:04:46.416"	"The read operation failed. Bytes transferred: 0 Remote IP: 192.168.178.23, Session: 29, Code: 2, Message: End of file"
"DEBUG"	8692	"2017-02-05 14:04:46.416"	"Ending session 29"

My configurations

screenshot 2017-02-05 14 04 21
screenshot 2017-02-05 14 04 39
screenshot 2017-02-05 14 04 52
screenshot 2017-02-05 14 05 31
screenshot 2017-02-05 14 05 38
screenshot 2017-02-05 14 05 49
screenshot 2017-02-05 14 05 51


How can I fix this?

Cheers,
Suriyaa Kudo :octocat:

@jimimaseye
Copy link

This ISSUES area are for technical bugs and enhancements to the program, and not for user support.

Please visit the Support forum where we have willing people to help you resolve your issues. https://www.hmailserver.com/forum/

@suriyaa
Copy link
Author

suriyaa commented Feb 7, 2017

@jimimaseye Ok. Thanks.

(For all readers: Go to https://www.hmailserver.com/forum/viewtopic.php?f=9&t=30918.)

@suriyaa suriyaa closed this as completed Feb 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants