Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently setup an exim4 server instance only for the purpose of allowing our host to send outgoing emails (the application hosted therein sends a number of automated email messages).

Recently the box lost the ability to send mail -- upon examining the response from the destination SMTP hosts, we were apparently flagged and "blacklisted" as a host for spam. I looked at the logs and we haven't been relaying anything -- only sending messages as the host for which I've configured the server.

Anyway, I am in no way an expert on email -- frankly I think email is a solution that has been horribly overcomplicated due to POS spammers. Never the less, I'd really appreciate some help in figuring out how to configure things properly such that we don't get black listed again (I've submitted a request to remove the host from the blacklist). Accordingly, here's a quick walk-through of the steps I've taken to try to fix the issue:

For purpose of example, lets say the host is hosting the site:

And we're sending email as

1) dpkg-reconfigure exim4-config

2) Standard configuration (SMPT to send and receive, no smarthost), domain name set at Listening only on

3) Reverse DNS for points to the host's static IP address.

4) SPF record added for the host to accept mail for

Thats it. This is all I've typically had to do with a mail server to get things working -- rDNS and SPF being the critical factors.

Anyway, I appreciate any feedback -- I'm sure there may be something I'm missing.


share|improve this question

Check out this Email Server Test. It will tell if you anything additional needs to be configured.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.