On Mon, Aug 28, 2023 at 09:01:35PM +0200, Étienne Miret via Postfix-users wrote:
> Anyway, I promised a documentation patch that would make this more > explicit, here it is! Sorry it took me a little long to do it, as I have > been busy on other issues. The documentation patch seems to suggest that there are potential futures in which the parameter also restricts non-SMTP message ingres, or even delivery after alias expansion for addresses not listed in the table. However, neither eventuality is at all likely. My take is that it would not be an unwelcome breaking change to apply the table in any context other than SMTP ingres. Therefore, if the documentation is to make to make the scope even more explicit, it should hedge the language in "For now, ...". Just say it like it is: the table is used to reject unwanted local SMTP recipients. One might, for example, reject mail to "root", "bin", "daemon", ... from outside, but allow local cron jobs to notify appropriate mailboxes (typically aliased), which means filtering out some accounts: main.cf: local_recipient_maps = pipemap:{ pcre:{{/^"(.*)"(?:@[^@"\\]+)?$$/ $$1}, {/^(.*?)(?:@[^@"\\]+)?$$/ $$1}}, pcre:{{/^(?:root|bin|daemon)$$/ :}, {/(.*)/ $$1}}, unionmap:{proxy:unix:passwd.byname $alias_maps} } -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org