Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

Disable Local Delivery in Exim

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
augustine_10
Posts: 14
Joined: Sat Jan 17, 2015 6:50 am

Disable Local Delivery in Exim
  • Quote

Post by augustine_10 » Fri Mar 13, 2015 7:10 pm

How to disable Exim local mail delivery in VestaCP server, I'm getting below errors in mail log.
==
Unrouteable address
==
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Disable Local Delivery in Exim
  • Quote

Post by skurudo » Sun Mar 15, 2015 8:28 pm

1. resolv and dns
2, correct hostname
3. dnslookup in exim config - * for domains
4. PTR
Top

augustine_10
Posts: 14
Joined: Sat Jan 17, 2015 6:50 am

Re: Disable Local Delivery in Exim
  • Quote

Post by augustine_10 » Mon Mar 16, 2015 7:43 pm

Can you explain the process, right now, I've disabled it by renaming /etc/exim/domains/domain.com file,
I'm using Centos6
Top

augustine_10
Posts: 14
Joined: Sat Jan 17, 2015 6:50 am

Re: Disable Local Delivery in Exim
  • Quote

Post by augustine_10 » Mon Mar 16, 2015 7:47 pm

Update: my server name is server.domain.com
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Disable Local Delivery in Exim
  • Quote

Post by skurudo » Tue Mar 17, 2015 4:53 am

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
Top

augustine_10
Posts: 14
Joined: Sat Jan 17, 2015 6:50 am

Re: Disable Local Delivery in Exim
  • Quote

Post by augustine_10 » Tue Mar 17, 2015 5:02 am

That was really helpful.

Thank you
Top

DanielFitzherbert
Posts: 2
Joined: Thu Mar 19, 2015 8:01 am

Re: Disable Local Delivery in Exim
  • Quote

Post by DanielFitzherbert » Thu Mar 19, 2015 8:05 am

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 ... :)
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password