[pfx] Re: Postfix documentation pitfalls. virtual_alias_maps and main.cf macros

2023-05-08 Thread Viktor Dukhovni via Postfix-users
On Mon, May 08, 2023 at 12:33:31PM +1000, Sean Gallagher via Postfix-users wrote: > > [ Yes, one could also craft "classless" access(5) tables, ... and rely > >only on explicit transport(5) table entries, opting out of all the > >taxonomy that makes it easier to reason about Postfix mail

[pfx] Re: Postfix documentation pitfalls. virtual_alias_maps and main.cf macros

2023-05-08 Thread Byung-Hee HWANG via Postfix-users
Viktor Dukhovni via Postfix-users writes: > (...) > [ Yes, one could also craft "classless" access(5) tables, ... and rely > only on explicit transport(5) table entries, opting out of all the > taxonomy that makes it easier to reason about Postfix mail routing, > but this is not a good

[pfx] Re: Postfix documentation pitfalls. virtual_alias_maps and main.cf macros

2023-05-07 Thread Sean Gallagher via Postfix-users
On 5/05/2023 11:52 am, Sean Gallagher via Postfix-users wrote: While Wietse has his word processor open, I'd like to share a few of my greatest misdirects in my evolving understanding of Postfix. To quote a like minded individual I simply want to help others avoid my points of confusion, in

[pfx] Re: Postfix documentation pitfalls. virtual_alias_maps and main.cf macros

2023-05-07 Thread Sean Gallagher via Postfix-users
[ Yes, one could also craft "classless" access(5) tables, ... and rely only on explicit transport(5) table entries, opting out of all the taxonomy that makes it easier to reason about Postfix mail routing, but this is not a good idea, and users advanced enough to do that aren't the

[pfx] Re: Postfix documentation pitfalls. virtual_alias_maps and main.cf macros

2023-05-07 Thread Viktor Dukhovni via Postfix-users
On Mon, May 08, 2023 at 11:00:55AM +1000, Sean Gallagher via Postfix-users wrote: > check_rcpt_maps() in smtpd_check.c first looks for the recipient in > rcpt_canon_mapsand virt_alias_maps, that's the class-less part. Then it > classifies the recipient domain and checks the relevant recipient

[pfx] Re: Postfix documentation pitfalls. virtual_alias_maps and main.cf macros

2023-05-07 Thread Sean Gallagher via Postfix-users
On 8/05/2023 10:19 am, Wietse Venema via Postfix-users wrote: Sean Gallagher via Postfix-users: ADDRESS_CLASS_README: The most misleading place for me was the ADDRESS_CLASS_README For "The virtual alias domain class" it says: "Valid recipient addresses are listed with the virtual_alias_maps

[pfx] Re: Postfix documentation pitfalls. virtual_alias_maps and main.cf macros

2023-05-07 Thread Viktor Dukhovni via Postfix-users
On Mon, May 08, 2023 at 09:55:28AM +1000, Sean Gallagher via Postfix-users wrote: > Q: how would an entry in virtual_alias_maps like > localpart@$virtual_alias_domains localpart@$virtual_alias_domains be > handled? > A: It would stay in $virtual_alias_domains and be handed to >

[pfx] Re: Postfix documentation pitfalls. virtual_alias_maps and main.cf macros

2023-05-07 Thread Wietse Venema via Postfix-users
Sean Gallagher via Postfix-users: > ADDRESS_CLASS_README: > > The most misleading place for me was the ADDRESS_CLASS_README > > For "The virtual alias domain class" it says: > "Valid recipient addresses are listed with the virtual_alias_maps > parameter" > which is of course true, but there is

[pfx] Re: Postfix documentation pitfalls. virtual_alias_maps and main.cf macros

2023-05-07 Thread Sean Gallagher via Postfix-users
ADDRESS_CLASS_README: The most misleading place for me was the ADDRESS_CLASS_README For "The virtual alias domain class" it says: "Valid recipient addresses are listed with the virtual_alias_maps parameter" which is of course true, but there is nothing special about the virtual alias domain

[pfx] Re: Postfix documentation pitfalls. virtual_alias_maps and main.cf macros

2023-05-07 Thread Wietse Venema via Postfix-users
Matus UHLAR - fantomas via Postfix-users: > I looked at docs (*README) and haven't found any. > > I'd still prefer to explicitly note that virtual_alias_maps are applied > even for non-local e-mail > ...you use "all email deliveries", I wonder if something like > "all emails processed (even

[pfx] Re: Postfix documentation pitfalls. virtual_alias_maps and main.cf macros

2023-05-07 Thread Matus UHLAR - fantomas via Postfix-users
On 05.05.23 11:52, Sean Gallagher via Postfix-users wrote: >While Wietse has his word processor open, I'd like to share a few of >my greatest misdirects in my evolving understanding of Postfix. > >To quote a like minded individual > >I simply want to help others avoid my points of confusion, in

[pfx] Re: Postfix documentation pitfalls. virtual_alias_maps and main.cf macros

2023-05-05 Thread Wietse Venema via Postfix-users
Matus UHLAR - fantomas via Postfix-users: > On 05.05.23 11:52, Sean Gallagher via Postfix-users wrote: > >While Wietse has his word processor open, I'd like to share a few of > >my greatest misdirects in my evolving understanding of Postfix. > > > >To quote a like minded individual > > > >I

[pfx] Re: Postfix documentation pitfalls. virtual_alias_maps and main.cf macros

2023-05-05 Thread Matus UHLAR - fantomas via Postfix-users
On 05.05.23 11:52, Sean Gallagher via Postfix-users wrote: While Wietse has his word processor open, I'd like to share a few of my greatest misdirects in my evolving understanding of Postfix. To quote a like minded individual I simply want to help others avoid my points of confusion, in the