Page 1 of 1
Disable Local Delivery in Exim
Posted: Fri Mar 13, 2015 7:10 pm
by augustine_10
How to disable Exim local mail delivery in VestaCP server, I'm getting below errors in mail log.
==
Unrouteable address
==
Re: Disable Local Delivery in Exim
Posted: Sun Mar 15, 2015 8:28 pm
by skurudo
1. resolv and dns
2, correct hostname
3. dnslookup in exim config - * for domains
4. PTR
Re: Disable Local Delivery in Exim
Posted: Mon Mar 16, 2015 7:43 pm
by augustine_10
Can you explain the process, right now, I've disabled it by renaming /etc/exim/domains/domain.com file,
I'm using Centos6
Re: Disable Local Delivery in Exim
Posted: Mon Mar 16, 2015 7:47 pm
by augustine_10
Update: my server name is server.domain.com
Re: Disable Local Delivery in Exim
Posted: Tue Mar 17, 2015 4:53 am
by skurudo
1. resolv and dns
Make sure, you have your resolv file and there is google dns or address for resolv other domains
/etc/resolv.conf
Code: Select all
domain pxe.local
search pxe.local
nameserver 8.8.8.8
2, correct hostname
In many cases hostname need to be correct. There is info about hostname -
https://wiki.debian.org/GmailAndExim4
3. dnslookup in exim config - * for domains
It's a part in /etc/exim4/exim4.conf.template - ROUTERS CONFIGURATION section
Code: Select all
dnslookup:
driver = dnslookup
domains = *
transport = remote_smtp
no_more
4. PTR
You can ask your hosting provider add PTR -
http://en.wikipedia.org/wiki/Reverse_DNS_lookup
Re: Disable Local Delivery in Exim
Posted: Tue Mar 17, 2015 5:02 am
by augustine_10
That was really helpful.
Thank you
Re: Disable Local Delivery in Exim
Posted: Thu Mar 19, 2015 8:05 am
by DanielFitzherbert
It's such a fantastic piece of content really full of great tips and just wanna say thanks for sharing it. I was also nervous with that but you helped me out ... :)