Re: Package repository now available

2017-12-29 Thread Tom Sommer
. Awesome! When do you push the packages? Sometimes you do re-releases of the source tarballs if minor bugs are found, so I'm wondering if it would make sense to wait 1 week to release rpms? So you don't yum-autoupdate all installations with possibly faulty releases? Thanks again. -- Tom Sommer

Auth cache prevents login when non-password fields change

2018-01-23 Thread Tom Sommer
The auth cache contains all fields returned by "password_query" (in itself a little odd), including the fields "nologin" and "reason". If a user is cached with "nologin=Y" and the database-source is changed so nologin condition is no longer true, then the cache prevents login for as long as th

2.3.1: Core dump on quota reach

2018-06-12 Thread Tom Sommer
Just upgraded from 2.2.34 to 2.3.1: Jun 12 16:06:38 lmtp(exam...@example.name)<46176><8JrHEW7TH1tgtAAAd9aEAw>: Info: msgid=: save failed to INBOX: The email account that you tried to reach is over quota (Mailbox is full). Jun 12 16:06:38 lmtp(exam...@example.name)<46176><8JrHEW7TH1tgtAAAd9aE

More and better logging

2018-06-25 Thread Tom Sommer
In general I feel there is a lack of debug and "when things go wrong"-logging in Dovecot (information that should perhaps be provided with a verbose toggle). I was debugging problems with sasl user logins and a generic "SASL CRAM-MD5 authentication failed: Connection lost to authentication se

Re: v2.3.2 released

2018-06-29 Thread Tom Sommer
On 2018-06-29 14:51, Timo Sirainen wrote: v2.3.2 is mainly a bugfix release. It contains all the changes in v2.2.36, as well as a bunch of other fixes (mainly for v2.3-only bugs). Binary packages are already in https://repo.dovecot.org/ A simple "yum update" will result in a ton of these error

Re: v2.3.2 released

2018-06-29 Thread Tom Sommer
On 2018-06-29 15:20, Timo Sirainen wrote: On 29 Jun 2018, at 15.05, Tom Sommer wrote: On 2018-06-29 14:51, Timo Sirainen wrote: v2.3.2 is mainly a bugfix release. It contains all the changes in v2.2.36, as well as a bunch of other fixes (mainly for v2.3-only bugs). Binary packages are

Re: v2.3.2 released

2018-06-29 Thread Tom Sommer
On 2018-06-29 16:00, Timo Sirainen wrote: On 29 Jun 2018, at 15.28, Tom Sommer wrote: On 2018-06-29 15:20, Timo Sirainen wrote: On 29 Jun 2018, at 15.05, Tom Sommer wrote: On 2018-06-29 14:51, Timo Sirainen wrote: v2.3.2 is mainly a bugfix release. It contains all the changes in v2.2.36

2.3.2 director imap-login segfaults

2018-07-05 Thread Tom Sommer
My director has started segfaulting since upgradeing to 2.3.2: # gdb /usr/libexec/dovecot/imap-login ./core.9757 GNU gdb (GDB) Red Hat Enterprise Linux (7.2-92.el6) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later Th

Re: 2.3.2 director imap-login segfaults

2018-07-05 Thread Tom Sommer
fo available. --- Tom On 2018-07-05 15:43, Aki Tuomi wrote: > Can you install debuginfo and try again? > > --- > Aki Tuomi > Dovecot oy > > Original message > From: Tom Sommer > Date: 05/07/2018 14:12 (GMT+01:00) > To: Dovecot > Subject: 2.3.2 director

Re: 2.3.2 director imap-login segfaults

2018-07-06 Thread Tom Sommer
On 2018-07-06 10:30, Timo Sirainen wrote: On 5 Jul 2018, at 15.12, Tom Sommer wrote: My director has started segfaulting since upgradeing to 2.3.2: #0 0x7fa19b3ec6ed in i_stream_get_root_io () from /usr/lib64/dovecot/libdovecot.so.0 No symbol table info available. #1

Re: v2.3.2.1 released

2018-07-10 Thread Tom Sommer
On 2018-07-09 16:48, Timo Sirainen wrote: https://dovecot.org/releases/2.3/dovecot-2.3.2.1.tar.gz https://dovecot.org/releases/2.3/dovecot-2.3.2.1.tar.gz.sig v2.3.2 still had a few unexpected bugs: - SSL/TLS servers may have crashed during client disconnection - lmtp: With lmtp_rcpt_check_quo

Re: v2.3.2.1 released

2018-07-10 Thread Tom Sommer
On 2018-07-10 13:17, Timo Sirainen wrote: On 10 Jul 2018, at 10.40, Tom Sommer wrote: On 2018-07-09 16:48, Timo Sirainen wrote: https://dovecot.org/releases/2.3/dovecot-2.3.2.1.tar.gz https://dovecot.org/releases/2.3/dovecot-2.3.2.1.tar.gz.sig v2.3.2 still had a few unexpected bugs: - SSL

