Прошу ногами не бить, почтовый сервер настраиваю первый раз. Вот какая проблема: цепляюсь телнетом к серверу из внешки, и спокойно отправляю письмо пользователям на сервере от их же имени без авторизации. Подскажите в какую cторону глядеть.
myorigin = smtp.domain1.ru
smtpd_banner = ESMTP $mail_name
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_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth-client
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_sasl_authenticated, reject_invalid_hostname, permit
smtpd_sender_restrictions = permit_sasl_authenticated, reject_unknown_sender_domain, permit
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, permit
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.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
disable_vrfy_command = yes
myhostname = smtp.domain1.ru
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_mailbox_domains = domain1.ru domain1.su
virtual_mailbox_base = /var/mail/virtual/
virtual_mailbox_maps = mysql:/etc/postfix/virtual_mailbox_maps.cf
virtual_alias_maps = mysql:/etc/postfix/virtual_alias_maps.cf
virtual_uid_maps = static:1001
virtual_gid_maps = static:1001
recipient_bcc_maps = mysql:/etc/postfix/recipient_bcc.cf
sender_bcc_maps = mysql:/etc/postfix/sender_bcc.cf