On 05 Oct 2020, at 13:34, Jaroslaw Rafa <r...@rafa.eu.org> 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)

Yes, and you can use /etc/aliases to define a group for a sql address. For 
example, I have an email address setup for the dogs, where all the vet mail 
gets and it is the email address on their tags as well. I want that email to go 
to both my personal address and to my wife's personal address:

d...@example.com  m...@example.net, myw...@example.com

Where both addresses on the right are defined in sql databases. (We have quite 
a lot of email addresses like this)

I find this a lot easier to maintain than editing the database from a ssh 
session as I am unwilling to expose the user database to any web-based SQL 
editor.



-- 
THEY ARE LAUGHING AT ME, NOT WITH ME Bart chalkboard Ep. 7G12

Reply via email to