On 2016-08-15 12:22 PM, Wietse Venema wrote:
The solution is to require that the hosted domains provide the correct
envelope sender address. With submissions that use the Postfix sendmail
command, that's done with the "-f" command-line option.
I'm struggling with this concept.
I tried it on the command line, and it does work. But it looks super
hacky to add that (essentially manually) wherever mail is sent.
Surely, there's some way to override it in postfix...? We're talking
about all kinds of software and different mailers (custom PHP, zabbix,
nagios, etc, etc, etc). It just seems to make a lot more sense to set it
at the edge of what I control.
Thanks!
--Pat