The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
Проблемы с приемом почты в Postfix-е., !*! Ageron, 25-Сен-09, 10:34  [смотреть все]
ОС: Debian Lenny. Настраиваю mail-сервер Postfix. Использую следующую связку: Postfix+Saslauthd+Saslbd2+Cyrus, но столкнулся со следующей проблемой.
Исходящая почта уходит без проблем, а входящая принимать не хочет. При этом приходит ошибка: "The error that the other server returned was: 554 554 5.7.1 <info@nts-center.ru>: Relay access denied (state 14)."

в логах пишется следующее:
Sep 25 10:16:57 serv-host postfix/smtpd[20290]: connect from mail-ew0-f211.google.com[209.85.219.211]

Sep 25 10:16:58 serv-host postfix/smtpd[20290]: NOQUEUE: reject: RCPT from mail-ew0-f211.google.com[209.85.219.211]: 554 5.7.1 <info@nts-center.ru>: Relay access denied; from=<ag3r0n@gmail.com> to=<info@nts-center.ru> proto=ESMTP helo=<mail-ew0-f211.google.com>

Sep 25 10:16:58 serv-host postfix/smtpd[20290]: disconnect from mail-ew0-f211.google.com[209.85.219.211]


Вот листинг моего Main.cf
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
readme_directory = no

smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

myhostname = serv-host
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.nts-server.ru, serv-host, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_authenticated_header = yes
mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
local_recipient_maps =
smtpd_sasl_application_name = smtpd

  • Проблемы с приемом почты в Postfix-е., !*! Gleb, 11:12 , 25-Сен-09 (1)
    >ОС: Debian Lenny. Настраиваю mail-сервер Postfix. Использую следующую связку: Postfix+Saslauthd+Saslbd2+Cyrus, но столкнулся
    >со следующей проблемой.
    >Исходящая почта уходит без проблем, а входящая принимать не хочет. При этом приходит ошибка: "The error that the other server returned was: 554 554 5.7.1 <info@nts-center.ru>: Relay access denied (state 14)."

    nts-center.ru


    >[оверквотинг удален]
    >smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
    >smtpd_use_tls=yes
    >smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    >smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    >
    >myhostname = serv-host
    >alias_maps = hash:/etc/aliases
    >alias_database = hash:/etc/aliases
    >myorigin = /etc/mailname
    >mydestination = mail.nts-server.ru, serv-host, localhost.localdomain, localhost

    попробуйте в mydestination добавить nts-server.ru (без mail.)

    >[оверквотинг удален]
    >
    >smtpd_sasl_local_domain =
    >smtpd_sasl_auth_enable = yes
    >smtpd_sasl_security_options = noanonymous
    >broken_sasl_auth_clients = yes
    >smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    >smtpd_sasl_authenticated_header = yes
    >mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
    >local_recipient_maps =
    >smtpd_sasl_application_name = smtpd




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру