M. Rodrigo Monteiro wrote: > On Tue, Nov 4, 2008 at 17:06, Nikita Kipriyanov <[EMAIL PROTECTED]> wrote: > >> http://www.postfix.org/RESTRICTION_CLASS_README.html#internal >> >> You have to add forward3 into protected_destinations file, and user9 into >> insiders file. >> > > My main.cf : > > smtpd_recipient_restrictions = > permit_mynetworks, > check_recipient_access hash:/etc/postfix/protected_destinations, > permit_sasl_authenticated, > reject_non_fqdn_recipient, > reject_unknown_recipient_domain, > reject_unauth_pipelining, > reject_multi_recipient_bounce, > reject_unauth_destination, > permit >
Notice you put permit_mynetworks first. This wins over the check_recipient_access if any client is within mynetworks.. Also, recommend putting reject_unauth_destination right below permit_sasl_authenticated to save DNS checks for relay mail you'll reject anyway. > smtpd_client_restrictions = > permit_mynetworks, > permit > Better to delete this as it does nothing because the default is permit. (Reduces confusion.) Brian