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 belief I
am not a uniquirely incapable or unintelligent reader.
1) virtual_alias_maps is not only applied to virtual_alias_domains,
but to _all_ domains that Pf receives mail for.
http://www.postfix.org/ADDRESS_CLASS_README.html is very misleading in
this respect. I really wish I had understood this earlier, it would
have saved a lot of time.
I had this problem too and I think that explicitly stating something like:
virtual_alias_maps (if set) expansion is applied to all recipient addresses,
even if they aren't local, so this way it's possible to redirect mail for
remote recipients
would help much.
Also, mentioning the main difference between virtual_alias_maps (applied at
input) and alias_maps (applied at delivery, supporting :include:, pipe and
file destinations just as owner- prefix) would be nice to have.
Especially since it's advised to move address expansion from aliases to
virtual_alias_maps when possible to avoid double deliveries for problematic
destinations.
2) macros in main.cf. There is a comment in the default master.cf
https://github.com/vdukhovni/postfix/blob/master/postfix/conf/master.cf:
# specify "smtpd_<xxx>_restrictions=$mua_<xxx>_restrictions"
# here, and specify mua_<xxx>_restrictions in main.cf (where
# "<xxx>" is "client", "helo", "sender", "relay", or "recipient").
# Instead of specifying complex smtpd_<xxx>_restrictions here,
It took too long to realize that these mua_<xxx>_restrictions are not
builtin names but macro names, invented as required. This ability to
create macros in main.cf should be documented. At the start of the
http://www.postfix.org/postconf.5.html man page is a section on file
syntax. That would seem an appropriate place to document this
functionality.
agree.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Quantum mechanics: The dreams stuff is made of.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org