上記のエラーに5時間以上苦労しています。Postfixを完全に削除しようとしましたが、次のマニュアルとSASLマニュアルの指示に従って再インストールしました。
telnetでログインしようとすると、サーバーはログインをブロックし、これを取得しています:(詳細はsmtpd -vで):
postfix / smtpd [26301]:xsasl_cyrus_server_create:SASL service = smtp、realm =(null) postfix / smtpd [26301]:name_mask:noanonymous 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 = no
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = / etc / postfix
home_mailbox = Maildir /
inet_interfaces = all
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
recipient_delimiter = +
relayhost =
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 = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_sasl_auth_enable = yes
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 =はい
virtual_alias_maps = hash:/ etc / postfix / virtual
後置マスター構成:
root @ domain:/#cat /etc/postfix/master.cf | grep ^ smtp smtp inet n----smtpd -v -o smtpd_sasl_auth_enable = yes smtp unix-----smtp
このデータがあなたの助けになることを願っています。
私の場合、Ubuntu Server 16.04では、dovecotデーモンが実行されていなかったため、dovecotと入力するとうまくいきました。ただし、これは、起動時に実行されないという根本的な問題を浮き彫りにします。追加方法についてはこちらをご覧ください:help.ubuntu.com/community/UbuntuBootupHowto
—
Omar Alshaker