've a postfix server act as smtp out; i've allowed certain networks in mynetworks; my domain example.com; my problem is from the allowed networks one can send mails (e.g m...@gmail.com to someb...@yahoo.com); it should not have accepted mails other than one of the sender/receiver belong to example.com (its own domain) what could be wrong in the config? following is my config:
smtpd_recipient_restrictions = reject_non_fqdn_recipient reject_non_fqdn_sender reject_unknown_sender_domain reject_unknown_recipient_domain --> permit_mynetworks --> reject_unauth_destination check_recipient_access hash:/etc/postfix/roleaccount_exceptions reject_non_fqdn_hostname reject_invalid_hostname check_helo_access pcre:/etc/postfix/helo_checks reject_rhsbl_sender dsn.rfc-ignorant.org permit help appreciated