ฉันดิ้นรนกับข้อผิดพลาดด้านบนนานกว่า 5 ชั่วโมง ฉันพยายามลบ Postfix อย่างสมบูรณ์และฉันทำตามคำแนะนำของคู่มือถัดไปและคู่มือ SASLเพื่อติดตั้งใหม่
เมื่อฉันพยายามเข้าสู่ระบบด้วย telnet เซิร์ฟเวอร์บล็อกการเข้าสู่ระบบและฉันได้รับสิ่งนี้: (ด้วย smtpd -v สำหรับ verbose เพิ่มเติม):
postfix / smtpd [26301]: xsasl_cyrus_server_create: บริการ SASL = smtp, realm = (null) postfix / smtpd [26301]: name_mask: ไม่มีชื่อ postfix / smtpd [26301]: คำเตือน: xsasl_cyrus_server_get_mechanism_list: ไม่มีกลไก SASL ที่เกี่ยวข้อง postfix / smtpd [26301]: ร้ายแรง: ไม่มีกลไกการพิสูจน์ตัวตนแบบ SASL
นี่คือผลลัพธ์ของpostconf -n:
alias_database = hash: / etc / aliases
alias_maps = hash: / etc / aliases
allow_percent_hack = ไม่
append_dot_mydomain = ไม่
biff = ไม่
broken_sasl_auth_clients = ใช่
config_directory = / etc / postfix
home_mailbox = Maildir /
inet_interfaces = ทั้งหมด
mailbox_command = / usr / bin / procmail-wrapper -o -a $ DOMAIN -d $ LOGNAME
mailbox_size_limit = 0
mydestination = theflipapp.com, localhost.com,, localhost
myhostname = theflipapp.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0 เหมือนกัน 104] :: :: 1] / 128
myorigin = / etc / mailname
readme_directory = no
ผู้รับ = +
รีเลย์โฮส =
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 = อนุญาต _mynetworks อนุญาต_sasl_authenticatedปฏิเสธ _unauth_destination
smtpd_sasl_auth_enable = ใช่
smtpd_sasl_security_options = ไม่มีชื่อ
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 = ใช่
virtual_alias_maps = hash: / etc / postfix / virtual
config postfix master:
root @ domain: / # cat /etc/postfix/master.cf | grep ^ smtp smtp inet n - - - - smtpd -v -o smtpd_sasl_auth_enable = ใช่ smtp unix - - - - - - smtp
หวังว่าข้อมูลนี้จะช่วยคุณ ..