Setting up mail account - non standard mail service

I’m trying to setup the email on our domain. But ERPNext doesnt send those emails.,.if I use a yahoo or google mail service, it works. How can I make the system use the mail server of our domain, instead of using one of the public services listed in ERPNext?

Do you see an error? ERPNext sends via SMTP, maybe you might have to whitelist it via your provider?

No errors (at least not in js console or in screen). Maybe I should check the logs…

I don’t choose a service in the setup page (yahoo or Google etc). That is correct, right?

Logs have this error - How do I fix it?

2016-02-11 17:48:58,670 New Exception collected with id: 2016-02-11 17:48:58.659979-192.168.1.8-3fc site: site1.local form: {'action': u'Save', 'cmd': u'frappe.desk.form.save.savedocs', 'doc': u'{"docstatus":0,"doctype":"Email Account","name":"New Email Account 1","__islocal":1,"__unsaved":1,"owner":"kirthi@aegam.com","service":"","attachment_limit":1,"unreplied_for_mins":30,"email_id":"bills@aegam.com","email_account_name":"Bills","password":"xxxxxx","enable_incoming":1,"email_server":"imap.1and1.com","append_to":"Issue","use_ssl":1,"default_incoming":0}'}

Traceback (innermost last):
File “/home/kirthi/frappe-bench/apps/frappe/frappe/app.py”, line 69, in application
response = frappe.handler.handle()
File “/home/kirthi/frappe-bench/apps/frappe/frappe/handler.py”, line 20, in handle
execute_cmd(cmd)
File “/home/kirthi/frappe-bench/apps/frappe/frappe/handler.py”, line 37, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/kirthi/frappe-bench/apps/frappe/frappe/init.py”, line 798, in call
return fn(*args, **newargs)
File “/home/kirthi/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 18, in savedocs
doc.save()
File “/home/kirthi/frappe-bench/apps/frappe/frappe/model/document.py”, line 231, in save
self.insert()
File “/home/kirthi/frappe-bench/apps/frappe/frappe/model/document.py”, line 193, in insert
self.run_before_save_methods()
File “/home/kirthi/frappe-bench/apps/frappe/frappe/model/document.py”, line 595, in run_before_save_methods
self.run_method(“validate”)
File “/home/kirthi/frappe-bench/apps/frappe/frappe/model/document.py”, line 557, in run_method
return Document.hook(fn)(self, *args, **kwargs)
File “/home/kirthi/frappe-bench/apps/frappe/frappe/model/document.py”, line 712, in composer
return composed(self, method, *args, **kwargs)
File “/home/kirthi/frappe-bench/apps/frappe/frappe/model/document.py”, line 695, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/kirthi/frappe-bench/apps/frappe/frappe/model/document.py”, line 551, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/kirthi/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py”, line 55, in validate
self.get_server()
File “/home/kirthi/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py”, line 118, in get_server
email_server.connect()
File “/home/kirthi/frappe-bench/apps/frappe/frappe/email/receive.py”, line 42, in connect
return self.connect_pop()
File “/home/kirthi/frappe-bench/apps/frappe/frappe/email/receive.py”, line 68, in connect_pop
self.pop = Timed_POP3_SSL(self.settings.host, timeout=frappe.conf.get(“pop_timeout”))
File “/home/kirthi/frappe-bench/apps/frappe/frappe/email/receive.py”, line 396, in init
self._super.init(self, *args, **kwargs)
File “/usr/lib/python2.7/poplib.py”, line 358, in init
raise socket.error, msg
error: [Errno 111] Connection refused

Check your settings (esp. port)

Or you may have to whitelist from your vendor.

Where do I find these logs?

check this page you have all the settings you need :
Welcome to the IONOS Help Center - IONOS Help

and make @digiyam sure to change your password coz its shown in the error message.

regards

I have my SMTP server settings and I didn’t post that original log with the password in it. I’m trying to figure out where the original poster found that log, because I can’t find anything like it on my installation (I’m pretty new to this framework).

I have checked port 993 is working by telnet. However I get the same issue -
pull_from_email_account - error: [Errno 111] Connection refused