Backup method mail encrypted with mail_crypt Per user

2019-07-12 Thread mail--- via dovecot
Hi, What would be a good backup method for mail stored encrypted with mail_crypt per user(folder). As the administrator does not have the key (the user has) i'm thinking: - the user must backup his/her email via the mail client, but as an admin you want to be able to restore mail when needed o

Re: Confused about dovecot ACL

2019-07-12 Thread Aki Tuomi via dovecot
On 11.7.2019 20.43, HTMLServices.it via dovecot wrote: > Hello everyone > > sorry i'm not very experienced and also my english > > I installed a centos 7 server with ispconfig postfix dovecot 2.2.36 > and roundcube, this server is only a mail archive, so my need is that > ALL the mailboxes are rea

Re: Backup method mail encrypted with mail_crypt Per user

2019-07-12 Thread Aki Tuomi via dovecot
On 11.7.2019 18.18, m...@sjemm.net wrote: > Hi, > > What would be a good backup method for mail stored encrypted with mail_crypt > per user(folder). > As the administrator does not have the key (the user has) > > i'm thinking: > > - the user must backup his/her email via the mail client, but as an

dovecot 2.3.6 on FreeBSD 12.0-RELEASE inside a JAIL does not see dovecot/replication-notify-fifo

2019-07-12 Thread Lars Schotte via dovecot
Hi, I see dovecot[47939]: imap(gus...@gustik.eu)<48079>: Error: open(/var/run/dovecot/replication-notify-fifo) failed: No such file or directory even though, right after: Jul 12 13:54:41 madarka dovecot[47939]: aggregator: Error: Client sent invalid input when I send echo 1 > /var/run/dovecot

Dovecot release v2.3.7

2019-07-12 Thread Aki Tuomi via dovecot
Hi! We are pleased to release Dovecot release v2.3.7. Tarball is available at https://dovecot.org/releases/2.3/dovecot-2.3.7.tar.gz https://dovecot.org/releases/2.3/dovecot-2.3.7.tar.gz.sig Binary packages are available at https://repo.dovecot.org/ Changes --- * fts-solr: Removed break-im

Pigeonhole release v0.5.7

2019-07-12 Thread Aki Tuomi via dovecot
Hi! We are pleased to release Pigeonhole release v0.5.7. Tarball is available at https://pigeonhole.dovecot.org/releases/2.3/dovecot-2.3-pigeonhole-0.5.7.tar.gz https://pigeonhole.dovecot.org/releases/2.3/dovecot-2.3-pigeonhole-0.5.7.tar.gz.sig Binary packages are available at https://repo.dove

Re: Applying Dovecot for a large / deep folder-hierarchy archive - BUG REPORTS!

2019-07-12 Thread Adam D. Barratt via dovecot
On Wed, 2019-07-10 at 12:26 +0100, Arnold Opio Oree wrote: > Understood Adam, > > My thinking is that this is a package released with Debian 10. And so > has everything to do with the release. For clarity here - debian-release is neither a support forum nor a discussion list, nor a means of repor

Re: Getting login stats

2019-07-12 Thread Jean-Daniel Dupas via dovecot
> Le 11 juil. 2019 à 15:33, Michael Slusarz via dovecot a > écrit : > >> I'm trying to get some IMAP auth stats on a Dovecot 2.3.6 instance, but >> whatever I declare in metric, it always show 0. > > None of these auth_* requests exist in 2.3.6. Thank. So maybe the wiki should be updated a

[bug] success field never emited in auth_request_finished event

2019-07-12 Thread Jean-Daniel Dupas via dovecot
Hi, I'm playing with the new events, and encounter some issues: First the 'auth_request_finished' event is documented as having a 'successful' field, but in the code, the field is defined as 'success' (e->add_str("success", "yes")). But more important, in the function "auth_request_success_con

Re: [bug] success field never emited in auth_request_finished event

2019-07-12 Thread Jean-Daniel Dupas via dovecot
An other issue is that when 'request->passdb_success' is FALSE, the request fails but the error field is not set (as it is only set when request->failure is TRUE), which make it hard to create metrics for failed login attempts. We have (assuming success were working as expected): - success = yes

