Ah I see, no problem.
I will try something with a policy daemon or an outgoing milter. Thank you for the clarification. On Mon, 6 Mar 2023 08:44:11 -0500 (EST) Wietse Venema <wie...@porcupine.org> wrote: > mailm...@ionos.gr: > > > > Hello everyone, > > > > My current postfix configuration allows an authenticated (SASL) user to > > send emails with any From: address. > > > > 1) Is there a way to limit From: addresses to known/configured > > (virtual_mailbox_domains) domains only? > > Postfix does not limit rfc822.from addresses (i.e. headders). You > will need a content filter for that. > > Wietse