On 11/10/2025 04:33, Jonas Pasche via Postfix-users wrote:
I would try:master.cf: smtpd [...] -o virtual_mailbox_domains=example.com,example.orgThis does not do what you think it does, because the classification of addresses into address classes happens in the trivial-rewrite service, not in smtpd(8). Best to not jump-in and reply with "I would try", if you don't actually have an answer.If anyone could enlighten me why my idea doesn't work as intended, and if there would be a way to make it work with just the two services and without having to run two separate Postfix instances, that would truly make my day.
At the risk of being shot down in exactly the same way as above, maybe you could experiment with adding "-o content_filter <http://www.postfix.org/postconf.5.html#content_filter>=smtp:[/hostname/]" to your submission service in master.cf?
Nick.
_______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
