Re: Permission denied when logrotating dovecot.log

2017-03-18 Thread Christian Kivalo
Am 19. März 2017 07:21:20 MEZ schrieb Michael Heuberger : >Well, I'd rather to have dovecot log alone in one log file. Let dovecot log to syslog and set syslog_facility = local5 and configure your syslog daemon to write log data for that facility to a separate file. No need to mess with permi

Re: Permission denied when logrotating dovecot.log

2017-03-18 Thread Michael Heuberger
Well, I'd rather to have dovecot log alone in one log file. My initial question is that user/group and file permissions to use?? On 19/03/17 15:40, Richard wrote: > >> Date: Sunday, March 19, 2017 15:28:35 +1300 >> From: Michael Heuberger >> >> On 19/03/17 15:12, Richard wrote: Date: Sunda

Re: Permission denied when logrotating dovecot.log

2017-03-18 Thread Richard
> Date: Sunday, March 19, 2017 15:28:35 +1300 > From: Michael Heuberger > > On 19/03/17 15:12, Richard wrote: >> >>> Date: Sunday, March 19, 2017 14:56:01 +1300 >>> From: Michael Heuberger >>> >>> On 19/03/17 13:43, Richard wrote: > Date: Sunday, March 19, 2017 13:32:57 +1300 > From:

Re: Permission denied when logrotating dovecot.log

2017-03-18 Thread Michael Heuberger
Well, I tried the same but it didn't work. Setting my dovecot.log to 600 with root:root is breaking my mail system. I am then unable to receive and open emails. Had to apply an ugly hack /var/log/dovecot*.log { su syslog syslog create 666 syslog syslog rotate 10 .

Re: Permission denied when logrotating dovecot.log

2017-03-18 Thread Richard
> Date: Sunday, March 19, 2017 14:56:01 +1300 > From: Michael Heuberger > > On 19/03/17 13:43, Richard wrote: >> >>> Date: Sunday, March 19, 2017 13:32:57 +1300 >>> From: Michael Heuberger >>> >>> Hello guys >>> >>> Having headaches here how to make logrotation for dovecot log >>> files work

Re: Permission denied when logrotating dovecot.log

2017-03-18 Thread Michael Heuberger
Thank you. And what user/group/file perms does your dovecot.log file have? - Michael On 19/03/17 13:43, Richard wrote: > >> Date: Sunday, March 19, 2017 13:32:57 +1300 >> From: Michael Heuberger >> >> Hello guys >> >> Having headaches here how to make logrotation for dovecot log files >> work.

Re: Permission denied when logrotating dovecot.log

2017-03-18 Thread Richard
> Date: Sunday, March 19, 2017 13:32:57 +1300 > From: Michael Heuberger > > Hello guys > > Having headaches here how to make logrotation for dovecot log files > work. Having permission issues: > > michael.heuberger@xxx /e/l/daily ❯❯❯ sudo logrotate -fv > dovecot.daily > ⏎ > reading config fil

Permission denied when logrotating dovecot.log

2017-03-18 Thread Michael Heuberger
Hello guys Having headaches here how to make logrotation for dovecot log files work. Having permission issues: michael.heuberger@xxx /e/l/daily ❯❯❯ sudo logrotate -fv dovecot.daily

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 dur

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

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 escre

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: > >>

replication issues between to nodes

2017-03-18 Thread Remko Lodder
Hi, Some time ago I posted the below but never got a reponse that I could work with. So i am retrying now in the hope that there might be a better idea/suggestion on how to approach this. Situation; I have two nodes, which should replicate to eachother. My main machine receives most mail and

Re: Dovecot can't connect to openldap over starttls

2017-03-18 Thread info
The serverlog of openldap with loglevel "any": https://gwarband.de/openldap/openldap-connect.log Note: openldap waits 1 Minute before he says "TLS negotiation failure" after the connect. and dovecot says direct "Connect error" I've also delete the TLSCipherSuite from openldap. Tobias Am 2017-

Re: Dovecot can't connect to openldap over starttls

2017-03-18 Thread Tomas Habarta
Increase log level on server side as well to see what the server says... You may remove anything in TLSCipherSuite for the purpose of testing too. Hopefully anyone knowing OpenLDAP internals could help you analyse it more deeply. Tomas On 03/18/2017 01:31 PM, i...@gwarband.de wrote: > I've repli

Re: Dovecot can't connect to openldap over starttls

2017-03-18 Thread info
I've replicate the settings from ldapsearch to dovecot but no success. To the certificate: Yes it's a *.crt file but I have linked the *.pem file to it and dovecot has read access to that file. I have enabled the debugging in dovecot and have uploaded the output: https://gwarband.de/openldap/do

Re: Dovecot can't connect to openldap over starttls

2017-03-18 Thread Tomas Habarta
Well, if ldapsearch works, try to replicate its settings for dovecot client. It's not obvious what settings ldapsearch uses, have a look at default client settings in /etc/openldap/ldap.conf, there may be something set a slightly different way. Also double check permissions for files used by doveco

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 g

Re: Dovecot can't connect to openldap over starttls

2017-03-18 Thread info
Hello, I have also installed LE certs. But nothing helps, I have double-checking all certs. ldapsearch with -ZZ works see: https://gwarband.de/openldap/ldapsearch.log I have also uploaded the TLSCACertificateFile, maybe I have a failure in the merge of the two fiels: https://gwarband.de/ope