On Wed, May 08, 2019 at 12:13:01PM +0200, Sebastian Reichel wrote: > On Wed, May 08, 2019 at 03:09:36PM +0900, Mark Brown wrote: > > I'd have to send all mail out via kernel.org to do that, or persuade a > > MTA to route mail differently based on contents which seems interesting > > - I inject most of my mail via /usr/sbin/sendmail rather than SMTP > > (including a bunch of scripts). > I have a locally installed postfix in sender dependent relay > configuration, which does that for me: > http://www.postfix.org/SOHO_README.html#client_sasl_sender I'm using exim on the central relay box which is much more painful to configure than postfix sadly (one of these days I'll get round to converting to Postfix since I prefer it and already use it on my client boxes but the DKIM stuff is painful enough and there's enough stuff using the box that it'll require me to actually sit down properly to do something as substantial as cutting over MTAs). It's also not clear to me that Postfix can be configured based on From rather than envelope sender, I have used the configuration options you're pointing at for envelope senders before but at least at that time Postfix didn't support setting envelope sender via /usr/sbin/sendmail.