URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 58738
[ Назад ]

Исходное сообщение
"Postfix & Relay access denied"

Отправлено Sergey , 30-Июл-05 16:40 
Всем привет! Помогите, пожалуйста, разобраться со следующей проблемой:
Первый раз настраивал postfix на RH9. C отправкой писем все замечательно, а при приеме письма получаю в логах:

Jul 30 11:11:57 mail postfix/smtpd[2292]: NOQUEUE: reject: RCPT from f24.mail.ru[194.67.57.160]: 554 <test@mydom.ru>: Relay access denied; from=<somebody@mail.ru> to=<test@mydom.ru> proto=ESMTP helo=<f24.mail.ru>

main.cf:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
default_privs = nobody
myhostname = mail.mydom.ru
mydomain = mydom.ru
inet_interfaces = all
mydestination = $myhostname
mynetworks_style = host
mynetworks = 10.0.0.0/8
relay_domains = $mydestination
alias_maps = hash:/etc/postfix/aliases
mail_spool_directory = /var/spool/mail
smtpd_banner = $myhostname ESMTP $mail_name
debug_peer_level = 2
debugger_command =
     PATH=/usr/bin:/usr/X11R6/bin
     xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-1.1.11/samples
readme_directory = /usr/share/doc/postfix-1.1.11/README_FILES
alias_database = hash:/etc/postfix/aliases
disable_vrfy_command = yes
disable_dns_lookups = no
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_sender_restrictions = permit_sasl_authenticated
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
unknown_local_recipient_reject_code = 450
mailbox_size_limit = 0
html_directory = no

в master.cf:
smtp    inet    n    n    n    -    -    smtpd

Что можете посоветовать?


Содержание

Сообщения в этом обсуждении
"Postfix & Relay access denied"
Отправлено Settler , 30-Июл-05 19:04 
в mydestination добавь и доменное имя тоже, а не только имя хоста