postfix allow one domain recipient
i have this problem:
with my postfix i want that all client that connect to postfix, all mail can be send to a only domain, example: gmail.com
in main.cf file i have add this rule:
smtpd_recipient_restrictions = permit_mynetworks, hash:/etc/postfix/send_recipient_restriction, reject
and in the send_recipient_restriction file:
/gmail\.com$/ OK ## replaced the domain with original one ##
with postmap i have generated db file and restart postfix, but this rule is not applicable. where I wrong?