Você vai querer adicionar reject_unlisted_sender
ao seu smtpd_sender_restrictions
.
Sem um pouco de planejamento, isso também rejeitará o e-mail de [email protected], então tenha isso em mente.
smtpd_reject_unlisted_sender
Request that the Postfix SMTP server rejects mail from unknown sender addresses. This can slow down an explosion of forged mail from worms or viruses.An address is always considered "known" when it matches a virtual(5) alias or a canonical(5) mapping.
The sender domain matches $mydestination, $inet_interfaces or $proxy_interfaces, but the sender is not listed in $local_recipient_maps, and $local_recipient_maps is not null.
- The sender domain matches $virtual_alias_domains but the sender is not listed in $virtual_alias_maps.
- The sender domain matches $virtual_mailbox_domains but the sender is not listed in $virtual_mailbox_maps, and $virtual_mailbox_maps is not null.
The sender domain matches $relay_domains but the sender is not listed in $relay_recipient_maps, and $relay_recipient_maps is not null.
This feature is available in Postfix 2.1 and later.