Здравствуйте!
не могу поладить sasl.
выдает ошибку
fatal: no SASL authentication mechanismsmain.cf
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = noappend_dot_mydomain = no
readme_directory = nosmtpd_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_scachemyhostname = debian.test.ru
myorigin = $myhostname
mydestination = localhostmailbox_size_limit = 16252928000
recipient_delimiter = +
inet_interfaces = all
virtual_mailbox_domains = mysql:/etc/postfix/sql/virtual-mailbox-domains.cfvirtual_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 = yessmtpd_sender_restriction = permit_mynetworks,
check_sender_access mysql:/etc/postfix/mysql-sender.cf,
reject_unknown_sender_domain,
reject_unverified_sender,
rejectsmtpd_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, permitmynetworks = 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 = 150compatibility_level = 2
и в dovecot \ 10-master.conf
auth_mechanisms = plain cram-md5
unix_listener /var/spool/postfix/private/auth {
mode = 0660
user = postfix
group = postfix}
}
Sendmail, postfix и другие почтовые серверы (не все, конечно) имеют в своем составе только реализацию SASL клиента. Для использования SASL нужно иметь внешний сервис SASL (SASL сервер).
Проверьте, что вы установили все нужные пакеты и сервис SASL запущен.
Ну, и есть google в помощь как обычно.
Успехов.
>[оверквотинг удален]
> 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
> }
> }постфикс по дефолту ищет cyrus-sasl, а не doveot.
вы точно постфиксу объяснили, что ходить надо к довекоту???
Для начала проверьте собран ли postfix с поддержкой аутентификации в dovecot.
Что скажет postconf -a.