Ошибка при отправке письма из локальной сети (снаружи думаю тоже самое). Сколько гуглил - причин может быть тысячи, первый раз поднимаю, не могу никак понять в чем причина может быть.
# cat /etc/postfix/main.cf | grep -v ^#
myhostname = mailf.xxx.ru
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
readme_directory = /usr/share/doc/postfix
smtpd_tls_cert_file = /etc/ssl/certs/mailf.xxx.ru.crt
smtpd_tls_key_file = /etc/ssl/private/mailf.xxx.ru.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
config_dir = /etc/postfix/config
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, localhost, localhost.$mydomain, $myhostname.$mydomain
relayhost =
mynetworks = 127.0.0.0/8 192.168.0.0/16
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:$config_dir/mysql-virtual_forwardings.cf, mysql:$config_dir/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:$config_dir/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:$config_dir/mysql-virtual_mailboxes.cf
smtpd_sender_login_maps = mysql:$config_dir/mysql-virtual_email2email.cf
virtual_mailbox_base = /var/mail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_helo_required = yes
smtp_always_send_ehlo = yes
disable_vrfy_command = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
transport_maps = proxy:mysql:$config_dir/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:$config_dir/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
# cat /etc/postfix/sasl/smtpd.conf | grep -v ^#
pwcheck_method: saslauthd
mech_list: plain login
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: 127.0.0.1
sql_user: xxx
sql_passwd: xxx
sql_database: xxx
sql_select: select password from users where email = '%u'
sql_verbose: true