Re: HTTP DoveAdm API - Possible bug?

2018-09-18 Thread Aki Tuomi
Yeah. This is a bug, there is a fix pending. >From bb200128c83610d213b2ff2e59f1e0440ecbd2c9 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Tue, 18 Sep 2018 20:37:38 +0300 Subject: [PATCH] doveadm: Fix doveadm user output when called from server Was forgotten in a13b1245bee0b6524b4aeb3c8fd9e34af6

Re: Problem getting quota-warning script to function.

2018-09-18 Thread Aki Tuomi
Hi! Can you provide dovecot version? Also output of mail_debug=yes logs would be useful Aki On 19.09.2018 00:19, Ted wrote: > Hello, > > I'm trying to implement quota enforcement in our mailservers, and it is > all working properly except that the quota warnings are not firing when > the quota l

Re: Dovecot User Listing Error - getpwent() failed: Invalid Argument

2018-09-18 Thread Aki Tuomi
Which glibc version are you using? Aki On 19.09.2018 09:39, Reuben Farrelly wrote: > Hi Aki, > > How did you go with this in the end?  Do you need anything more from > me or were you able to reproduce this? > > Thanks, > Reuben > > On 1/09/2018 12:41 am, Reuben Farrelly wrote: >> Sure: >> >> http

Re: Dovecot User Listing Error - getpwent() failed: Invalid Argument

2018-09-18 Thread Reuben Farrelly
Hi Aki, How did you go with this in the end? Do you need anything more from me or were you able to reproduce this? Thanks, Reuben On 1/09/2018 12:41 am, Reuben Farrelly wrote: Sure: https://www.reub.net/files/dovecot/lightning-dovecot.conf https://www.reub.net/files/dovecot/thunderstorm-do

Re: Duplicate mails on pop3 expunge with dsync replication on 2.2.35 (2.2.33.2 works)

2018-09-18 Thread Jan Münnich
Hi, Has anyone any idea how to solve or further debug this issue? It seems indeed that it was introduced in 2.2.34 and is still there in 2.3.2.1. I found a couple of posts for this on the mailing list and elsewhere, but no solution: When a message is retrieved and immediately expunged, it ge

Problem getting quota-warning script to function.

2018-09-18 Thread Ted
Hello, I'm trying to implement quota enforcement in our mailservers, and it is all working properly except that the quota warnings are not firing when the quota levels are passed.  the server stops accepting email when the quota is reached, and you can see tyhe quota usage through the email client

Possible architecture ?

2018-09-18 Thread Alexandre Ellert
Hi, I'd like to achieve the following setup whit dovecot using multiple servers : - one server dedicated to all client IMAP (TLS) connections (i map.mymaindomain.com, see below ) - each backend server has it's own local storage. no replication - each backend server respon

Re: dovecot (2.2.13) panic on imap-login from iphone se

2018-09-18 Thread Aki Tuomi
You could try checking with gdb what the values are that are passed in the failing assert, maybe it provides clues.  ---Aki TuomiDovecot oy Original message From: "Andre Hoepner - i.based: Systemhaus GmbH + Co. KG" Date: 18/09/2018 19:57 (GMT+02:00) To: dovecot@dovecot.org Su

Re: dovecot (2.2.13) panic on imap-login from iphone se

2018-09-18 Thread Andre Hoepner - i.based: Systemhaus GmbH + Co. KG
here is our config: (doveconf -n) # 2.2.13: /etc/dovecot/dovecot.conf # OS: Linux 3.6.11-gentoo x86_64 Gentoo Base System release 2.2 auth_cache_size = 10 M auth_mechanisms = plain login default_client_limit = 1024 default_process_limit = 256 hostname = HOSTNAME imap_client_workarounds = delay-new

Re: dovecot (2.2.13) panic on imap-login from iphone se

2018-09-18 Thread Aki Tuomi
Please keep replies on list. Can you provide doveconf -n and output of doveadm user victim ? ---Aki TuomiDovecot oy Original message From: "Andre Hoepner - i.based: Systemhaus GmbH + Co. KG" Date: 18/09/2018 19:13 (GMT+02:00) To: Aki Tuomi Subject: Re: dovecot (2.2.13) panic

Re: dovecot (2.2.13) panic on imap-login from iphone se

2018-09-18 Thread Aki Tuomi
Can you upgrade to 2.2.36 or 2.3.2.1 and reproduce this issue? 2.2.13 is quite old. ---Aki TuomiDovecot oy Original message From: "Andre Hoepner - i.based: Systemhaus GmbH + Co. KG" Date: 18/09/2018 16:17 (GMT+02:00) To: dovecot@dovecot.org Subject: dovecot (2.2.13) panic o

Regression ACL & namespace prefix

2018-09-18 Thread Michal Hlavinka
Hi tl;dr: Seems that for Global ACL directory, namespace prefix is not part of the path, when looking for acl file. Long version: We're planning to update dovecot in next os update to 2.2.36 and while going through regression testing, we found a problem with ACL configuration combined with

HTTP DoveAdm API - Possible bug?

2018-09-18 Thread Chris Malton
Hi all, It seems that setting userMask in the doveadm http api's "user" command to anything involving wildcards ?s or *s causes the API to fail. When using the API with a userMask set to the fully qualified email address, I get the expected fields back. From a python shell, with an asterisk

