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

I am having problems with the Postfix mail server being used for backscattering, I have tried the suggestions in the manual but nothing seems to work. Does anyone know how we can reject any mail from entering the queue if the recipient doesn't match a local recipient rather than send bounce emails? I'm assuming it should be a fairly straight forward change in the configuration files. Just to note I am using Webmin/Virtualmin on the server.

share|improve this question

migrated from Mar 15 '11 at 22:23

This question came from our site for professional and enthusiast programmers.

# Set this because this causes local postfix to generate a 550 reject
# response to the SMTP server that initiated the connection
# rather than sending a bounce email to a likely bogus address
unknown_local_recipient_reject_code = 550

local_recipient_maps  = $virtual_mailbox_maps
share|improve this answer
I have added both of the above lines to configuration and yet this doesn't seem to solve the problem. My virtual_mailbox_maps is set to:virtual_mailbox_maps = hash:/etc/postfix/virtual The map file is in the format: – Must Do Better Mar 16 '11 at 9:22

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.