Re: [bug] success field never emited in auth_request_finished event

2019-07-12 Thread Aki Tuomi via dovecot
Would you like to try with 2.3.7? It was released today. Aki On 12/07/2019 17:05 Jean-Daniel Dupas via dovecot < dovecot@dovecot.org> wrote: An other issue is that when 'request->passdb_success' is FALSE, the req

Re: [bug] success field never emited in auth_request_finished event

2019-07-12 Thread Jean-Daniel Dupas via dovecot
Sorry, I forgot to mention this is with the freshly released 2.3.7 > Le 12 juil. 2019 à 16:43, Aki Tuomi via dovecot a écrit > : > > Would you like to try with 2.3.7? It was released today. > > Aki >> On 12/07/2019 17:05 Jean-Daniel Dupas via dovecot < dovecot@dovecot.org >>

new dovecot, selinux Problem ?

2019-07-12 Thread Günther J . Niederwimmer via dovecot
Hello List, after the last update I have a selinux "Problem" with dovecot. My system is a centos 7. After a new start from dovecot selinux block a connection. Jul 12 16:24:24 mx01 systemd: Starting Dovecot IMAP/POP3 email server... Jul 12 16:24:54 mx01 systemd: Started Dovecot IMAP/POP3 email ser

Re: Dovecot release v2.3.7

2019-07-12 Thread Michael Grimm via dovecot
Aki Tuomi via dovecot wrote: > We are pleased to release Dovecot release v2.3.7. My upgrade from 2.3.6 to 2.3.7 broke replication (FreeBSD 12.0-STABLE r349799): | dovecot[76032]: master: Dovecot v2.3.7 (494d20bdc) starting up for imap, lmtp, sieve | dovecot[76035]: replicator: Error: file_ost

Re: Pigeonhole release v0.5.7

2019-07-12 Thread Reio Remma via dovecot
On 12.07.2019 15:29, Aki Tuomi via dovecot wrote: Hi! We are pleased to release Pigeonhole release v0.5.7. Tarball is available at https://pigeonhole.dovecot.org/releases/2.3/dovecot-2.3-pigeonhole-0.5.7.tar.gz https://pigeonhole.dovecot.org/releases/2.3/dovecot-2.3-pigeonhole-0.5.7.tar.gz.sig

Re: Dovecot release v2.3.7

2019-07-12 Thread Timo Sirainen via dovecot
On 12 Jul 2019, at 21.05, Michael Grimm via dovecot wrote: > > Aki Tuomi via dovecot wrote: > >> We are pleased to release Dovecot release v2.3.7. > > My upgrade from 2.3.6 to 2.3.7 broke replication (FreeBSD 12.0-STABLE > r349799): > > | dovecot[76032]: master: Dovecot v2.3.7 (494d20bdc) st

2.3.7/FreeBSD: Seeing lots of stats-writer errors.

2019-07-12 Thread Larry Rosenman via dovecot
A user reported this to me, and I'm seeing it too: Hi all :) After mail/dovecot upgrade to v2.3.7 it seems something went wrong with stat-writer... IMAP and POP3 logs: Jul 12 19:45:34 mail dovecot: imap-login: Error: file_ostream.net_set_tcp_nodelay((conn:unix:/var/run/dovecot/stats-writer), TR

Re: Pigeonhole release v0.5.7

2019-07-12 Thread Timo Sirainen via dovecot
On 12 Jul 2019, at 21.09, Reio Remma via dovecot wrote: > >> - dsync: dsync-replication does not synchronize Sieve scripts. > > Sieve replication still doesn't work for me. dsync now replicated sieve and > sieve/tmp directories, but neither actual sieve files nor @.dovecot.sieve > link. What

Re: 2.3.7/FreeBSD: Seeing lots of stats-writer errors.

