Matt Bayliss:
> I'm trying to find the correct/best practice method for setting up a black
> hole email address for such items as "noreply" addresses when sending
> alerts from monitoring devices etc.
With Postfix 3.0 and later:
/etc/postfix/main.cf:
transport_maps = inline:{[email protected]=discard:}
This requires "postfix reload".
With Postfix 2.2 and later:
/etc/postfix/main.cf:
transport_maps = hash:/etc/postfix/transport
/etc/postfix/transport:
[email protected] discard:
This requires "postmap hash:/etc/postfix/transport" and "postfix reload".
Wietse