@Ozymandis
зелень

Ошибки 451 4.3.5 Server configuration problem (postfix+dovecot+postgrey)?

Собсвтенно имеется Posftix + Dovecot + Postgrey
Проверяю почту через telnet
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 carcam.ru ESMTP
helo darling
250 carcam.ru
mail from: gh@web-site.ru
250 2.1.0 Ok
rcpt to: it2@web-site.ru
451 4.3.5 Server configuration problem


В логах
NOQUEUE: reject: RCPT from localhost.localdomain[127.0.0.1]: 451 4.3.5 Server configuration problem; from=<gh@web-site.ru> to=<it2@web-site.ru> proto=SMTP helo=<darling>

и c варнингом
Oct  4 11:56:52 web-site postfix/trivial-rewrite[13612]: warning: do not list domain web-site.ru in BOTH mydestination and virtual_alias_domains
Oct  4 11:57:11 web-site postfix/smtpd[13604]: warning: connect to 127.0.0.1:10023: Connection refused
Oct  4 11:57:11 web-site postfix/smtpd[13604]: warning: problem talking to server 127.0.0.1:10023: Connection refused


Конфиги такие
postconf -n
spoiler
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = no
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debug_peer_list = 127.0.0.1
default_privs = nobody
html_directory = no
inet_interfaces = all
inet_protocols = ipv4
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
mail_owner = postfix
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/local/man
message_size_limit = 71200000
mydestination = $myhostname,localhost.$myhostname,localhost
mydomain = localdomain
myhostname = web-site.ru
mynetworks = 123.45.67.89/32
myorigin = web-site.ru
newaliases_path = /usr/bin/newaliases.postfix
non_smtpd_milters = inet:127.0.0.1:8891
queue_directory = /var/spool/postfix
relay_domains =
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_generic_maps = hash:/etc/mail/generic
smtp_tls_CAfile = etc/postfix/postfix.pem
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP
smtpd_client_restrictions = permit_sasl_authenticated, check_client_access hash:/etc/mail/access
smtpd_milters = inet:127.0.0.1:8891
smtpd_recipient_restrictions = permit_sasl_authenticated, check_sender_access hash:/etc/mail/access, check_client_access hash:/etc/mail/access, check_recipient_access hash:/etc/mail/access, permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient, reject_unverified_recipient, reject_unknown_client, check_policy_service inet:127.0.0.1:10023
smtpd_reject_unlisted_sender = yes
smtpd_sender_restrictions = permit_sasl_authenticated, check_sender_access hash:/etc/mail/access
smtpd_tls_CAfile = etc/postfix/postfix.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = etc/postfix/postfix.pem
smtpd_tls_key_file = etc/postfix/postfix.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_use_tls = yes
soft_bounce = no
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
virtual_alias_domains = /etc/mail/local-host-names
virtual_alias_maps = hash:/etc/mail/virtusertable

  • Вопрос задан
  • 4582 просмотра
Пригласить эксперта
Ответы на вопрос 1
@Ozymandis Автор вопроса
зелень
Разобрался впринципе. вместо: check_policy_service inet:127.0.0.1:10023
поставил check_policy_service unix:postgrey/socket
В /etc/hosts:
127.0.0.1 localhost mail.web-site.ru web-stie.ru итд
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы