frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
21.92k stars 7.34k forks source link

[V7]Email incoming not working #5944

Closed omnison closed 8 years ago

omnison commented 8 years ago

in system log showing: SCHLOG00048 Traceback (innermost last): File "/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py", line 70, in connect_pop self.pop = Timed_POP3(self.settings.host, timeout=frappe.conf.get("pop_timeout")) File "/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py", line 400, in __init__ self._super.__init__(self, *args, **kwargs) File "/usr/lib64/python2.7/poplib.py", line 89, in __init__ self.sock = socket.create_connection((host, port), timeout) File "/usr/lib64/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 110] Connection timed out SCHLOG00049 [Errno 110] Connection timed out Traceback (innermost last): File "/home/frappe/frappe-bench/apps/frappe/frappe/email/bulk.py", line 294, in send_one smtpserver.sess.sendmail(email["sender"], email["recipient"], encode(email["message"])) File "/home/frappe/frappe-bench/apps/frappe/frappe/email/smtp.py", line 158, in sess cint(self.port) or None) File "/usr/lib64/python2.7/smtplib.py", line 255, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib64/python2.7/smtplib.py", line 315, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib64/python2.7/smtplib.py", line 290, in _get_socket return socket.create_connection((host, port), timeout) File "/usr/lib64/python2.7/socket.py", line 571, in create_connection raise err ValidationError: [Errno 110] Connection timed out

But i ask email provider check in server, email connection is ok: Aug 1 11:47:21 vps11825 dovecot: imap-login: Login: user=sales@mankem.com, method=PLAIN, rip=128.199.200.6, lip=198.46.87.190, mpid=9192, session= Aug 1 11:48:17 vps11825 dovecot: imap-login: Login: user=hr@mankem.com, method=PLAIN, rip=128.199.200.6, lip=198.46.87.190, mpid=9244, session= Aug 1 11:49:57 vps11825 dovecot: imap-login: Login: user=service@mankem.com, method=PLAIN, rip=128.199.200.6, lip=198.46.87.190, mpid=9273, session=

omnison commented 8 years ago

i also created this case in forum: https://discuss.erpnext.com/t/v7-email-incoming-not-working/14594

omnison commented 8 years ago

@rmehta please do some help in this email issue.

rmehta commented 8 years ago

@omnison are you a paid subscriber?

omnison commented 8 years ago

no, i am self-host user. but email is working good in v6, but not working in v7. If possible, please give me some instruction.

rmehta commented 8 years ago

Can't replicate it on our end. Could be an issue with the firewall. Can you follow this up on the forum.

Also please don't @-mention someone and ask for help. I am not the only one responsible to maintain issues.