Re: [Dovecot] quota-status not working in distributed environment

2018-07-27 Thread Tom Sommer
On 2013-06-16 21:46, Timo Sirainen wrote: On 14.6.2013, at 9.15, Benoit Panizzon wrote: Is there a way to get quota-status to also use the proxy feature to request the quota information from the correct machine? Looks like this is a missing feature. I first thought quota-status would go thr

Re: Set X-Original-To based an ORCPT?

2018-08-07 Thread Tom Sommer
On 2015-09-02 22:01, Peer Heinlein wrote: Since http://dovecot.org/pipermail/dovecot-cvs/2014-November/025241.html Dovecot's LMTP does support ORCPT. Is it possible to set X-Original-To-Header based on that ORCPT? Any news or response on this? I too am in need of this header being passed an

Re: Set X-Original-To based an ORCPT?

2018-08-07 Thread Tom Sommer
On 2018-08-07 13:07, Marco Giunta wrote: Hi, to get a 'Delivered-to' header based on ORCPT, I wrote a patch (attached) to force Dovecot lmtp to advertise DSN after a LHLO command. In this way, Postfix add an ORCPT to the RCTP command (http://postfix.1071664.n5.nabble.com/pipe-flags-vs-lmtp-td1158

lmtp 2.3.2.1 segfault with backtrace

2018-08-14 Thread Tom Sommer
lmtp on Director crash with 2.3.2.1 # gdb /usr/libexec/dovecot/lmtp /var/core/60174 GNU gdb (GDB) Red Hat Enterprise Linux (7.2-92.el6) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are

imap-login: Error: BUG: Authentication server sent unknown id

2018-08-17 Thread Tom Sommer
I randomly get these errors on my Director Aug 17 10:52:37 imap-login: Error: BUG: Authentication server sent unknown id 98448 Aug 17 10:52:37 imap-login: Warning: Auth connection closed with 2 pending requests (max 2 secs, pid=27036, Received broken input: FAIL 98448 user=u...@example.com)

allow_nets based on RBL

2018-08-23 Thread Tom Sommer
This was brought up in 2014, and left without conclusion, so I thought it would be time to bump it :) I would love a way to do allow_nets based on an RBL check, could this be added to the feature-list? https://wiki2.dovecot.org/PasswordDatabase/ExtraFields/AllowNets Thanks -- Tom

Re: Is the Doveadm HTTP API considered stable for production use?

2018-08-23 Thread Tom Sommer
On 2018-08-22 11:55, James Beck wrote: Hi, I'm running 2.2.34 in production (installed from Debian stretch backports) and want to rework some scripts. Can the HTTP API be considered stable in 2.2.34 please? I use it in 2.3 and it works just fine :) I might have used it in 2.2 as well, I'm not

Disconnects on Director

2018-09-10 Thread Tom Sommer
Hi I am seeing a lot of clients time out on my Director. I'm wondering if this is "normal" or there is some opportunity to tweak something? Log line: imap-login: Info: proxy(u...@example.com): disconnecting 1.2.3.4 (Disconnected by client: read(size=433) failed: Connection timed out(37s idle

Adding namespace alias_for causes index resync?

2018-09-12 Thread Tom Sommer
I just added a new namespace-alias with alias_for. Apparently this causes all mailbox indexes to be resynced? Is this intentional and/or is there some way to avoid this? My NFS storage pretty much kills its elf when hundreds of thausands of users needs to resync indexes :) Thanks -- Tom

Re: Adding namespace alias_for causes index resync?

2018-09-12 Thread Tom Sommer
On 2018-09-12 16:54, Tom Sommer wrote: I just added a new namespace-alias with alias_for. Apparently this causes all mailbox indexes to be resynced? Is this intentional and/or is there some way to avoid this? My NFS storage pretty much kills itself when hundreds of thousands of users needs to

2.3.3: Panic: file ostream-zlib.c: line 37 (o_stream_zlib_close): assertion failed

