Re: dovecot problem with ssl

2017-03-19 Thread Doug Barton
This sounds like a problem with the FreeBSD port. You should take up the 
conversation on freebsd-po...@freebsd.org.


Good luck,

Doug


On 03/19/2017 03:13 PM, Nilton Jose Rizzo wrote:


  I'm solve my problem, but not have a idea how or why this
solve.

   I recompliled the dovecot without support  to Postgres
ans SQLite3 and LDAP.  I was configure Mysql support only
and all work fine.  Some one have any idea Why it's work?

   TIA

---
/*
**Nilton José RizzoUFRRJ
**http://www.rizzo.eng.br  http://www.ufrrj.br
**http://lattes.cnpq.br/0079460703536198
**/



Re: dovecot problem with ssl

2017-03-19 Thread Nilton Jose Rizzo

  I'm solve my problem, but not have a idea how or why this
solve.

   I recompliled the dovecot without support  to Postgres
ans SQLite3 and LDAP.  I was configure Mysql support only
and all work fine.  Some one have any idea Why it's work?

   TIA

---
/*
**Nilton José RizzoUFRRJ
**http://www.rizzo.eng.br  http://www.ufrrj.br
**http://lattes.cnpq.br/0079460703536198
**/


Re: dovecot problem with ssl

2017-03-18 Thread Andrew Beverley
On Fri, 17 Mar 2017 05:21:15 -0300 "Nilton Jose Rizzo"
 wrote:
> doveconf: Fatal: Error in configuration file
> /usr/local/etc/dovecot/conf.d/10-ssl.conf line 7: Unknown setting: ssl

How did you install Dovecot? It sounds like it's been compiled without
SSL support. Maybe missing SSL libraries during build?

Andy


Re: dovecot problem with ssl

2017-03-18 Thread Nilton Jose Rizzo
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 :
> >Em Sat, 18 Mar 2017 11:36:34 +0100, Christian Kivalo escreveu
> >> 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
> >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. 
> >> >> #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é RizzoUFRRJ
**http://www.rizzo.eng.br  http://www.ufrrj.br
**http://lattes.cnpq.br/0079460703536198
**/


Re: dovecot problem with ssl

2017-03-18 Thread Christian Kivalo


Am 18. März 2017 18:55:58 MEZ schrieb Nilton Jose Rizzo :
>Em Sat, 18 Mar 2017 11:36:34 +0100, Christian Kivalo escreveu
>> 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
>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. 
>> >> #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


Re: dovecot problem with ssl

2017-03-18 Thread Nilton Jose Rizzo
Em Sat, 18 Mar 2017 11:36:34 +0100, Christian Kivalo escreveu
> 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 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. 
> >> #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
# 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é RizzoUFRRJ
**http://www.rizzo.eng.br  http://www.ufrrj.br
**http://lattes.cnpq.br/0079460703536198
**/


Re: dovecot problem with ssl

2017-03-18 Thread Christian Kivalo



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 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. 
#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


Re: dovecot problem with ssl

2017-03-17 Thread Nilton Jose Rizzo
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. 
> #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.conf90-plugin.conf
> 10-director.conf90-quota.conf
> 10-logging.conf auth-checkpassword.conf.ext
> 10-mail.confauth-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.confauth-sql.conf.ext
> 20-lmtp.confauth-static.conf.ext
> 20-pop3.confauth-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é RizzoUFRRJ
**http://www.rizzo.eng.br  http://www.ufrrj.br
**http://lattes.cnpq.br/0079460703536198
**/


Re: dovecot problem with ssl

2017-03-17 Thread Nilton Jose Rizzo
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. 
#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.conf90-plugin.conf
10-director.conf90-quota.conf
10-logging.conf auth-checkpassword.conf.ext
10-mail.confauth-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.confauth-sql.conf.ext
20-lmtp.confauth-static.conf.ext
20-pop3.confauth-system.conf.ext
90-acl.conf auth-vpopmail.conf.ext 


---
/*
**Nilton José RizzoUFRRJ
**http://www.rizzo.eng.br  http://www.ufrrj.br
**http://lattes.cnpq.br/0079460703536198
**/


Re: dovecot problem with ssl

2017-03-17 Thread Doug Barton

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


Re: dovecot problem with ssl

2017-03-16 Thread Christian Kivalo


Hi
>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 # 
What is there at line 7 in to your  /usr/local/etc/dovecot/conf.d/10-ssl.conf ?

-- 
Christian Kivalo