То, что добавил с стандартный конфиг /usr/local/etc/postfix/mail.cf
Код: Выделить всё
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual
virtual_alias_domains = realbitches.ru, bigtits.ru
# SASL suppot
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_helo_required = yes
disable_vrfy_command = yes
smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_unknown_recipient_domain,
reject_unauth_destination,
reject_rbl_client bl.spamcop.net
# tls config
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_cert_file = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_CAfile = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
Код: Выделить всё
postfix/master[58460]: daemon started -- version 2.5.5, configuration /usr/local/etc/postfix
postfix/smtpd[58466]: warning: SASL: Connect to smtpd failed: No such file or directory
postfix/smtpd[58466]: fatal: no SASL authentication mechanisms
postfix/master[58460]: warning: process /usr/local/libexec/postfix/smtpd pid 58466 exit status 1
postfix/master[58460]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling
ps axu | grep saslauthd
Код: Выделить всё
root 58695 0.0 0.5 2876 1340 ?? Is 12:20AM 0:00.01 /usr/local/sbin/saslauthd -a pam
root 58696 0.0 0.5 2876 1336 ?? I 12:20AM 0:00.00 /usr/local/sbin/saslauthd -a pam
root 58697 0.0 0.5 2876 1336 ?? I 12:20AM 0:00.00 /usr/local/sbin/saslauthd -a pam
root 58698 0.0 0.5 2876 1336 ?? I 12:20AM 0:00.00 /usr/local/sbin/saslauthd -a pam
root 58699 0.0 0.5 2876 1336 ?? I 12:20AM 0:00.00 /usr/local/sbin/saslauthd -a pam
Код: Выделить всё
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
Код: Выделить всё
cyrus-sasl-2.1.22_1 RFC 2222 SASL (Simple Authentication and Security Layer)
cyrus-sasl-saslauthd-2.1.22
postfix-2.5.5,1
Код: Выделить всё
postfix_enable="YES"
saslauthd_enable="YES"
saslauthd_flags="-a pam"
Настраивал такую же конфигурацию месяца 2 назад, все работает до сих пор.
Кто в курсе что сделатть то ?