Добрый день! Прошу помочь. Настроил почтовый сервер, но вот беда с удаленных рабочих мест не отправляется почта (Client host reject: cannot find your hostname) - ответил thunderbird. Логи: Jul 31 06:54:34 PostMan postfix/smtpd[4129]: connect from unknown[80.234.42.71] Jul 31 06:54:35 PostMan postfix/smtpd[4129]: NOQUEUE: reject: RCPT from unknown[80.234.42.71]: 450 4.7.1 Client host rejected: cannot find your hostname, [80.234.42.71]; from=<testuser@fcvep.ru> to=<testuser@fcvep.ru proto=ESMTP helo=<[127.0.0.1]> Хотя я принял сертификат и авторизовался на сервере. Вот конфиг: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix inet_interfaces = all mailbox_command = /usr/lib/dovecot/deliver mailbox_size_limit = 40960000 message_size_limit = 40960000 mydestination = FCVEP.RU, Post.FCVEP.RU myhostname = Post.FCVEP.RU mynetworks = 127.0.0.0/8 myorigin = /etc/mailname readme_directory = no recipient_delimiter = + relayhost = smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) smtpd_client_restrictions = permit_mynetworks, hash:/etc/postfix/client_access, reject_rbl_client list.dsbl.org, reject_rbl_client bl.spamcop.net, reject_rbl_client cbl.abuseat.org, reject_rbl_client psbl.surriel.com, reject_rbl_client spamsources.fabel.dk, reject_rbl_client opm.blitzed.org, reject_rbl_client combined.njabl.org, reject_rbl_client dul.ru, reject_rbl_client dialup.balcklist.jippg.org, reject_rbl_client relays.mail-abuse.org, reject_rbl_client dnsbl.sorbs.net, reject_unknown_client, permit smtpd_delay_reject = yes smtpd_helo_required = yes smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, check_helo_access hash:/etc/postfix/helo_access, reject_non_fqdn_hostname, reject_unknown_hostname, reject_invalid_hostname, permit smtpd_recipient_restrictions = reject_unauth_pipelining, reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_sender_access hash:/etc/postfix/restricted_senders, permit проверяем, а не является (по признакам ДНС-имен) ли smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination, permit smtpd_sasl_auth_enable = yes smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/whitelist, permit_sasl_authenticated, permit_mynetworks, reject_non_fqdn_sender, reject_unknown_sender_domain, permit smtpd_tls_cert_file = /etc/ssl/certs/dovecot.pem smtpd_tls_key_file = /etc/ssl/private/dovecot.pem smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtpd_use_tls = yes postconf: warning: /etc/postfix/main.cf: unused parameter: log_level=3
|