Добрый вечер.
есть такая схема:
на 30.2 установлена убунта-сервер и постфикс.
на 0.2 - установлен SBS 2011.
вот конфиг постфикса:
из внешней почты я могу получать письма. А вот если писать из внутренней почты получаю ошибку:
Aug 18 16:45:06 mail postfix/smtp[1067]: 163B140686: to=<user@mail.ru>, relay=192.168.30.200[192.168.30.200]:25, delay=5.2, delays=0.13/0.03/0.01/5.1, dsn=5.7.1,
status=bounced (host 192.168.30.200[192.168.30.200] said: 550 5.7.1 Unable to relay (in reply to RCPT TO command))
сутки парюсь, не могу понять почему нельзя? вроде в конфиге разрешил (выделено жирным)?
Спасибо.
есть такая схема:
на 30.2 установлена убунта-сервер и постфикс.
на 0.2 - установлен SBS 2011.
вот конфиг постфикса:
Цитата |
---|
root@mail:/etc/postfix# cat main.cf # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname #soft_bounce = yes smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = no # TLS parameters smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt smtpd_tls_key_file = /etc/ssl/private/smtpd.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 # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. myhostname = mail.testdomain.ru alias_maps = hash:/etc/aliases mydomain = testdomain.ru alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = relayhost = 192.168.30.200 relay_transport = smtp:192.168.30.200 relay_domains = testdomain.ru relay_recipient_maps = hash:/etc/postfix/relay_recipients mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128, 192.168.30.200/32 #virtual_transport = hash:/etc/postfix/transport virtual_alias_maps = hash:/etc/postfix/virtual transport_maps = hash:/etc/postfix/transport local_recipient_maps = 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_sasl_authenticated,permit_mynetworks,reject_unauth_destination smtpd_tls_auth_only = no smtp_use_tls = yes smtp_tls_note_starttls_offer = yes smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom |
из внешней почты я могу получать письма. А вот если писать из внутренней почты получаю ошибку:
Aug 18 16:45:06 mail postfix/smtp[1067]: 163B140686: to=<user@mail.ru>, relay=192.168.30.200[192.168.30.200]:25, delay=5.2, delays=0.13/0.03/0.01/5.1, dsn=5.7.1,
status=bounced (host 192.168.30.200[192.168.30.200] said: 550 5.7.1 Unable to relay (in reply to RCPT TO command))
сутки парюсь, не могу понять почему нельзя? вроде в конфиге разрешил (выделено жирным)?
Спасибо.
Изменено: Алекс М - 18.08.2011 22:11:49