У меня при отправке почты с телефона - режется почта настройками постфикса. В логах: Oct 25 15:48:23 ххх postfix/smtpd[11185]: 40C5C4209: reject: RCPT from unknown[217.118.81.53]: 554 Service unavailable; Client host [217.118.81.53] blocked using zen.spamhaus.org; http://www.spamhaus.org/query/bl?ip=217.118.81.53; from=<nick@xxx.ru> to=<nick@xxx.ru> proto=ESMTP helo=<[10.209.112.80]>
В конфиге main.cf прописано:
message_size_limit = 51200000
inet_interfaces = 127.0.0.1, 192.168.28.150, 83.234.xxx.xxx
smtpd_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
maximal_queue_lifetime = 1d
myorigin = xxx.ru
strict_rfc821_envelopes = no
disable_dns_lookups = no
maps_rbl_reject_code = 554
smtpd_helo_required = yes
smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination,
reject_non_fqdn_recipient,
reject_unauth_pipelining
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_unauth_destination,
reject_unknown_recipient_domain,
reject_rbl_client zen.spamhaus.org,
permit
smtpd_data_restrictions =
reject_unauth_pipelining,
permit
smtpd_sender_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_invalid_hostname,
reject_non_fqdn_hostname,
permit
header_checks = regexp:/etc/postfix/header_checks
smtpd_timeout = 180s
Если заремить строчку reject_rbl_client zen.spamhaus.org, - то все отправляется. Как бы мне сказать своему постфиксу, что если прошел аутентификацию, то не проверять на спам ч/з zen.spamhaus.org ? считал, что строчка:
smtpd_recipient_restrictions = permit_sasl_authenticated
решает эту задачу. оказалось нет. Подскаажите, как настроить его для отправки со всяких билайнов/мтс и пр...