2018-10-02 Thread Tom Sommer
I see this in my logs after 2.3.3: using zlib plugin, ofc. Oct 02 10:01:39 imap(u...@example.com)<50643>: Panic: file ostream-zlib.c: line 37 (o_stream_zlib_close): assertion failed: (zstream->ostream.finished || zstream->ostream.ostream.stream_errno != 0 || zstream->ostream.error_handling_di

VOLATILEDIR not really used?

2018-10-04 Thread Tom Sommer
Hi According to the docs, setting VOLATILEDIR will improve I/O performance when using NFS - but as far as I can see, only vsize lock-files are put here, and little else? Is this correct, and if so are there any plans to move dotlocks etc. to this directory? Thanks. -- Tom

Re: VOLATILEDIR not really used?

2018-10-04 Thread Tom Sommer
On 2018-10-04 15:55, Timo Sirainen wrote: On 4 Oct 2018, at 14.39, Tom Sommer wrote: Is this correct, and if so are there any plans to move dotlocks etc. to this directory? What dotlocks? I guess mbox and Maildir have some locks that could be moved there, but a better performance

Re: VOLATILEDIR not really used?

2018-10-05 Thread Tom Sommer
On 2018-10-05 11:35, Timo Sirainen wrote: On 4 Oct 2018, at 17.13, Tom Sommer wrote: On 2018-10-04 15:55, Timo Sirainen wrote: On 4 Oct 2018, at 14.39, Tom Sommer wrote: Is this correct, and if so are there any plans to move dotlocks etc. to this directory? What dotlocks? I guess mbox

Re: VOLATILEDIR not really used?

2018-10-05 Thread Tom Sommer
On 2018-10-05 11:50, Tom Sommer wrote: On 2018-10-05 11:35, Timo Sirainen wrote: On 4 Oct 2018, at 17.13, Tom Sommer wrote: On 2018-10-04 15:55, Timo Sirainen wrote: On 4 Oct 2018, at 14.39, Tom Sommer wrote: Is this correct, and if so are there any plans to move dotlocks etc. to this

Re: VOLATILEDIR not really used?

2018-10-08 Thread Tom Sommer
On 2018-10-05 21:56, Timo Sirainen wrote: Looks like it works. But could you: 1) Add it to github as merge request Done, for the first part of the code. 2) MAILBOX_LIST_PATH_TYPE_VOLATILEDIR might be useful, but it's kind of a separate change of its own. To simplify, in Maildir code you co

Re: Calendar function ?

2018-10-22 Thread Tom Sommer
On 2018-10-22 12:56, María Arrea wrote: We use sabredav for caldav+cardav and roundcube+agendav for nice web ui :) Is Sabre still maintained?

Re: Calendar function ?

2018-10-22 Thread Tom Sommer
On 2018-10-22 19:58, Dave Stevens wrote: On Mon, 22 Oct 2018 19:48:17 +0200 Tom Sommer wrote: On 2018-10-22 12:56, María Arrea wrote: > We use sabredav for caldav+cardav and roundcube+agendav for nice > web ui :) Is Sabre still maintained? http://sabre.io/ says 2018 is most

Re: Request: option to hide user IP/HELO content from mail sent via submissiond

2018-10-30 Thread Tom Sommer
On 2018-10-19 18:55, Lee Maguire wrote: For reasons of user privacy and security I usually configure submission servers to not include accurate IP address and HELO information of authenticated users. (Usually replacing it with a private-use domain / IPv6 address.) https://github.com/dovecot/c

shutdown_clients ignored on Director upgrade/restart

2020-09-01 Thread Tom Sommer
When yum updates a Dovecot Director, it restarts all processes - however a few imap-login and pop3-login processes hang because they are still proxying connections. It's like the now orphaned processes are stalled, and needs a kill -9 to die. This is a problem because those stalled connectio

systemctl unit should depend on remote-fs

2020-09-02 Thread Tom Sommer
The shipped systemctl unit file should have "remote-fs.target" added in "After="? -- Tom

Re: Where is dovemon

2021-01-14 Thread Tom Sommer
On 2021-01-13 12:30, li...@mlserv.org wrote: I found this link in the documentation: https://doc.dovecot.org/configuration_manual/dovemon/ But where can I find the program "dovemon"? I searched all over whithout luck. In the source code, Google, nothing. It seems as only the web site would

Re: Monitoring of director back end nodes

2021-07-31 Thread Tom Sommer
On 2021-07-31 19:28, darkc0de wrote: So dovemon for Dovecot pro, but nothing for community? https://github.com/brandond/poolmon --- Tom

Sieve prevents tigger of quota-warning

2020-01-31 Thread Tom Sommer
Hi All I have a few reports from Sieve users, that they are not receiving quota warnings. It appears that when a mailbox is reaching quota, and sieve is responsible for moving mail the mail due to a rule, the quota-warning directive is not triggered? It works fine if Sieve is not part of the

Flush userdb cache entry

2020-02-19 Thread Tom Sommer
Hi all I have a problem when users change quota in SQL, the change is not reflected in Dovecot immediately so quota_warning is still triggered on some occasions. I think it's because the quota is stored in userdb, and there is no way to flush userdb cache? Is there a way to flush userdb entr

Re: Flush userdb cache entry

2020-02-19 Thread Tom Sommer
On 2020-02-19 10:14, Tom Sommer wrote: I have a problem when users change quota in SQL, the change is not reflected in Dovecot immediately so quota_warning is still triggered on some occasions. I think it's because the quota is stored in userdb, and there is no way to flush userdb cache

Header's corrupted flag is set

2016-08-11 Thread Tom Sommer
I have a ton of these errors in my logs: Aug 11 14:16:04 imap(x...@x.): Error: Corrupted index file./dovecot.list.index: Header's corrupted flag is set Does Dovecot not automatically fix these? Or what is the correct action to take? -- Tom

Re: Change dovecot hostname

