I found my answer - RFC-2821

- - -

Forwarded message:

From: Antonio Leding <t...@leding.net>
To: Jaroslaw Rafa <r...@rafa.eu.org>
Cc: postfix-users@postfix.org
Subject: Re: Redirection using a 1:1 & domain wildcard alias
Date: Mon, 5 Oct 2020 20:38:00 +0000

Thanks Jaroslaw,

Is any of this documented anywhere? I’ve read virtual(5), virtual(8), cleanup(8), etc. ad nowhere in the observed behavior documented.

There’s discussion as to order to table searching and address matching but nothing that I’ve seen discusses what happens when there is both a user account and an alias configured nor when a user account and a domain wildcard alias are configured concurrently.

If this is all “just understood to be true”, then fine…but if so, would be far better to document this stuff…

On the flip side, if I’ve simply missed it, fair enough…just would like to know where…

- - -


On 5 Oct 2020, at 12:34, Jaroslaw Rafa wrote:

Dnia  5.10.2020 o godz. 17:28:04 Antonio Leding pisze:
* When both a 1:1 alias & a user are configured for a given email
address, why are emails sent to the alias\user only delivered to the
alias target?

Because that's exactly what aliases are meant for - to deliver mail to the
alias target *instead* of the original address.

If you want the mail to be delivered *both* to alias target and to the original address, you must alias the original address to a *list* of both
these addresses (I don't know if it works for virtual_alias_maps, it
certainly works for aliases defined in /etc/aliases)

* When a domain wildcard alias & a user are configured, why are
emails sent to the user only delivered to the user and no copy to
the alias target?

Because domain wildcard alias applies *by definition* for any address in the domain that *does not have* it's own alias defined. Once an address has
it's own alias defined, wildcard alias is ignored.
--
Regards,
   Jaroslaw Rafa
   r...@rafa.eu.org
--
"In a million years, when kids go to school, they're gonna know: once there
was a Hushpuppy, and she lived with her daddy in the Bathtub."


Reply via email to