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 at 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 at 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, > > DougSorry, I'm forget the link to tutorial http://www.purplehat.org/?page_id=7 root at 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 at server:/usr/local/etc/dovecot # I don't have a 10-ssl.conf.simple root at 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 --- /************************************************* **Nilton Jos? Rizzo UFRRJ **http://www.rizzo.eng.br http://www.ufrrj.br **http://lattes.cnpq.br/0079460703536198 **************************************************/
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 at 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 at 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 at 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 at server:/usr/local/etc/dovecot # > > I don't have a 10-ssl.conf.simple > > root at 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.extroot at 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 at 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 **************************************************/
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 at 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 at 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 at 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 at 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