2016-08-22 Thread Tom Sommer
Removing the headers entirely was discussed: http://dovecot.markmail.org/search/?q=received#query:received+page:1+mid:t4utsjcionjcfwce+state:results Don't know if it was forgotten for 2.3, but hope not :) --- Tom On 2016-08-22 15:14, Scott W. Sander wrote: Here are some example headers from an

Errors with count:User quota and NFS

2016-10-31 Thread Tom Sommer
I upgraded to 2.2.26.0 and enabled count as quota backend, expecting the recent fixes to allow me to use the backend, however I get the following errors: Oct 31 10:52:13 imap(x...@.xx): Error: Transaction log file /mnt/nfs/.xx/xxx/indexes/dovecot.list.index.log: marked corrupted Oct 31

Re: Errors with count:User quota and NFS

2016-10-31 Thread Tom Sommer
On 2016-10-31 11:01, Tom Sommer wrote: I upgraded to 2.2.26.0 and enabled count as quota backend, expecting the recent fixes to allow me to use the backend, however I get the following errors: It just occured to me, that the reason for the locking/errors may be, that it is big mailboxes being

Re: Errors with count:User quota and NFS

2016-11-01 Thread Tom Sommer
On 2016-10-31 22:04, Timo Sirainen wrote: Oct 31 10:52:37 imap(x...@.xx): Warning: Locking transaction log file /mnt/nfs/xxx.xx/xxx/indexes/dovecot.list.index.log took 31 seconds (syncing) Oct 31 10:52:37 imap(x...@xxx.xx): Warning: Locking transaction log file /mnt/nfs/xxx.xx/xxx/indexes/

2.2.26.0: Error: redis: Unexpected input (state=0): -ERR max number of clients reached

2016-11-01 Thread Tom Sommer
I use redis as quota backend (currently). After upgrading to 2.2.26.0 I see a ton of "Error: redis: Unexpected input (state=0): -ERR max number of clients reached" errors. It looks like either more Redis connections are being made, or Redis connections don't time out/are reused correctly anym

Re: Errors with count:User quota and NFS

2016-11-04 Thread Tom Sommer
On 2016-11-01 09:47, Tom Sommer wrote: On 2016-10-31 22:04, Timo Sirainen wrote: Oct 31 10:52:37 imap(x...@.xx): Warning: Locking transaction log file /mnt/nfs/xxx.xx/xxx/indexes/dovecot.list.index.log took 31 seconds (syncing) Oct 31 10:52:37 imap(x...@xxx.xx): Warning: Locking

Index-cache sizes

2016-11-21 Thread Tom Sommer
I had a customer with an INBOX cache of 400MB+ (5.5GB maildir) which gave me "Error: mmap_anon(474165248) failed: Cannot allocate memory" errors, then I deleted the cache files and ran 'doveadm index -u x...@example.com "*"', now the INBOX cache is 7MB What is up with that? Is the cache now mi

Poolmon: Problem with index-locking

