Я относительно знаком с Debian и пытался установить почтовый сервер с этим учебным руководством.
Теперь я прошел все комментарии, предоставленные на веб-сайте для попытки маршрута проблема, но они, кажется, не работают. Я приехал через некоторые подобные проблемы в serverfault, но они также не работают. Мой самый большой вызов истинно понимает отслеживание стека.
Я вижу, что много предупреждений и некоторых ошибок и наклона говорит, какова причина маршрута. Самая сложная задача - то, что это - мой первый раз, имея дело с чем-либо почта related/smtp.
Первая ошибка, которую я разрешил, была этим
Fatal: Error reading configuration: Invalid settings: postmaster_address setting not given
путем добавления "postmaster_address = postmaster@example.com"
в файл /etc/dovecot/conf.d/15-lda.conf
.
Примечание:
На основе многочисленных сообщений варьируется файл, в который эта строка добавляется к.
Теперь здесь прибывает длинное отслеживание стека, которое я не могу понять
Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28713]: warning: cannot get RSA certificate from file /etc/ssl/certs/dovecot.pem: disabling TLS support
Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28713]: warning: TLS library problem: 28713:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/etc/ssl/certs/dovecot.pem','r'):
Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28713]: warning: TLS library problem: 28713:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28713]: warning: TLS library problem: 28713:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:722:
Jan 9 00:27:19 xxxxxxxx postfix/submission/smtpd[28714]: warning: cannot get RSA certificate from file /etc/ssl/certs/dovecot.pem: disabling TLS support
Jan 9 00:27:19 xxxxxxxx postfix/submission/smtpd[28714]: warning: TLS library problem: 28714:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/etc/ssl/certs/dovecot.pem','r'):
Jan 9 00:27:19 xxxxxxxx postfix/submission/smtpd[28714]: warning: TLS library problem: 28714:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
Jan 9 00:27:19 xxxxxxxx postfix/submission/smtpd[28714]: warning: TLS library problem: 28714:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:722:
Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28713]: warning: hostname xxx.xxx.xx.x.hostname.com does not resolve to address xxx.xxx.xx.x: No address associated with hostname
Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28713]: connect from unknown[xxx.xxx.xx.x]
Jan 9 00:27:19 xxxxxxxx postfix/submission/smtpd[28714]: warning: hostname xxx.xxx.xx.x.hostname.com does not resolve to address xxx.xxx.xx.x: No address associated with hostname
Jan 9 00:27:19 xxxxxxxx postfix/submission/smtpd[28714]: connect from unknown[xxx.xxx.xx.x]
Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28718]: warning: cannot get RSA certificate from file /etc/ssl/certs/dovecot.pem: disabling TLS support
Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28718]: warning: TLS library problem: 28718:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/etc/ssl/certs/dovecot.pem','r'):
Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28718]: warning: TLS library problem: 28718:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28718]: warning: TLS library problem: 28718:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:722:
Jan 9 00:27:19 xxxxxxxx postfix/submission/smtpd[28719]: warning: cannot get RSA certificate from file /etc/ssl/certs/dovecot.pem: disabling TLS support
Jan 9 00:27:19 xxxxxxxx postfix/submission/smtpd[28719]: warning: TLS library problem: 28719:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/etc/ssl/certs/dovecot.pem','r'):
Jan 9 00:27:19 xxxxxxxx postfix/submission/smtpd[28719]: warning: TLS library problem: 28719:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
Jan 9 00:27:19 xxxxxxxx postfix/submission/smtpd[28719]: warning: TLS library problem: 28719:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:722:
Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28718]: warning: hostname xxx.xxx.xx.x.hostname.com does not resolve to address xxx.xxx.xx.x: No address associated with hostname
Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28718]: connect from unknown[xxx.xxx.xx.x]
Jan 9 00:27:19 xxxxxxxx postfix/submission/smtpd[28719]: warning: hostname xxx.xxx.xx.x.hostname.com does not resolve to address xxx.xxx.xx.x: No address associated with hostname
Jan 9 00:27:19 xxxxxxxx postfix/submission/smtpd[28719]: connect from unknown[xxx.xxx.xx.x]
Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28713]: improper command pipelining after EHLO from unknown[xxx.xxx.xx.x]: QUIT\r\n
Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28713]: disconnect from unknown[xxx.xxx.xx.x]
Jan 9 00:27:19 xxxxxxxx postfix/submission/smtpd[28714]: improper command pipelining after EHLO from unknown[xxx.xxx.xx.x]: QUIT\r\n
Jan 9 00:27:19 xxxxxxxx postfix/submission/smtpd[28714]: disconnect from unknown[xxx.xxx.xx.x]
Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28718]: improper command pipelining after EHLO from unknown[xxx.xxx.xx.x]: QUIT\r\n
Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28718]: disconnect from unknown[xxx.xxx.xx.x]
Jan 9 00:27:19 xxxxxxxx postfix/submission/smtpd[28719]: improper command pipelining after EHLO from unknown[xxx.xxx.xx.x]: QUIT\r\n
Jan 9 00:27:19 xxxxxxxx postfix/submission/smtpd[28719]: disconnect from unknown[xxx.xxx.xx.x]
Похоже на проблему с /etc/ssl/certs/dovecot.pem
Убедитесь, что файл существует, и Dovecot имеет разрешение на его прочтение, или отключите SSL-функцию.
На моей машине Ubuntu, dovecot.pem находится в /etc/dovecot, с корнем пользователя и группой dovecot.
. Пакет Dovecot обычно предоставляет оберточный сценарий /usr/share/doc/dovecot-<версия>/mkcert.sh
. Попробуйте сгенерировать самоподписанный сертификат