Page 2 of 2

Re: Emails are sent fine but i am not being able to receive a single email

Posted: Thu Jun 06, 2019 9:15 am
by nimesh.dev
I don't think this is the issue, because with everything same on another server, mail is sent as well recieved smoothtly.

I tried installing it again and again, the problem is sometimes it works, sometimes it doesn't.

Re: Emails are sent fine but i am not being able to receive a single email

Posted: Thu Jan 23, 2020 6:06 pm
by swapnil0804
There are 3 steps to debug & solve this issue
=====CASE 1 HOSTING ONLY ONE DOMAIN WITH VETSA CP =====
1) If you are using VestCP most probably you have VPS with single rDNS record , you have to put the domain name correctly there as like say abcd.com
2) Then you must have SSL installed for that domain abcd.com from VestaCP Let's Encrypt
--> Check whether you have created child name servers with your domain provider & also Created A record there with your IP Address. (Total 3 records in Domain Registar)
3) Open terminal and type nano /etc/exim/exim.conf then set variable SPAM_SCORE TO 15,Then reset exim server from vestacp ->servers->exim->reset
No any extra setup
====CASE 2 HOSTING MULTIPLE DOMAINS WUTH VESTA CP ====
in this case you have two types of domains 1) primary domain (setup it as above) 2) secondary domains
1) Setup primary domain as per CASE 1 then Create the name servers (inside Vesta CP ) under admin user --> say abcd.com is our primary domain then create ns1.abcd.com & ns2.abcd.com pointing to your ip address
2) now in domain registar (for secondary domains) instead of using default name servers, use ns1.abcd.com & ns2.abcd.com
then no any extra setup is needed.. but if you points secondary domains using only ip address & default name servers of domain registar you can only send mails not receive mails. Cause most VPS providers gives only 1 rDNS entry.