Hi, I installed a Postfix mail server in a Linux LXC container.
I want this mail server to relay mails for specific domains only and all the mails are relayed to another mail server ($relayhost configured in main.cf).
I found that there is no $sendmail_relay_restrictions configuration like what $smtpd_relay_restrictions does, so the $relay_domains is useless for sendmail.
And there is no filter available for sendmail either (https://www.postfix.org/FILTER_README.html).
How to reject the unwanted destination domains when users use the sendmail command ?
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org