Настроен postfix 2.3.8-2 со следующей цепочкой правил:strict_rfc821_envelopes = yes
smtpd_client_restrictions = permit_mynetworks,
check_client_access hash:/etc/postfix/access,
check_client_access hash:/etc/postfix/spamersip,
check_client_access pcre:/etc/postfix/client_checks.pcre,
reject_rbl_client zen.spamhaus.org,
reject_rhsbl_client combined.njabl.org,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client combined.njabl.org,
reject_rbl_client dul.ru,
reject_rbl_client dnsbl.sorbs.net,
reject_rbl_client list.dsbl.org,
reject_rbl_client bhnc.njabl.org,
reject_rbl_client dnsbl.njabl.ru,
reject_rbl_client work.drbl.caravan.ru,
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,
check_client_access hash:/etc/postfix/access,
check_helo_access regexp:/etc/postfix/access_smtpd,
check_helo_access pcre:/etc/postfix/helo_checks.pcre,
reject_non_fqdn_hostname,
reject_unknown_hostname,
reject_invalid_hostname
smtpd_recipient_limit = 25
smtpd_sender_restrictions = permit_mynetworks,
check_sender_access hash:/etc/postfix/sender_access,
check_client_access hash:/etc/postfix/access,
reject_unknown_sender_domain,
reject_rhsbl_sender dsn.rfc-ignorant.org
smtpd_recipient_restrictions = permit_mynetworks,
check_client_access hash:/etc/postfix/access,
check_recipient_access hash:/etc/postfix/recipient_access,
reject_unauth_pipelining,
reject_unauth_destination,
reject_non_fqdn_recipient
smtpd_etrn_restrictions = permit_mynetworks,
check_client_access hash:/etc/postfix/access,
check_sender_access hash:/etc/postfix/access
sender_bcc_maps = hash:/etc/postfix/sender_bcc
При попытке отправить письмо через наш postfix от не известного отправителя - Reject,что логично.
Если прописать отправителя в /etc/postfix/access, то он может слать письма куда угодно включая permit_mynetworks. Подскажите как ограничить отправку писем только в permit_mynetworks в этом случае