Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

postfix sender-specified routing

Status
Not open for further replies.

paublo

ISP
Sep 14, 2006
127
US
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 ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top