Prior to Wietse's earlier post on this thread, I didn't know you could alias a non existent address back on itself in order to make the address known to Postfix. That's simply clever! I did know you can't silently discard messages using Transport if the address didn't exist, nor by aliasing such an address to an existing mailbox if the destination accepts mail. I don't reject 'noreply' addresses myself, but would opt for Wietse's method should I ever feel the need to do so. Both methods work though.

Mick.

On 27/01/2016 21:03, Wietse Venema wrote:
@lbutlr:
On 27 Jan 2016, at 05:46, Mick <[email protected]> wrote:
  '[email protected]' needs to exist as a mailbox in order for you to discard 
mail to it as far as I can tell.
Obviously not, since Wietse posted:

transport_maps = inline:{[email protected]=discard:}
Unfortunately, transport_maps does not decide what addresses are valid;
that decision is based on virtual_alias_maps, local_recipient_maps,
relay_recipient_maps, and virtual_mailbox_maps.

        Wietse


Reply via email to