Page 1 of 1

(Solved) Mail Delivery problems - on a VestaCP server

Posted: Thu Feb 12, 2015 9:07 am
by mehargags
Hi,

I have a Server running 2 web domains, I'm facing Mail delivery issues with them, typically php generated mails are either not generating sometimes, and sometimes they are landing in spam on Gmail/Hotmail.

Both hosted domains are using Google Apps for incoming mails and this server just shoots out system (PHP) generated email only.

Primaririly I setup my hostaname as "domain1.com" & created local mail domains on VestaCP too. but thought this was leading to some local mail devliery confusions, so I changed my hostname to "cloud.domain1com" while the rDNS record is still pointing as domain1.com to my IP 168.x.x.xx2

I'm still not assured if I m doing it alright, and want to be absolutely sure that mails are being delivered properly as these sites do a lot of order processing online.


Kindly Help me a solution

Re: Mail Delivery problems - on a VestaCP server

Posted: Thu Feb 12, 2015 5:37 pm
by skurudo
You need to explore answers from exim logs
/va/log/exim4/mainlog

Re: Mail Delivery problems - on a VestaCP server

Posted: Thu Feb 12, 2015 6:41 pm
by mehargags
Well a long day I researched to understand it was probably due to IPV6 enabled.
I've done some changes, and now the Delivery is "looking to be good", will monitor for some days to see if the service is actually working ok.


Im putting down all the possible resources for the fellow members :

http://www.jeremycole.com/blog/2010/03/ ... squeeze-6/
viewtopic.php?f=12&t=5120
http://superuser.com/questions/546788/h ... ian-wheezy

# Disable iPV6
/etc/exim4/update-exim4.conf.conf
dc_local_interfaces='127.0.0.1'

nano /etc/sysctl.conf
-> net.ipv6.conf.all.disable_ipv6 = 1

sysctl -p
or Reboot

# Consider disable IPv6 (file /etc/exim4/update-exim4.conf.conf):
-> disable_ipv6='true'