2019-07-12 Thread Timo Sirainen via dovecot
On 12 Jul 2019, at 22.10, Larry Rosenman via dovecot wrote: > > A user reported this to me, and I'm seeing it too: > Hi all :) > > After mail/dovecot upgrade to v2.3.7 it seems something went wrong with > stat-writer... > > IMAP and POP3 logs: > > Jul 12 19:45:34 mail dovecot: imap-login: Er

Re: Pigeonhole release v0.5.7

2019-07-12 Thread Reio Remma via dovecot
On 12.07.2019 22:15, Timo Sirainen via dovecot wrote: On 12 Jul 2019, at 21.09, Reio Remma via dovecot > wrote: - dsync: dsync-replication does not synchronize Sieve scripts. Sieve replication still doesn't work for me. dsync now replicated sieve and sieve/tmp dir

Re: Pigeonhole release v0.5.7

2019-07-12 Thread Reio Remma via dovecot
On 12.07.2019 22:41, Reio Remma via dovecot wrote: On 12.07.2019 22:15, Timo Sirainen via dovecot wrote: On 12 Jul 2019, at 21.09, Reio Remma via dovecot > wrote: - dsync: dsync-replication does not synchronize Sieve scripts. Sieve replication still doesn't work f

Re: Dovecot release v2.3.7

2019-07-12 Thread Michael Grimm via dovecot
Timo Sirainen via dovecot wrote: > > On 12 Jul 2019, at 21.05, Michael Grimm via dovecot > wrote: >> My upgrade from 2.3.6 to 2.3.7 broke replication (FreeBSD 12.0-STABLE >> r349799): > > I don't think these cause any actual breakage? It doesn't break completely, but it leaves replication s

Re: Dovecot release v2.3.7

2019-07-12 Thread Michael Grimm via dovecot
Michael Grimm via dovecot wrote: > > Timo Sirainen via dovecot wrote: >> This likely fixes it anyway: >> >> diff --git a/src/lib/ostream-file.c b/src/lib/ostream-file.c > I do not compile from source, I'm using FreeBSD's ports. Thus I tried to put > this patch at the desired location to beco

Pigeonhole-0.5.7 fails to build from sources

2019-07-12 Thread Lefteris Tsintjelis via dovecot
Latest update fails to build from sources in FreeBSD 12-STABLE --- lda-sieve-plugin.lo --- lda-sieve-plugin.c:82:27: error: variable has incomplete type 'struct smtp_submit_input' struct smtp_submit_input submit_input; ^ lda-sieve-plugin.c:82:9: note: fo

Auto-duplicate mailstore?

2019-07-12 Thread @lbutlr via dovecot
I am looking for something that is similar to replication, but without a second server. I currently have a system setup using postfix bcc to write out copies of all email, but what I would rather do is just have all the mail written to /usr/local/virtual/%u/Maildir and also to /backup/usr/local/

Re: Auto-duplicate mailstore?

2019-07-12 Thread @lbutlr via dovecot
On 12 Jul 2019, at 16:15, @lbutlr via dovecot wrote: > I am looking for something that is similar to replication, but without a > second server. I currently have a system setup using postfix bcc to write out > copies of all email, but what I would rather do is just have all the mail > written t

Re: Pigeonhole-0.5.7 fails to build from sources

2019-07-12 Thread Lefteris Tsintjelis via dovecot
Solution is to uninstall the port and then build. If dovecot is already installed it will not build. On 13/7/2019 0:08, Lefteris Tsintjelis via dovecot wrote: Latest update fails to build from sources in FreeBSD 12-STABLE --- lda-sieve-plugin.lo --- lda-sieve-plugin.c:82:27: error: variable ha

Error: file_ostream.net_set_tcp_nodelay

2019-07-12 Thread Lefteris Tsintjelis via dovecot
After upgrading to 2.3.7_1 I get those errors every now and then. Running FreeBSD 12-RELEASE. Any idea what they may be? Jul 13 08:07:11 pop3-login: Error: file_ostream.net_set_tcp_nodelay(, FALSE) failed: Connection reset by peer Jul 13 08:19:10 imap-login: Error: file_ostream.net_set_tcp_node