dovecot (2.2.13) panic on imap-login from iphone se

2018-09-18 Thread Andre Hoepner - i.based: Systemhaus GmbH + Co. KG
Hi to all, we have trouble with one user account, when using imap-login with iphone se. The user can login and use the account from webmail (roundcube) and from thunderbird without any errors and without any restrictions. But if we use the account on an iphone se and try to use imap based email

Re: Auth process sometimes stop responding after upgrade

2018-09-18 Thread Simone Lazzaris
In data martedì 18 settembre 2018 14:25:25 CEST, Aki Tuomi ha scritto: > Can you provide 'bt full' > Sure: (gdb) bt full #0 0xb76e4428 in __kernel_vsyscall () No symbol table info available. #1 0xb74636c1 in raise () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 No symbol table info available.

Re: Auth process sometimes stop responding after upgrade

2018-09-18 Thread Aki Tuomi
Can you provide 'bt full' Aki On 18.09.2018 15:15, Simone Lazzaris wrote: > > In data martedì 18 settembre 2018 14:07:26 CEST, Aki Tuomi ha scritto: > > > If you are using systemd, create > > > /etc/systemd/system/dovecot.service.d/limits.conf and put > > > [Service]LimitCORE=infinity > > > > >

Re: Auth process sometimes stop responding after upgrade

2018-09-18 Thread Simone Lazzaris
In data martedì 18 settembre 2018 14:07:26 CEST, Aki Tuomi ha scritto: > If you are using systemd, create > /etc/systemd/system/dovecot.service.d/limits.conf and put > [Service]LimitCORE=infinity > > and run > systemctl daemon-reloadsystemctl restart dovecot Nope, I'm on a debian 7, without syst

Re: Auth process sometimes stop responding after upgrade

2018-09-18 Thread Aki Tuomi
If you are using systemd, create /etc/systemd/system/dovecot.service.d/limits.conf and put [Service]LimitCORE=infinity and run  systemctl daemon-reloadsystemctl restart dovecot ---Aki TuomiDovecot oy Original message From: Simone Lazzaris Date: 18/09/2018 15:01 (GMT+02:00) To

Re: Auth process sometimes stop responding after upgrade

2018-09-18 Thread Simone Lazzaris
Alas, I've set fs.suid_dumpable to 2 but the core is not dumped. So far I've checked: - ulimit -c unlimited, done - /proc/sys/kernel/core_pattern is set to /var/tmp/core.%p - /var/tmp is chmod 1777 - daemon is not chrooted - sysctl -w fs.suid_dumpable=2 - dir /var/tmp is empty and filesystem has

Re: Auth process sometimes stop responding after upgrade

2018-09-18 Thread Timo Sirainen
On 18 Sep 2018, at 13.29, Simone Lazzaris wrote: > > > Hi all, again; > > > > I've enabled the core dumps and let it go for some day waiting for the issue > > to reoccur. > > > > Meantime I've also upgraded the poolmon script, as Sami suggested. > > > > It seems that the upgrade has scared the is

Re: Auth process sometimes stop responding after upgrade

2018-09-18 Thread Simone Lazzaris
> Hi all, again; > > I've enabled the core dumps and let it go for some day waiting for the issue > to reoccur. > > Meantime I've also upgraded the poolmon script, as Sami suggested. > > It seems that the upgrade has scared the issue away, because it no longer > occurred. > > Maybe the problem

Re: Using both starttls and ssl in passdb on proxy results in timeouts

2018-09-18 Thread Aki Tuomi
The problem is that due to how it was done some ages ago, the passdb result items are treated so that presence means "use it". If you return 'proxy' it means same as 'proxy=y' or 'proxy=yes'. We are considering on changing this so that it would actually require a k=v type of syntax, but it's going

Re: Using both starttls and ssl in passdb on proxy results in timeouts

2018-09-18 Thread Filias Heidt
I tried some more things, such as setting starttls=NULL or ssl=NULL, which does the same as setting it to „no“. Interestingly, if I set ssl=NULL and don’t set starttls at all, it still tries an SSL connection to the backend. Is there no way to use starttls or ssl depending on a variable? It cou

Re: Auth process sometimes stop responding after upgrade

2018-09-18 Thread Simone Lazzaris
In data martedì 11 settembre 2018 10:46:30 CEST, Timo Sirainen ha scritto: > On 11 Sep 2018, at 10.57, Simone Lazzaris wrote: > > Sep 11 03:25:55 imap-front4 dovecot: director: Panic: file > > doveadm-connection.c: line 1097 (doveadm_connection_deinit): assertion > > failed: (conn->to_ring_sync_ab

Re: Auth process sometimes stop responding after upgrade

2018-09-18 Thread Simone Lazzaris
In data martedì 11 settembre 2018 10:46:30 CEST, Timo Sirainen ha scritto: > On 11 Sep 2018, at 10.57, Simone Lazzaris wrote: > > Sep 11 03:25:55 imap-front4 dovecot: director: Panic: file > > doveadm-connection.c: line 1097 (doveadm_connection_deinit): assertion > > failed: (conn->to_ring_sync_ab