Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

The main user account for a web server ( is not used for email at all, but receives a lot of spam. I'd like these messages to just :fail:. I've tried adding a .forward file for the account with ":fail:" in it and emails to the account are bouncing instead of failing. The email is processed by the server instead of being rejected at the SMTP negotiation. I can confirm that this rejection works as it should if you try to email a fully non-existent user (

Is there a way, I can get email to the main account to fail at the SMTP negotiation? We are using Linux with a DirectAdmin install and Exim.

Thank you for your time.

share|improve this question

closed as off-topic by HopelessN00b Apr 9 '15 at 13:37

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

I don't known how DirectAdmin manages the exim configuration, but it should be easy to modify the configuration to drop all emails to with an ACL like:

  . . . 
    log_message = matches
    recipients = /etc/exim4/filters/recipients_drop.list
  . . .

and then put (and, if needed, others addresses which should not receive mail) into the file /etc/exim4/filters/recipients_drop.list

share|improve this answer
Thank you, this worked perfectly. – user955664 Feb 20 '12 at 17:44

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