Em Fri, 17 Mar 2017 22:35:40 -0300, Nilton Jose Rizzo escreveu
Em Thu, 16 Mar 2017 23:06:08 -0700, Doug Barton escreveu
On 03/17/2017 01:21 AM, Nilton Jose Rizzo wrote:
Hi all,
I already searched for this error on google and nothing I never install dovecot, this is a first time. This error, I know, is too newbie and stupid, but I
checked more than twice.
root@server:/usr/local/etc/dovecot # sievec /home3/virtual/default.sieve doveconf: Fatal: Error in configuration file /usr/local/etc/dovecot/conf.d/10-ssl.conf line 7: Unknown setting: ssl root@server:/usr/local/etc/dovecot #
I'm running a FreeBSD 12-current
As someone else pointed out, that 7: means the error is on line 7 of the file.
Go into dovecot's conf.d folder (in /usr/local/etc/) and do this:
diff -u 10-ssl.conf.sample 10-ssl.conf
If that doesn't clearly indicate the problem to you, post the results to the list.
hope this helps,
Doug
Sorry, I'm forget the link to tutorial
http://www.purplehat.org/?page_id=7
root@server:/usr/local/etc/dovecot # head 10 conf.d/10-ssl.conf head: 10: No such file or directory ==> conf.d/10-ssl.conf <== ## ## SSL settings ##
# SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt> #ssl = yes ssl=yes
# PEM encoded X.509 SSL/TLS certificate and private key. They're opened before # dropping root privileges, so keep the key file unreadable by anyone but root@server:/usr/local/etc/dovecot #
I don't have a 10-ssl.conf.simple
root@server:/usr/local/etc/dovecot/conf.d # ls 10-auth.conf 90-plugin.conf 10-director.conf 90-quota.conf 10-logging.conf auth-checkpassword.conf.ext 10-mail.conf auth-deny.conf.ext 10-master.conf auth-dict.conf.ext 10-ssl.conf auth-ldap.conf.ext 15-lda.conf auth-master.conf.ext 15-mailboxes.conf auth-passwdfile.conf.ext 20-imap.conf auth-sql.conf.ext 20-lmtp.conf auth-static.conf.ext 20-pop3.conf auth-system.conf.ext 90-acl.conf auth-vpopmail.conf.ext
root@server:/usr/ports/mail/dovecot2/work/dovecot-2.2.28 # ./configure
Install prefix . : /usr/local File offsets ... : 64bit I/O polling .... : kqueue I/O notifys .... : kqueue SSL ............ : yes (OpenSSL) GSSAPI ......... : no passdbs ........ : static passwd passwd-file pam checkpassword dcrypt ..........: yes : -shadow -bsdauth -sia -ldap -sql -vpopmail userdbs ........ : static prefetch passwd passwd-file checkpassword nss : -ldap -sql -vpopmail SQL drivers .... : : -pgsql -mysql -sqlite -cassandra Full text search : squat : -lucene -solr root@server:/usr/ports/mail/dovecot2/work/dovecot-2.2.28 #
/************************************************* **Nilton José Rizzo UFRRJ **http://www.rizzo.eng.br http://www.ufrrj.br **http://lattes.cnpq.br/0079460703536198 **************************************************/