Em Sat, 18 Mar 2017 16:24:25 +0100, Christian Kivalo escreveu
Am 18. März 2017 18:55:58 MEZ schrieb Nilton Jose Rizzo <rizzo@i805.com.br>:
On 2017-03-18 07:19, Nilton Jose Rizzo wrote:
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
Em Sat, 18 Mar 2017 11:36:34 +0100, Christian Kivalo escreveu 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 # Please post the output of doveconf -n
ssl = yes (or ssl=yes) is correct so should work. We need to know more about your running dovecot configuration.
Btw: is dovecot running? Can you log in? From localhost and/or from a remote host? Over a secure connection?
-- Christian Kivalo
root@server:/usr/local/etc/dovecot/conf.d # dovecot -n
doveconf -n
# 2.2.28 (bed8434): /usr/local/etc/dovecot/dovecot.conf # Pigeonhole version 0.4.17 (e179378) doveconf: Fatal: Error in configuration file /usr/local/etc/dovecot/conf.d/10-ssl.conf line 7: Unknown setting: ssl doveconf: Error: managesieve-login: dump-capability process returned 89 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/conf.d #
-- Christian Kivalo
The same result, look
root@server:/usr/local/etc/dovecot/conf.d # dovecot -n # 2.2.28 (bed8434): /usr/local/etc/dovecot/dovecot.conf # Pigeonhole version 0.4.17 (e179378) doveconf: Fatal: Error in configuration file /usr/local/etc/dovecot/conf.d/10-ssl.conf line 7: Unknown setting: ssl doveconf: Error: managesieve-login: dump-capability process returned 89 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/conf.d # doveconf -n # 2.2.28 (bed8434): /usr/local/etc/dovecot/dovecot.conf # Pigeonhole version 0.4.17 (e179378) doveconf: Fatal: Error in configuration file /usr/local/etc/dovecot/conf.d/10-ssl.conf line 7: Unknown setting: ssl doveconf: Error: managesieve-login: dump-capability process returned 89 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/conf.d #
/************************************************* **Nilton José Rizzo UFRRJ **http://www.rizzo.eng.br http://www.ufrrj.br **http://lattes.cnpq.br/0079460703536198 **************************************************/