首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用Dovecot、MySQL和SpamAssasin的后缀配置

使用Dovecot、MySQL和SpamAssasin的后缀配置
EN

Server Fault用户
提问于 2015-01-09 01:22:27
回答 2查看 1.4K关注 0票数 0

我对Debian比较熟悉,一直试图用这个教程安装邮件服务器。

现在,我已经浏览了网站上提供的所有评论,试图解决问题,但它们似乎不起作用。我在服务器故障上遇到了一些类似的问题,但它们也不起作用。我最大的挑战是真实地制作堆栈跟踪的正面或反面。

我看到了很多警告和一些错误,我不知道路线的原因是什么。最大的挑战是,这是我第一次处理与邮件相关的/smtp。

我解决的第一个错误是

代码语言:javascript
复制
Fatal: Error reading configuration: Invalid settings: postmaster_address setting not given

通过将"postmaster_address = postmaster@example.com"添加到文件/etc/dovecot/conf.d/15-lda.conf

备注

基于多个帖子,将此行添加到的文件会发生变化。

现在来了我搞不懂的长长的堆栈跟踪

代码语言:javascript
复制
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]
EN

回答 2

Server Fault用户

发布于 2015-01-09 01:28:35

看起来/etc/ssl/certs/dovecot.pem存在问题,检查文件是否存在,Dovecot有读取它的权限,或者禁用SSL功能。

在我的Ubuntu机器上,dovecot.pem在/etc/dovecot中,有用户根和组dovecot。

票数 1
EN

Server Fault用户

发布于 2015-01-09 18:41:09

Dovecot包通常提供一个包装脚本/usr/share/doc/dovecot-<version>/mkcert.sh。尝试生成自签名证书。

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/658276

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档