Viktor Dukhovni via Postfix-users: > On Fri, Nov 17, 2023 at 07:19:31PM +0100, Steffen Nurpmeso via Postfix-users > wrote: > > > Remarks: many MTA installations and sites disallow setting an > > explicit reverse-path, but for members of dedicated user > > groups, or after MTA reconfiguration. > > > > I have no idea of how far this applies to you. (Even to postfix > > as such.) > > Postfix places no restrictions on the envelope sender address of local > submission via the Postfix sendmail(1) command-line (really the > underlying internal postdrop(1) command for which sendmail(1) is the > public interface).
There is an optional configuration setting that limits what envelope sender Postfix sendmail or postdrop will accept. But I don't think that it would make this specific use case easier. https://www.postfix.org/postconf.5.html#local_login_sender_maps local_login_sender_maps (default: static:*) A list of lookup tables that are searched by the UNIX login name, and that return a list of allowed envelope sender patterns separated by space or comma. [...] The default is backwards-compatible: every user may specify any sender envelope address. ... This feature is available in Postfix 3.6 and later. There is more text that goes into the details, plus an example. Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org