Gioele Pannetto via Postfix-users: > On 11/03/25 13:40, Wietse Venema wrote: > > Gioele Pannetto via Postfix-users: > >> On 10/03/25 18:05, Wietse Venema via Postfix-users wrote: > >>> According to the text, automatic BCC recipients are subject to > >>> virtual_alias_maps expansions. And I just confirmed experimentally > >>> that recipient_bcc_maps lookup results are indeed subject to > >>> virtual_alias_maps expansions. > >>> > >>> If virutal_alias_maps expansions dop not work as expectedk, you > >>> need to append the @domain in each entry on the right-hand side of > >>> the table. > >> Thanks for the reply, but I'm not understanding. I'll give you an example: > >> I have an alias on al...@giopan.dev that points to gio...@giopan.dev and > >> to gio...@pannetto.com (both are hosted on the same server). > >> I send an email to al...@alias.giopan.dev (alias.giopan.dev is an alias > >> to giopan.dev), the email is correctly delivered to the correct > >> recipients, but the BCC is not triggered. > > Simple logic. > > > > sender/recipient BCC lookup happens BEFORE virtual alias expansion. > > > > Therefore, the result of alias expansion IS NOT used for sender/recipient > > BCC lookup. > > Sorry but in the first email you said that "automatic BCC recipients are > subject to virtual_alias_maps expansions"
Indeed. Virtual alias lookups happen AFTER sender/recipient BCC lookups. This is the same as saying that Sender/recipient BCC lookups happen BEFORE Virtual alias lookups. If this is a contradiction for you, then we cannot communicate. Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org