Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

As with all mail servers, mine frequently receives spam for invalid recipient addresses.

What configuration values will force Postfix to immediately reject these messages? Furthermore, if Postfix is rejecting them and tries to bounce them back to the origin, how do I force Postfix not to bother deferring the bounce message if it isn’t immediately accepted by the origin?

share|improve this question
    
is postfix the primary MX for this domain? or is it relaying them to another server? –  stew May 8 '12 at 17:25
    
@stew Primary. [padding for SF comment character limit] –  Abraham Vegh May 9 '12 at 5:27

1 Answer 1

Set the following options in the /etc/postfix/main.cf

bounce_queue_lifetime = 0
local_recipient_maps = unix:passwd.byname $alias_maps

If you are using virtual domain/users you should use virtual_mailbox_maps instead

share|improve this answer

Your Answer

 
discard

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.