Email Domain Setup - Stuck One Saving

anyone?

I’ve tried using the following IP Address

204.141.32.115 for imappro.zoho.com
204.141.32.118 for smtp.zoho.com

it says outgoing email account not correct

please help

Tick always use email address as login
And check if the ip address are correct. Try to use imap.zoho.coms ip address instead of imappro.

Yup neither responds to ping whereas gmail does (for example)

frappe@erpnext:~/frappe-bench$ ping smtp.zoho.com
PING smtp.zoho.com (204.141.32.118) 56(84) bytes of data.
^C
smtp.zoho.com ping statistics —
13 packets transmitted, 0 received, 100% packet loss, time 11999ms

frappe@erpnext:~/frappe-bench$ ping smpt.gmail.com
ping: unknown host smpt.gmail.com
frappe@erpnext:~/frappe-bench$ ping smtp.gmail.com
PING gmail-smtp-msa.l.google.com (173.194.203.108) 56(84) bytes of data.
64 bytes from pg-in-f108.1e100.net (173.194.203.108): icmp_seq=1 ttl=44 time=31.6 ms
64 bytes from pg-in-f108.1e100.net (173.194.203.108): icmp_seq=2 ttl=44 time=32.1 ms
^C
gmail-smtp-msa.l.google.com ping statistics —
2 packets transmitted, 2 received, 0% packet loss, time 1001ms

So you need to confirm connect info for zoho.com

I’ve set the same email in apple mail and it works fine (imappro and smtp)

Yes i just pinged imappro imap and SMTP of zoho. It return with request time out.

But i tested email service is working fine.

This is strange. I tried what’smydns.net and found these.

Try using these. If this helps

If these doesn’t work then contact zoho.

Received this response from zoho

Please find the IPs for our IMAP and SMTP servers below,
IMAP - 204.141.42.115
SMTP - 204.141.42.118
We would like to keep you informed that the IPs corresponding to the IMAP and SMTP servers are subject to change. Hence we request you to use the hostnames directly instead of using the IPs corresponding to them.
Also we would like to inform you that we have intentionally blocked the ping requests to our servers. Hence the packet loss. Instead of pinging the servers, you may run a OpenSSL test to check the connectivity.

I’ve already tried these IPs and unable to find a solution to set up email domain. Would really like to know a fix.

This test confirms connectivity to zoho’s mail service (from within my local network LAN)-

[clarkej@sierra ~]$ nc -vv imappro.zoho.com 993
Ncat: Version 6.40 ( Ncat - Netcat for the 21st Century )
libnsock nsi_new2(): nsi_new (IOD #1)
libnsock nsock_connect_tcp(): TCP connection requested to 204.141.42.115:993 (IOD #1) EID 8
libnsock nsock_trace_handler_callback(): Callback: CONNECT SUCCESS for EID 8 [204.141.42.115:993]
Ncat: Connected to 204.141.42.115:993

[clarkej@sierra ~]$ nc -vv smtp.zoho.com 587
Ncat: Version 6.40 ( Ncat - Netcat for the 21st Century )
libnsock nsi_new2(): nsi_new (IOD #1)
libnsock nsock_connect_tcp(): TCP connection requested to 204.141.42.118:587 (IOD #1) EID 8
libnsock nsock_trace_handler_callback(): Callback: CONNECT SUCCESS for EID 8 [204.141.42.118:587]
Ncat: Connected to 204.141.42.118:587.

To debug your failed connectivity case: Run the above connectivity test, start from the server that hosts ERPNext. At some server ‘node’ a port is closed - for example your gateway router? - that port must opened that prevents mail service connectivity.

hope this helps shikher

I think I found the problem.

Google cloud doesn’t allow 587 and 465. Have to use mailjet/mailgun/sendgrid

any suggestions on which one should I use? mailjet seems to offer a lot more options (including custom domain) than any other. although highest free emails are on mailgun.

also, is there a guide to install postfix mail on ubuntu?

Sorry I have no experience so can’t comment on either topic.

For an ERPNext instance I skip the bare install hoops, to download instead an ova image - the VM includes a working Postfix MTA right out of the box!

Postfix was already installed. setting up mailjet. will post here the process. Thanks everyone. :slight_smile:

I am using zoho mail.
Email setting works on tls only for zoho.

but i am getting emails which are generated automatically at midnight. all employees are getting daily emails but when i try to send the quotation or purchase order via Email button it does not send but somethings when i close the communication manually and reopen and link it. its sends after long time.

I had installed postfix manually. I dont understand what can be the issue here. As auto emails are working but manual email of quotation or purchase order or any document which i try to send via email doesnt work.

Any one aware of such kind of issue?

Hi Shikher,
did you succeed in setting up mailjet with your Gcloud instance ?
If so, can you share your postfix/erpnext conf ?
Thanks !

@MelBohard
No, I tried the google’s steps on setting mailjet but it did not work.
Would like to test suggestion if anyone can provide.

Thanks
Shikher

My recomendation is to use sparkpost, mailjet or turbosmtp for outgoing mails in erpnext as it will put your business email into blacklist and turn it into spam.

Hi all, does anyone know solution?

I have google cloud instance and installed erpnext using easy install.
I have my email hosted on zoho.com
and since google doesn’t allow normal ports, it suggests to use mailjet as an option with port number 2525
I used the google’s instructions on installing mailjet setting.

Now, I’m trying to set up email, using imap of zoho, and smtp of mailjet
it accepts the domain but, while adding email account, it says incorrect login or password

also, emails are not being sent via mail -s command line either.

does anyone know where emails are received by the instance stored?

so, mailjet dashboard shows the vm instance as the sender email (root@instance) and wants to confirm it by sending an email. If there’s a file in ubuntu where emails are stored, maybe that will fix things.

you will possibly need to use gmail email services / 5 USD per user :frowning:

i too had issue with google cloud but doesn’t seems to be like working due to port 25 is locked by google.

i will suggest you to goo with AWS, it works like charm.

AWS works? that’s great. Thanks.

Thanks
Shikher

Yes, AWS will solve your issue.

@fkardame where you able to solve this issue ?

Could you please share your findings.