Tôi đang vật lộn với lỗi trên hơn 5 giờ. Tôi đã cố gắng loại bỏ hoàn toàn Postfix và tôi đã làm theo hướng dẫn của hướng dẫn tiếp theo và hướng dẫn sử dụng SASL để cài đặt lại nó.
Khi tôi đang cố gắng đăng nhập bằng telnet, máy chủ sẽ chặn đăng nhập và tôi nhận được điều này: (với smtpd -v để biết thêm chi tiết):
postfix / smtpd [26301]: xsasl_cyrus_server_create: dịch vụ SASL = smtp, realm = (null) postfix / smtpd [26301]: name_mask: noanonymous postfix / smtpd [26301]: cảnh báo: xsasl_cyrus_server_get_mechanism_list: không có cơ chế SASL áp dụng postfix / smtpd [26301]: gây tử vong: không có cơ chế xác thực SASL
đây là kết quả của postconf -n:
alias_database = hàm băm: / etc / bí danh
alias_maps = hash: / etc / bí danh
allow_percent_hack = không
append_dot_mydomain = không
biff = không
broken_sasl_auth_clents = có
config_directory = / etc / postfix
home_mailbox = Maildir /
inet_interfaces = tất cả
hộp thư_command = / usr / bin / procmail-Wrapper -o -a $ DOMAIN -d $ LOGNAME
hộp thư_size_limit = 0
mydestination = theflipapp.com, localhost.com ,, localhost
myhostname = theflipapp.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0THER/104 [:: 1] / 128
myorigin = / etc / tên thư
readme_directory = không
receive_d Friiter = +
chuyển tiếp =
sender_bcc_maps = hash: / etc / postfix / bcc
smtp_tls_session_cache_database = btree: $ {data_directory} / smtp_scache
smtpd_banner = $ myhostname ESMTP $ mail_name (Debian / GNU)
smtpd_recipient_restrictions = allow_mynetworks allow_sasl_authenticated từ chối_unauth_destination
smtpd_sasl_auth_enable = có
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree: $ {data_directory} / smtpd_scache
smtpd_use_tls = có
virtual_alias_maps = hash: / etc / postfix / virtual
cấu hình chính postfix:
tên miền gốc: / # cat /etc/postfix/master.cf | g ^ ^ smtp smtp inet n - - - - smtpd -v -o smtpd_sasl_auth_enable = có smtp unix - - - - - smtp
Hy vọng dữ liệu này sẽ giúp bạn giúp tôi ..