hi im trying to stop trusted clients from sending sender-specified routing such as test@test.com@relayhost.com.
i have the following
smtpd_recipient_restrictions = permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unknown_recipient_doma
in, check_recipient_access regexp:/etc/postfix/recipient_regexp, permit_mynetworks, reject_unauth_destination
and in /etc/postfix/recipient_regexp
[%!@].*[%!@]/ 550 Sender-specified routing rejected
so far when i test this it doesnt seem to work.
should this be all i need ?
i have the following
smtpd_recipient_restrictions = permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unknown_recipient_doma
in, check_recipient_access regexp:/etc/postfix/recipient_regexp, permit_mynetworks, reject_unauth_destination
and in /etc/postfix/recipient_regexp
[%!@].*[%!@]/ 550 Sender-specified routing rejected
so far when i test this it doesnt seem to work.
should this be all i need ?