Код: Выделить всё
broken_sasl_auth_clients = yes
smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unauth_destination,
reject_invalid_hostname,
reject_unauth_pipelining,
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sender_login_maps = hash:/usr/local/etc/postfix/sender_logins_maps
smtp_generic_maps = hash:/usr/local/etc/postfix/generic_map
А не выдовать сообщения об ошибки.
Вроде с ограничениями я не перестарался все стандартно.
Почтовый домен локального сервера domain.ru
Отправка в инет не происходит когда domain.ru локального сервака - совпадает с @domain.ru удаленного.
Получается что локальны сервак ищет этого пользователя у себя (естественно не находит) и дает отбой550 Невозможно добавить получателя
