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 have about 3 knows email addresses in my domain, which don't exist and to which a lot of spam is sent. Some of this spam is pretty heavy, and I'm wasting a lot of traffic on it, so I don't want to even receive emails if their destination is one of those 3 addresses. Since I know that the users don't exist I would like postfix to reject emails during RCPT TO: negotiation. Basically, all I want is to update some config with those 3 addresses, and every email sent to them must fail to come in.

I want to stress out following:

  • postfix works as a relay for domain, there is no local users
  • postfix has no knowledge about validity of other emails within domain, so it cannot simply reject unknown recipients
share|improve this question

Take a look at access(5), and the check_recipient_access value for smtpd_recipient_restrictions.

share|improve this answer

So, are your mail server accepting emails for every kind of users for your domain? There's no address verification before accepting emails? Then, as womble suggested, put some checks on your server. You can read this one:

And maybe give a look at the book "The Book Of Postfix" (it's anyway a good reading)

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.