Email to/from local domains not working after installing SB3

jlpeifer

Verified User
Joined
Jun 6, 2006
Messages
97
Hi,

Setting the Stage:
DomainA.com = A domain that's hosted on my DA box
DomainB.com = A domain that's hosted on my DA box
DomainC.com = A domain that's NOT hosted on my DA box

When email is sent from DomainA to DomainA... failure
When email is sent from DomainA to DomainB... failure
When email is sent from DomainB to DomainA... failure
When email is sent from DomainB to DomainB... failure
When email is sent from DomainC to DomainA... success

When I installed SB3, I made certain to create a hard link from use_rbl_domains to domains. I set the owner to mail:mail, and I set the permissions on the file to 644 (similar to others in the directory).

Can anyone help me understand why this might be failing?

advTHANKSance,
jp
 
What does the exim log say about the failed addresses?
 
I was observing (tail -f) the /var/log/maillog and the /var/log/exim/mainlog at the moment I tried sending inter-domain email. Neither log reflected any connection attempt. It was as if the request never made it to exim at all.

Perhaps I'm looking at the wrong log?
 
RESOLVED: Email to/from local domains not working after installing SB3

I was able to resolve this issue after noticing that I had overlooked the need to un-comment one of the lines in the SB3 exim.conf file that read:
Code:
# EDIT AS REQUIRED TO FIT YOUR ENVIRONMENT
# EITHER ALLOW OR DISALLOW 127.0.0.1 AS RELAY HOST;
# UNCOMMENT ONE OR THE OTHER.
# Some admins consider allowing 127.0.0.1 as a relay host to be
# spammer friendly, others choose to leave it because otherwise
# certain php and/or perl programs, including some webmail
# programs, may fail to work without it.

# hostlist relay_hosts = net-lsearch;/etc/virtual/pophosts : 127.0.0.1
# hostlist relay_hosts = net-lsearch;/etc/virtual/pophosts
After un-commenting the first of the two options and restarting Exim, inter-domain email worked fine.

As usual, this was an "ID-10-T" error.

Cheers,
jp
 
This is NOT the first time this error has come up. Should I change the file to default? If so, with or without 127.0.0.1?

Jeff
 
jlasman... From a technical standpoint, I'm certainly not the person who should provide any advice on your question. I figured out that I needed to uncomment the line because of another post someone had made to the forum. Perhaps a change to the EDIT segment of the default file would help folks understand the importance of uncommenting one of the two lines. This would allow the users to make the choice, but would underscore the importance of making a choice. Example:
Code:
# EDIT
# THE FOLLOWING EDIT IS MANDATORY
# YOU MUST UNCOMMENT ONE OF THE TWO LINES BELOW
# EDIT AS REQUIRED TO FIT YOUR ENVIRONMENT
# EITHER ALLOW OR DISALLOW 127.0.0.1 AS RELAY HOST;
# UNCOMMENT ONE OR THE OTHER.
BTW... Thank you for SpamBlocker! I recently upgraded from SB2 to SB3 on a new production server. I was receiving approximately 7-10 spam messages a day with the old version. With the new version my spam has dropped to zero! Great work!
 
Thank you :).

Note the code already says:
Code:
# THE FOLLOWING EDIT IS MANDATORY
I would have thought that was enough ;).

Jeff
 
Yes, you'd think, but apparently there are just enough thick people like me out there to cause problems. :D
 
Either the people are going to read the instructions or they are not.
 
Back
Top