[pfx] Re: Virtual alias expansion in milter

2025-04-10 Thread Gioele Pannetto via Postfix-users
On 09/04/25 16:28, Viktor Dukhovni via Postfix-users wrote: For this use case a post-queue milter is more suitable. By the way, are you referring to non_smtpd_milters? No, you'd actually need to arrange a "content_filter"-style internal delivery, but not actually have any sort of SMTP proxy in

[pfx] Re: Virtual alias expansion in milter

2025-04-09 Thread Gioele Pannetto via Postfix-users
On 09/04/25 15:50, Viktor Dukhovni via Postfix-users wrote: You have a choice between running milters while the SMTP client is still waiting for a response, and therefore being able to reject some recipients or the entire message, and running milters *after* the message is accepted (a.k.a. "post-

[pfx] Virtual alias expansion in milter

2025-04-09 Thread Gioele Pannetto via Postfix-users
Hi, I'm configuring an inbound-only Postfix server and I have connected an antispam software using the milter interface of Postfix with the smtpd_milters propriety. Suppose I have a mailbox (u...@example.com) and an alias to that mailbox (al...@example.com). In the virtual_mailbox_maps I have

[pfx] Re: virtual_mailbox_maps ignored when using domain aliases

2025-03-21 Thread Gioele Pannetto via Postfix-users
On 12/03/25 15:21, Gioele Pannetto via Postfix-users wrote: Hi again, I'm migrating an old mx to Postfix. This instance will be responsible for inbound-only emails for various domains. Note that every domain can have one or more domain aliases. This is my simplified c

[pfx] Postfix aliases and recipient_bcc_maps

2025-03-15 Thread Gioele Pannetto via Postfix-users
Hi, I'm trying to setup a Postfix instance but I'm having issues trying to meet all requirements. I'll summarize the details quickly:  - This Postfix instance will be responsable only for incoming mail.  - All the mailboxes and aliases details are saved in a database  - Mailboxes can have one

[pfx] virtual_mailbox_maps ignored when using domain aliases

2025-03-12 Thread Gioele Pannetto via Postfix-users
Hi again, I'm migrating an old mx to Postfix. This instance will be responsible for inbound-only emails for various domains. Note that every domain can have one or more domain aliases. This is my simplified config: virtual_mailbox_domains = proxy:mysql:/etc/postfix/sql/domains.cf virtual_alias_

[pfx] Re: Postfix aliases and recipient_bcc_maps

2025-03-11 Thread Gioele Pannetto via Postfix-users
On 11/03/25 16:58, Wietse Venema wrote: Instead do this: virtual_alias_maps: # alias the recipient user1@domain1.example user2@domain2.example # Add user2's BCC addreses user2@domain2.example user2@domain2.example, user3@domain3.example, user4@domain4.example This wi

[pfx] Re: Postfix aliases and recipient_bcc_maps

2025-03-11 Thread 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

[pfx] Re: Postfix aliases and recipient_bcc_maps

2025-03-11 Thread Gioele Pannetto via Postfix-users
On 11/03/25 15:14, Bill Cole via Postfix-users wrote: Sorry but in the first email you said that "automatic BCC recipients are subject to virtual_alias_maps expansions" Meaning: the OUTPUT of a BCC lookup is put through a virtual alias expansion. and now you are saying that alias expansion i

[pfx] Re: Postfix aliases and recipient_bcc_maps

2025-03-11 Thread 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