On Wed, Feb 11, 2026 at 04:01:53PM +0100, Michael Grimm via Postfix-users wrote:
> > 1. Either remove from virtual_mailbox_domains, or equally good approach
> > add access rules to prevent misuse.
>
> removed
As a final tweak, you should probably also reject attempts to use that
internal name as an envelope sender domain. This does require a couple
of access(5) entries.
main.cf:
indexed = ${default_database_type}:${config_directory}/
smtpd_sender_restrictions =
check_sender_access ${indexed}sender_access
sender_access:
dom.example reject
.dom.example reject
# cd $(postconf -xh config_directory)
# postmap sender_access
--
Viktor. 🇺🇦 Слава Україні!
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]