Page 1 of 1

after clean install ubuntu+vesta, not receiving emails

Posted: Thu Feb 27, 2020 8:04 am
by qlex
Hi all,
I have been browsing the forum for answers, but decided to start a new thread.
Just installed a clear VPS on ovh, choosing Ubuntu 18.04 and then installed vestacp:
bash vst-install.sh --nginx no --apache yes --phpfpm no --named yes --remi yes --vsftpd no --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin yes --clamav yes --softaculous no --mysql yes --postgresql no

of course i added hostname (vpsxxxxx.ovh.net), email and password to vesta.

Installation went successful.

Everything seems to work fine, I have added a new domain (i will call it domain.app - which is also registered with ovh and has A records pointing to that vps), enabled letsencrypt and then created a mail account for that domain.

Was able to send email from roundcube webmail and message arrived to both google-powered email and non-google powered email.

In both cases, when i reply (from google and non-google mail) i receive a mailer-daemon reply from remote server:

<[email protected]>:
Connected to 193.70.18.144 but sender was rejected.
Remote host said: 530 5.7.1 Client was not authenticated


That 193.70.18.144 ip address seems to be one from ovh, so it looks like the message is arriving but ovh servers are rejecting it. so i reckon i should be adding something to dns zone of that domain within ovh website.
Should i also change something in bind dns in vesta ? Bind dns for domain.app has ns1.domain.tld. and ns2.domain.tld.
Obviously ovh dns zone for that domain has different ns.

please assist

Re: after clean install ubuntu+vesta, not receiving emails

Posted: Mon Mar 02, 2020 7:57 am
by exclu254
In both cases, when i reply (from google and non-google mail) i receive a mailer-daemon reply from remote server:
Looks like an issue with your SMTP server, are you sure you are using the right SMTP configuration?
Test it with this tool: https://www.gmass.co/smtp-test

Re: after clean install ubuntu+vesta, not receiving emails

Posted: Mon Mar 02, 2020 8:32 am
by qlex
@exclu254
thanks but this didn't help. Sending works (i can send from that ovh-based email account using vestap roundcube webmail) and message is received. but i can't reply from that other email (doenst matter if its google-based or not), getting:
<[email protected]>:
Connected to 193.70.18.144 but sender was rejected.
Remote host said: 530 5.7.1 Client was not authenticated

Surprisingly, when i used that smtp-test and provided details of that ovh-based email account, i set sender email as google-based and receipient email as that ovh, message from that test got 200 OK and it appeared in roundcube inbox !

Re: after clean install ubuntu+vesta, not receiving emails

Posted: Mon Mar 02, 2020 5:43 pm
by exclu254
qlex wrote:
Mon Mar 02, 2020 8:32 am
@exclu254
thanks but this didn't help. Sending works (i can send from that ovh-based email account using vestap roundcube webmail) and message is received. but i can't reply from that other email (doenst matter if its google-based or not), getting:
<[email protected]>:
Connected to 193.70.18.144 but sender was rejected.
Remote host said: 530 5.7.1 Client was not authenticated
There are lots of stuff that can cause these error, pm me with your skype id, and if we are able to fix it, we would relay back the information here.

Also, here are some logs you can check:

Code: Select all

/var/log/exim4/mainlog
/var/log/exim/rejectlog
/var/log/exim/paniclog