Здравствуйте!
не могу поладить sasl.
выдает ошибку
fatal: no SASL authentication mechanismsmain.cf
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
readme_directory = no
smtpd_tls_key_file = /etc/ssl/private/server.key
smtpd_tls_cert_file = /etc/ssl/certs/server.pem
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = debian.test.ru
myorigin = $myhostname
mydestination = localhost
mailbox_size_limit = 16252928000
recipient_delimiter = +
inet_interfaces = all
virtual_mailbox_domains = mysql:/etc/postfix/sql/virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/sql/virtual-mailbox-maps.cf
virtual_alias_maps = mysql:/etc/postfix/sql/virtual-alias-maps.cf
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_sender_restriction = permit_mynetworks,
check_sender_access mysql:/etc/postfix/mysql-sender.cf,
reject_unknown_sender_domain,
reject_unverified_sender,
reject
smtpd_client_restriction = permit_mynetworks,
reject
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unauth_pipelining,
reject_invalid_hostname,
check_policy_service inet:127.0.0.1:10023,
check_sender_access hash:/etc/postfix/sender_access,
check_helo_access hash:/etc/postfix/helo_access,
permit
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_unknown_hostname,
permit
smtpd_delay_reject = yes
smtpd_data_restrictions = reject_unauth_pipelining, reject_multi_recipient_bounce, permit
mynetworks = 127.0.0.0/8 172.16.0.0/22 172.17.0.0/22 192.168.4.0/24 192.168.5.0/24 192.168.6.0/24 192.168.7.0/24 192.168.8.0/24 192.168.9.0/24
message_size_limit = 31457280
recieve_override_options = no_address_mappingsaddress_verify_sender
address_verify_sender =$double_bounce_sender
default_process_limit = 150
compatibility_level = 2
и в dovecot \ 10-master.conf
auth_mechanisms = plain cram-md5
unix_listener /var/spool/postfix/private/auth {
mode = 0660
user = postfix
group = postfix
}
}