Здравствуйте надо разрешить почту с определенного хоста.
Есть один неподвластный мне сайти с котого должны приходить уведомления.
В логах про него следующее:
Jul 26 13:00:23 proxy postfix/smtpd[24351]: NOQUEUE: reject_warning: RCPT from xxx.xxx.net[210.61.33.31]: 450 4.7.1 <megaplan.localdomain>: Helo command rejected: Host not found; from=<megaplan@megaplan.localdomain> to=<ivc@mkst.com> proto=ESMTP helo=<megaplan.localdomain>
Jul 26 13:00:23 proxy postfix/smtpd[24233]: NOQUEUE: reject_warning: RCPT from xxx.xxx.net[210.61.33.31]: 450 4.7.1 <megaplan.localdomain>: Helo command rejected: Host not found; from=<megaplan@megaplan.localdomain> to=<ivc@mkst.com> proto=ESMTP helo=<megaplan.localdomain>
Jul 26 13:00:23 proxy postfix/smtpd[24359]: NOQUEUE: reject_warning: RCPT from xxx.xxx.net[210.61.33.31]: 450 4.7.1 <megaplan.localdomain>: Helo command rejected: Host not found; from=<megaplan@megaplan.localdomain> to=<ivc@mkst.com> proto=ESMTP helo=<megaplan.localdomain>
Jul 26 13:00:23 proxy postfix/smtpd[24360]: NOQUEUE: reject_warning: RCPT from xxx.xxx.net[210.61.33.31]: 450 4.7.1 <megaplan.localdomain>: Helo command rejected: Host not found; from=<megaplan@megaplan.localdomain> to=<ivc@mkst.com> proto=ESMTP helo=<megaplan.localdomain>
Jul 26 13:00:23 proxy postfix/smtpd[24233]: NOQUEUE: reject_warning: RCPT from xxx.xxx.net[210.61.33.31]: 450 4.1.8 <megaplan@megaplan.localdomain>: Sender address rejected: Domain not found; from=<megaplan@megaplan.localdomain> to=<ivc@mkst.com> proto=ESMTP helo=<megaplan.localdomain>
Jul 26 13:00:23 proxy postfix/smtpd[24351]: NOQUEUE: reject_warning: RCPT from xxx.xxx.net[210.61.33.31]: 450 4.1.8 <megaplan@megaplan.localdomain>: Sender address rejected: Domain not found; from=<megaplan@megaplan.localdomain> to=<ivc@mkst.com> proto=ESMTP helo=<megaplan.localdomain>
В этом куске конфига прописал
smtpd_helo_restrictions =
permit_mynetworks
check_helo_access hash:/etc/postfix/restrictions/helo_access
warn_if_reject reject_unknown_hostname
warn_if_reject reject_non_fqdn_hostname
warn_if_reject reject_invalid_hostname
smtpd_client_restrictions =
permit_mynetworks
check_client_access hash:/etc/postfix/restrictions/client_access
warn_if_reject reject_unknown_client
smtpd_sender_restrictions =
permit_mynetworks
check_sender_access hash:/etc/postfix/restrictions/sender_access
warn_if_reject reject_unknown_sender_domain
warn_if_reject reject_non_fqdn_sender
вот client_access
xxx.xxx.net OK
megaplan.localdomain OK
вот helo_access
xxx.xxx.net OK
megaplan.localdomain OK
вот sender_access
megaplan@ OK
Прописал и перезапустил но сообщения все равно в лог сыплются. Что не так не пойму?