2017-01-10 Thread Tom Sommer
I have Poolmon (https://github.com/brandond/poolmon) set up. When it does all the checks concurrently, obviously there are locking issues on each mailserver it tests: "Warning: Locking transaction log file /indexes/dovecot.list.index.log took 60 seconds (syncing)" It's just an empty mail

Re: Poolmon: Problem with index-locking

2017-01-10 Thread Tom Sommer
On 2017-01-10 22:34, Timo Sirainen wrote: On 10 Jan 2017, at 20.38, Tom Sommer wrote: I have Poolmon (https://github.com/brandond/poolmon) set up. When it does all the checks concurrently, obviously there are locking issues on each mailserver it tests: "Warning: Locking transactio

Re: Quota count does not work with lock_method=dotlock

2017-01-24 Thread Tom Sommer
On 2017-01-18 15:27, mkli...@gmx.de wrote: dovecot crashes when I switch the quota tracking from dict to count. I have the same problem, but I use 'dict:file' as quota backend - Maybe the error is due to quota_vsizes and not 'count'. // Tom Sommer

Re: Quota count does not work with lock_method=dotlock

2017-01-24 Thread Tom Sommer
On 2017-01-24 10:25, Aki Tuomi wrote: On 24.01.2017 11:13, Tom Sommer wrote: On 2017-01-18 15:27, mkli...@gmx.de wrote: dovecot crashes when I switch the quota tracking from dict to count. I have the same problem, but I use 'dict:file' as quota backend - Maybe the error

Auth cache does not take %real_rip into account

2017-01-31 Thread Tom Sommer
I run a Director setup with a webmail in front, the webmail is in login_trusted_networks and sends IMAP-ID x-original-ip to log the client IP. If I enable auth_debug on the director, I see that the cache key contains the client IP, and not the %real_rip. This is causing problems because in m

Changes to userdb not picked up

2017-02-06 Thread Tom Sommer
I have my quota limits stored in userdb and auth_cache enabled (default settings). When I change the quota limit the old limit is still cached for the user for another hour. Is there any way to prevent this from happening? Thanks -- Tom

Re: Changes to userdb not picked up

2017-02-08 Thread Tom Sommer
I know, but I'm changing the quota in dict:sql so running commands on the mailserver itself it something I would like to avoid. --- Tom On 2017-02-06 14:29, Urban Loesch wrote: You can flush the cache with: "doveadm auth cache flush $USER" Regards Urban Am 06.02.2017 um 13

Re: Director+NFS Experiences

2017-02-27 Thread Tom Sommer
On 2017-02-27 10:40, Sami Ketola wrote: On 24 Feb 2017, at 21.28, Mark Moseley wrote: Attached. No claims are made on the quality of my code :) With recent dovecots you probably should not use set_host_weight( server, '0’ ) to mark backend down but instead should use director commands HOST-D

Re: quota-warning: possible to have size also?

2017-03-05 Thread Tom Sommer
On 2017-03-05 19:13, dovecot@avv.solutions wrote: I have a questions though: when running the warning script, the example foundis it possible to pass the *quota size *as argument also? This would be useful with per-user quota. e.g. /some/script xx% username *xxxbytes* (order is not relevant o

Re: v2.2.28 released

2017-03-06 Thread Tom Sommer
On 2017-02-24 14:34, Timo Sirainen wrote: http://dovecot.org/releases/2.2/dovecot-2.2.28.tar.gz http://dovecot.org/releases/2.2/dovecot-2.2.28.tar.gz.sig Are there any plans to do a bugfix-release, that includes the few issues seen in the mailing-list, or do you consider 2.2.28 safe to upgrad

Custom cache_key for passdb-sql

2017-03-15 Thread Tom Sommer
The cache_key for the SQL-passdb should be created automatically, but for some reason the service (%s) is not part of the key, and I need it to be I've tried to set a manual cache_key, but that fails: Mar 15 11:54:02 auth: Fatal: sql /etc/dovecot/dovecot-sql.conf cache_key=%s%u%{real_ip}: Can

dsync with namespaces

2017-03-23 Thread Tom Sommer
I have a major dsync headache which I am hoping someone can help me with. I have to migrate mails from a 'namespace/inbox/prefix=INBOX.' server to a 'namespace/inbox/prefix=' server. So I'm trying # dsync -o 'namespace/inbox/prefix=' sync -1 -f -u x...@xx.com tcp:1.2.3.4 It works fine for so

lmtp segfault after upgrade

2017-05-01 Thread Tom Sommer
I just upgraded our Director to 2.2.29.1 from 2.2.26, and now my dmesg and /var/log/messages are getting flooded by these errors: lmtp[45758]: segfault at 21 ip 7fb412d3ad11 sp 7ffe83ad2df0 error 4 in libdovecot.so.0.0.0[7fb412c95000+11c000] lmtp[46304]: segfault at 91 ip 7f771ba64d

Re: lmtp segfault after upgrade

2017-05-02 Thread Tom Sommer
On 2017-05-01 19:34, Aki Tuomi wrote: On May 1, 2017 at 8:26 PM Aki Tuomi wrote: > On May 1, 2017 at 8:21 PM Tom Sommer wrote: > > > I just upgraded our Director to 2.2.29.1 from 2.2.26, and now my dmesg > and /var/log/messages are getting flooded by these errors: > >

Re: lmtp segfault after upgrade

2017-05-02 Thread Tom Sommer
On 2017-05-01 19:26, Aki Tuomi wrote: On May 1, 2017 at 8:21 PM Tom Sommer wrote: I just upgraded our Director to 2.2.29.1 from 2.2.26, and now my dmesg and /var/log/messages are getting flooded by these errors: lmtp[45758]: segfault at 21 ip 7fb412d3ad11 sp 7ffe83ad2df0 error 4 in

Re: lmtp segfault after upgrade

2017-05-02 Thread Tom Sommer
On 2017-05-02 09:35, Aki Tuomi wrote: On 2017-05-02 10:20, Tom Sommer wrote: On 2017-05-01 19:26, Aki Tuomi wrote: On May 1, 2017 at 8:21 PM Tom Sommer wrote: I just upgraded our Director to 2.2.29.1 from 2.2.26, and now my dmesg and /var/log/messages are getting flooded by these errors

Re: lmtp segfault after upgrade

2017-05-18 Thread Tom Sommer
On 2017-05-18 09:36, Teemu Huovila wrote: Hello Tom On 02.05.2017 11:19, Timo Sirainen wrote: On 2 May 2017, at 10.41, Tom Sommer wrote: (gdb) bt full #0 i_stream_seek (stream=0x21, v_offset=0) at istream.c:298 _stream = #1 0x7fe98391ff32 in i_stream_concat_read_next (stream

Re: lmtp segfault after upgrade

2017-05-18 Thread Tom Sommer
On 2017-05-18 09:36, Teemu Huovila wrote: Hello Tom On 02.05.2017 11:19, Timo Sirainen wrote: On 2 May 2017, at 10.41, Tom Sommer wrote: (gdb) bt full #0 i_stream_seek (stream=0x21, v_offset=0) at istream.c:298 _stream = #1 0x7fe98391ff32 in i_stream_concat_read_next (stream

Re: lmtp segfault after upgrade

2017-05-18 Thread Tom Sommer
--- Tom On 2017-05-18 10:05, Teemu Huovila wrote: On 18.05.2017 10:55, Tom Sommer wrote: On 2017-05-18 09:36, Teemu Huovila wrote: Hello Tom On 02.05.2017 11:19, Timo Sirainen wrote: On 2 May 2017, at 10.41, Tom Sommer wrote: (gdb) bt full #0 i_stream_seek (stream=0x21, v_offset=0) at

Re: lmtp segfault after upgrade

2017-05-19 Thread Tom Sommer
On 2017-05-19 08:41, Timo Sirainen wrote: On 2 May 2017, at 11.19, Timo Sirainen wrote: On 2 May 2017, at 10.41, Tom Sommer wrote: (gdb) bt full #0 i_stream_seek (stream=0x21, v_offset=0) at istream.c:298 _stream = #1 0x7fe98391ff32 in i_stream_concat_read_next (stream=0x1efe6c0

Re: v2.2.30.1 released

2017-05-31 Thread Tom Sommer
On 2017-05-31 15:24, Timo Sirainen wrote: https://dovecot.org/releases/2.2/dovecot-2.2.30.1.tar.gz https://dovecot.org/releases/2.2/dovecot-2.2.30.1.tar.gz.sig Due to some release process changes I didn't notice that one important bugfix wasn't included in the v2.2.30 release branch before I ma

Re: v2.2.30.1 released

2017-06-05 Thread Tom Sommer
On 2017-05-31 15:24, Timo Sirainen wrote: https://dovecot.org/releases/2.2/dovecot-2.2.30.1.tar.gz https://dovecot.org/releases/2.2/dovecot-2.2.30.1.tar.gz.sig Due to some release process changes I didn't notice that one important bugfix wasn't included in the v2.2.30 release branch before I ma

Re: v2.2.30.1 released

2017-06-06 Thread Tom Sommer
On 2017-06-05 15:10, Tom Sommer wrote: On 2017-05-31 15:24, Timo Sirainen wrote: https://dovecot.org/releases/2.2/dovecot-2.2.30.1.tar.gz https://dovecot.org/releases/2.2/dovecot-2.2.30.1.tar.gz.sig Due to some release process changes I didn't notice that one important bugfix wasn'

Re: NOTIFY broken in 2.2.31?

2017-07-04 Thread Tom Sommer
On 2017-06-30 17:09, Timo Sirainen wrote: On 29 Jun 2017, at 13.27, Bojan Smojver wrote: Hi, I just updated my Dovecot to the new build in Fedora 26, which is based on 2.2.31. After I did that, Evolution (3.24.3) is no longer receiving notifications about new mail in folders other than in

Re: The end of Dovecot Director?

2022-10-21 Thread Tom Sommer
To be clear, you are removing the Director... --- Tom On 2022-10-21 13:28, Aki Tuomi wrote: To be clear, we are not removing proxying features from Dovecot either. Just the director ring feature. Aki On 21/10/2022 14:14 EEST Amol Kulkarni wrote: Nginx has an mail proxy for pop, imap, smt

Re: The end of Dovecot Director?

2022-11-02 Thread Tom Sommer
On 2022-11-01 16:58, Mark Moseley wrote: This *feels" to me like a parent company looking to remove features from the open source version in order to add feature differentiation to the paid version. I've loved the Dovecot project for over a decade and a half. And incidentally I have a very w

Re: v2.2.18 released

2015-05-15 Thread Tom Sommer
On 2015-05-15 13:11, Timo Sirainen wrote: BTW. We're planning on making some changes soon to how version control is used in Dovecot development, which should help avoid these kind of problems. The main problem now is that everything gets directly committed to the master branch (although we have

autoexpunge creates special_use folder

2015-12-11 Thread Tom Sommer
namespace inbox { mailbox Spam { special_use = \Spam auto = create autoexpunge = 30d } } This creates the "Spam" folder in the filesystem on login/logout, even though it shouldn't. If I remove autoexpunge, the folder is not created. -- Tom Sommer

Re: [BUG] 2.2.21 Panic: file imap-client.c: line 841 (client_check_command_hangs): assertion failed: (!have_wait_unfinished || unfinished_count > 0)

2016-01-19 Thread Tom Sommer
On 2016-01-04 19:21, Timo Sirainen wrote: On 04 Jan 2016, at 12:54, Timo Sirainen wrote: On 04 Jan 2016, at 09:58, Florian Pritz wrote: On 04.01.2016 15:49, Timo Sirainen wrote: What about: #5 0x0041dde6 in client_check_command_hangs (client=0x2363450) at imap-client.c:841

Re: Mail User Agent?

2016-02-02 Thread Tom Sommer
How do you enable this? I can't seem to find any information about it. --- Tom Sommer On 2016-02-01 18:32, Jeff Stedfast wrote: IMAP actually has an ID extension where the client can send this info, but it doesn't force the client to send it. Jeff On Mon, Feb 1, 2016 at 12:1

zlib plugin doesn't add "Z" flag to Maildir filename

2016-03-10 Thread Tom Sommer
I enabled zlib compression, so new mails are saved compressed. Now I want to convert the old mails to gzip with the find and gzip command, but now I don't know which files are already gzip compressed by dovecot. Shouldn't zlib_save itself add Z to the Maildir flags? As suggested in the compr

Re: zlib plugin doesn't add "Z" flag to Maildir filename

2016-03-10 Thread Tom Sommer
On 2016-03-10 15:00, Alessio Cecchi wrote: Il 10/03/2016 10:38, Tom Sommer ha scritto: I enabled zlib compression, so new mails are saved compressed. Now I want to convert the old mails to gzip with the find and gzip command, but now I don't know which files are already gzip compresse

Re: v2.2.22 release candidate released

2016-03-10 Thread Tom Sommer
On 2016-03-04 16:49, Timo Sirainen wrote: On 04 Mar 2016, at 17:40, Miquel van Smoorenburg wrote: Question: some time ago you mentioned that you were going to work on caldav/carddav support. What is the status of that, and will the calendar/contacts database be available over JMAP as well?

Re: zlib plugin doesn't add "Z" flag to Maildir filename

2016-03-10 Thread Tom Sommer
On 2016-03-10 16:06, Alessio Cecchi wrote: Il 10/03/2016 15:33, Tom Sommer ha scritto: On 2016-03-10 15:00, Alessio Cecchi wrote: Il 10/03/2016 10:38, Tom Sommer ha scritto: I enabled zlib compression, so new mails are saved compressed. Now I want to convert the old mails to gzip with the

lmtp timeout, locks and crashes

2016-03-15 Thread Tom Sommer
0x36aea1d9f4] -> dovecot/lmtp [DATA 172.17.165.14] [0x404a79] The data is stored on NFS, with single-node access. mmap_disable is set to 'yes' Anyone know how to solve this? or can share some insights. Running dovecot 2.2.21 (5345f22) -- Tom Sommer

Re: lmtp timeout, locks and crashes

2016-03-15 Thread Tom Sommer
On 2016-03-15 10:53, Tom Sommer wrote: I'm seeing some problems on accounts which get a lot of spam (like, a lot). I get these errors: When I do a process-list I see a lot of stuck lmtp processes on the same account: 16180 ?D 0:00 \_ dovecot/lmtp [DATA 172.17.165.14 xx

Re: lmtp timeout, locks and crashes

2016-03-15 Thread Tom Sommer
On 2016-03-15 11:29, Aki Tuomi wrote: On 15.03.2016 12:28, Tom Sommer wrote: On 2016-03-15 10:53, Tom Sommer wrote: I'm seeing some problems on accounts which get a lot of spam (like, a lot). I get these errors: When I do a process-list I see a lot of stuck lmtp processes on the

Crash when setting quota = count:User quota

2016-03-19 Thread Tom Sommer
lda.so.0(mail_deliver+0xf3) [0x35f68084c3] -> dovecot/lmtp [DATA 172.0.0.0 x...@xxx.xxx] [0x40645c] -> dovecot/lmtp [DATA 172.0.0.0 x...@xxx.xxx] [0x406bd6] Only happens when I set "quota = count:User quota" -- Tom Sommer

Re: lmtp timeout, locks and crashes

2016-03-19 Thread Tom Sommer
On 2016-03-18 08:11, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 17 Mar 2016, Tom Sommer wrote: On 2016-03-17 13:41, Tom Sommer wrote: On 2016-03-15 10:53, Tom Sommer wrote: I'm seeing some problems on accounts which get a lot of spam (like, a lot). I d

Re: Crash when setting quota = count:User quota

2016-03-19 Thread Tom Sommer
Actually it also happens with just "quota_vsizes = true" Mar 19 17:37:55 lmtp(x...@xxx.xx): Panic: file file-lock.c: line 269: unreached Mar 19 17:37:55 lmtp(x...@.xxx): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0 [0x35f647e07a] -> /usr/lib/dovecot/libdovecot.so.0 [0x35f647e0e6]

Re: lmtp timeout, locks and crashes

2016-03-19 Thread Tom Sommer
On 2016-03-17 13:41, Tom Sommer wrote: On 2016-03-15 10:53, Tom Sommer wrote: I'm seeing some problems on accounts which get a lot of spam (like, a lot). I did an "strace" on one of the hundreds of lmtp processes. It's doing stat() on all files in the new folder for the r

Re: lmtp timeout, locks and crashes

2016-03-19 Thread Tom Sommer
On 2016-03-15 10:53, Tom Sommer wrote: I'm seeing some problems on accounts which get a lot of spam (like, a lot). I did an "strace" on one of the hundreds of lmtp processes. It's doing stat() on all files in the new folder for the receiver: stat("/var/m

Re: Option to not add "Received" header ?

2016-03-21 Thread Tom Sommer
On 2015-03-24 12:27, Florent B wrote: I use Dovecot in lmtp mode to receive mails. I would like an option to tell Dovecot to not add a "Reveived" header on each server (I use a director, so Director also adds this header). I would love this as well.

Re: Crash when setting quota = count:User quota

2016-03-29 Thread Tom Sommer
> On 29. mar. 2016, at 19.31, Timo Sirainen wrote: > >> On 19 Mar 2016, at 17:56, Tom Sommer wrote: >> >> Mar 19 16:54:37 lmtp(x...@xxx.xxx): Panic: file file-lock.c: line 269: >> unreached >> Mar 19 16:54:37 lmtp(x...@xxx.xxx): Error: Raw backtrace:

Re: New feature: HTTP API

2016-04-04 Thread Tom Sommer
On 2016-02-20 17:09, aki.tu...@dovecot.fi wrote: To use the API, you can go to http://host:8080/doveadm. The documentation says http://host:8080/doveadm/v1 which is it? GET request will print out possible commands, along with their parameters. If you have set API KEY, you need to include

Re: New feature: HTTP API

2016-04-04 Thread Tom Sommer
On 2016-04-04 20:22, aki.tu...@dovecot.fi wrote: A simple 1-line curl-example in the docs would do wonders :) http://wiki2.dovecot.org/Design/DoveadmProtocol/HTTP an example command would be curl -H "Content-Type: application/json" -H "Authorization: Basic username:password>" -d '[["fetch"

Re: New feature: HTTP API

2016-04-04 Thread Tom Sommer
On 2016-04-05 08:44, aki.tu...@dovecot.fi wrote: On April 5, 2016 at 9:27 AM Tom Sommer wrote: On 2016-04-04 20:22, aki.tu...@dovecot.fi wrote: > Since the API is still a little beta, it will not return anything in > case > doveadm does not like the arguments (that is, calls i_fat

Opportunistic quota recalc

2016-04-06 Thread Tom Sommer
ge is unset. Is there no way to do a recalc-quota-on-first-login? Thanks. -- Tom Sommer

Internal quota calculation error (redis), double mail delivery

2016-04-06 Thread Tom Sommer
Sometimes my redis connection times out, both for pop3, imap and lmtp. I have no idea why, when I do a "doveadm quota recalc -u" it works just fine? I'm thinking the connection is lost somehow and not retried? Apr 06 15:42:00 lmtp(x...@xxx.com): Error: redis: Lookup timed out in 30.000 secs Ap

Re: Internal quota calculation error (redis), double mail delivery

2016-04-06 Thread Tom Sommer
On 2016-04-06 20:27, Timo Sirainen wrote: On 06 Apr 2016, at 16:54, Tom Sommer wrote: Sometimes my redis connection times out, both for pop3, imap and lmtp. I have no idea why, when I do a "doveadm quota recalc -u" it works just fine? I'm thinking the connection is lost

Re: Opportunistic quota recalc

2016-04-06 Thread Tom Sommer
On 2016-04-06 20:38, Timo Sirainen wrote: On 06 Apr 2016, at 13:43, Tom Sommer wrote: I'm switching quota backend to redis (from maildir++), so all my current usages are reset. I get that I can do "doveadm quota recalc -A", but it takes forever (and auth processes time o

Re: Internal quota calculation error (redis), double mail delivery

2016-04-06 Thread Tom Sommer
On 2016-04-06 21:22, Timo Sirainen wrote: Yea, but why is it taking 30 seconds anyway? I'll try and lower it, but I suspect I'll just get 10.000 secs errors instead? I don't know. Possibly a hanging TCP connection. That's why I was asking about the firewall. If it's not that, I don't really kn

Setting lmtp_user_concurrency_limit causes anvil permission error

2016-04-07 Thread Tom Sommer
I've set lmtp_user_concurrency_limit to 5 and now LMTP throws this at me for every delivery: Apr 07 13:38:33 lmtp(4434): Error: net_connect_unix(/var/run/dovecot/anvil) failed: Permission denied ls -l /var/run/dovecot/anvil srw--- 1 root root 0 Apr 7 13:32 /var/run/dovecot/anvil If I se

Re: Opportunistic quota recalc

2016-04-07 Thread Tom Sommer
On 2016-04-06 21:09, Tom Sommer wrote: On 2016-04-06 20:38, Timo Sirainen wrote: On 06 Apr 2016, at 13:43, Tom Sommer wrote: I'm switching quota backend to redis (from maildir++), so all my current usages are reset. I get that I can do "doveadm quota recalc -A", but it take

  1   2   >