0

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?

2
  • is postfix the primary MX for this domain? or is it relaying them to another server?
    – stew
    May 8, 2012 at 17:25
  • @stew Primary. [padding for SF comment character limit] May 9, 2012 at 5:27

1 Answer 1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .