Sending emails problem with external

shanky

Verified User
Joined
Dec 7, 2007
Messages
89
Helo

When any email user wants to send emails to any hosted domains using External Emails like Google Apps in the same server, all sending emails will be failed and get this errors:

2017-05-09 15:50:57 1d80rB-0002Ji-42 remote host address is the local host: anydomain.com
2017-05-09 15:50:57 1d80rB-0002Ji-42 == [email protected] R=lookuphost defer (-1): remote host address is the local host
2017-05-09 15:50:57 1d80rB-0002Ji-42 Frozen

I have already removed the Local Mail Server check box in mx record section for all domains using external emails.

At the moment, I have to move the domains using external emails to another server because they can't receive any email from a domain hosted in the same server.

Please advice how I can resolve this issue.

Regards
 
Hello,

I have already removed the Local Mail Server check box in mx record section for all domains using external emails.

Usually it's sufficient for emails to start to deliver to a remote server and stop to be treated as hosted locally. So make sure you don't have the domains in /etc/virtual/domains

Do you use default transports or you customized any of them? Do you use default exim.conf? What is its version?
 
Hi

So make sure you don't have the domains in /etc/virtual/domains

All domains in the server are listed in etc/virtual/domains by default. I don't change or add it maually.

Do you use default transports or you customized any of them? Do you use default exim.conf? What is its version?

1. DA Version 1.51.3 and exim.conf vesion 4.4.6
2. I use default scripts and change only 3 files : /etc/ssh/sshd.comf, iptables for changing ssh ports, /etc/sysctl.cont to increase max files.
3. I also add some files for sending emails : /etc/virtual/domainips

Thanks
 
When you uncheck "Local Mail Server" for a domain as a result such a domain should be removed from /etc/virtual/domains. So make sure it is not listed there.
 
I have checked and tries several times in the under info:

When you uncheck "Local Mail Server" for a domain as a result such a domain should be removed from /etc/virtual/domains

The errors is still existed although there is no domain in the /etc/virtual/domains.

Please advice
 
I have checked and tries several times in the under info:

When you uncheck "Local Mail Server" for a domain as a result such a domain should be removed from /etc/virtual/domains

The errors is still existed although there is no emails receiver domain in the /etc/virtual/domains.

Please advice
 
Wrong MX? Pointing to the local server?

Or /etc/resolv.conf having 127.0.0.1 there and a domain delegated with remote NameServers?
 
Back
Top