При отправке почты с помощью почтовой программы на внешний email выдает <5.7.1 user@domain.com relay access denied>. Отправка на локальные ящики проходит успешно. Отправка из веб-интерфейса также проходит успешно дяже на внешние ящики.
cat /etc/postfix/main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version<br/>
<br/>
# Debian specific: Specifying a file name will cause the first<br/>
# line of that file to be used as the name. The Debian default<br/>
# is /etc/mailname.<br/>
#myorigin = /etc/mailname<br/>
<br/>
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)<br/>
biff = no<br/>
<br/>
# appending .domain is the MUA's job.<br/>
append_dot_mydomain = no<br/>
<br/>
# Uncomment the next line to generate "delayed mail" warnings<br/>
#delay_warning_time = 4h<br/>
<br/>
readme_directory = no<br/>
virtual_alias_maps = hash:/etc/postfix/virtual<br/>
sender_bcc_maps = hash:/etc/postfix/bcc<br/>
mailbox_command = <br/>
home_mailbox = Maildir/<br/>
smtpd_sasl_auth_enable = yes<br/>
smtpd_sasl_security_options = noanonymous<br/>
broken_sasl_auth_clients = yes<br/>
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination<br/>
mydestination = server, localhost.localdomain, , localhost<br/>
mailbox_size_limit = 0<br/>
myorigin = $mydomain<br/>
relayhost = <br/>
mynetworks = 127.0.0.0/8 83.52.232.16/28<br/>
recipient_delimiter = +<br/>
inet_interfaces = all<br/>
inet_protocols = ipv4