doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 86: No matches

dovecot 证书生成 (2012-10-13 01:12:41)
转载
标签:

杂谈

 

启动dovecot报错

2012-04-12 11:19:22|分类: 服务器|字号订阅

[root@wlt sbin]# ./dovecot
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 86: No matches
[root@wlt ~]# cd /opt/dovecot/share/doc/dovecot/example-config/
[root@wlt example-config]# cp -a conf.d/ /etc/dovecot/
[root@wlt sbin]# ./dovecot
doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 12: ssl_cert: Can't open file /etc/ssl/certs/dovecot.pem: No such file or directory
进入源码包:
[root@wlt ~]# cd /opt/software/dovecot-2.0.20/doc
[root@wlt doc]# mkdir /etc/ssl/certs -p
[root@wlt doc]# mkdir /etc/ssl/private -p
[root@wlt doc]# sh mkcert.sh
Generating a 1024 bit RSA private key
.................................++++++
........++++++
writing new private key to '/etc/ssl/private/dovecot.pem'
-----

subject= /OU=IMAP server/CN=imap.example.com/[email protected]
SHA1 Fingerprint=AF:CE:BC:66:02:7D:65:08:A3:B5:C4:5B:5D:90:E3:7F:85:E8:4D:AB
[root@wlt sbin]# ./dovecot
[root@wlt sbin]#

http://blog.sina.com.cn/s/blog_4f9e8fa70101akvp.html

你可能感兴趣的:(doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 86: No matches)