Re: Dumb question: dovecot include file

2016-03-29 Thread Timo Sirainen
On 18 Mar 2016, at 15:50, Jerry wrote: > > Dovecot has an include file option. What I am not sure of is why those > files use both a *.conf and *.conf.ext extension. I assume both types > are included by using the !include .conf or !include > .conf.ext syntax. http://wiki2.dovecot.org/ConfigFile

Re: talloc access after free error ntlmssp_server.c:457

2016-03-29 Thread Timo Sirainen
On 16 Mar 2016, at 22:38, J Landwehr wrote: > > Our new/fresh dovecot imap installation on CentOS (latest from yum > repository, which is 2.2.10) is locking up with a panic on a consistent basis > and denying service to subsequent clients. The behavior is repeatable. Have > spent weeks debug

Re: crash after out of memory?

2016-03-30 Thread Timo Sirainen
On 30 Mar 2016, at 11:51, Ralf Hildebrandt wrote: > > We're encountering a crash when proxying to an Exchange server: > > Mar 30 10:40:47 mproxy dovecot: imap-login: Login: user=, > method=PLAIN, rip=10.39.76.71, lip=141.42.206.11, mpid=18556, TLS, > session= > Mar 30 10:40:49 mproxy dovecot:

v2.2.23 released

2016-03-30 Thread Timo Sirainen
http://dovecot.org/releases/2.2/dovecot-2.2.23.tar.gz http://dovecot.org/releases/2.2/dovecot-2.2.23.tar.gz.sig This is a bugfix-only release with various important fixes on top of v2.2.22. - Various fixes to doveadm. Especially running commands via doveadm-server was broken. - director: Fix

Session ID separator change

2016-04-05 Thread Timo Sirainen
LMTP is a but troublesome in that a single LMTP session can do multiple RCPT TOs, so the same session will end up delivering mails to multiple different users. This is causing trouble with stats process, because each delivery is using the same session ID for multiple different users, which cause

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

2016-04-06 Thread Timo Sirainen
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 somehow and not retried? > > Apr 06 15:42:00 lmtp(x...@xxx

Re: Opportunistic quota recalc

2016-04-06 Thread Timo Sirainen
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 out/crash). > > It would make much more sense to reca

Re: namespace...mailbox doesn't exist

2016-04-06 Thread Timo Sirainen
On 05 Apr 2016, at 05:23, Eric wrote: > > Hello list, > > I have a namespace called 'projects' which when clicked in Thunderbird > (nonexistent in eM Client) yields the following error: > > "The current operation on 'projects' did not succeed. The mail server for > account > u...@domain.tld r

Re: doveadm sync -1 -R

2016-04-06 Thread Timo Sirainen
On 05 Apr 2016, at 13:49, Lukas Kolbe wrote: > > For each invoke of doveadm backup -R, the local (new) mailbox gets wiped and > all mails are retransferred - so far, so good. I’d like to use "doveadm sync > -1“ as per the manpage to keep the downtime short, however sync doesn’t like > the -R o

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

2016-04-06 Thread Timo Sirainen
On 06 Apr 2016, at 22:14, Tom Sommer wrote: > > > 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 "

Re: fts_solr: Lookup failed: 400 Bad Request / GET null null

2016-04-06 Thread Timo Sirainen
On 05 Apr 2016, at 11:33, Chris Laif wrote: > > I've captured some requests and they look like this (some parts > changed due to privacy concerns): > > GET > /solr/select?fl=uid,score&rows=439&sort=uid+asc&q={!lucene+q.op%3dAND}hdr:%3c56f3a6.7080...@domain.de%3e+OR+hdr:%3c664dcdx1a4facd

Re: Migrating from Olde server to Dovecot

2016-04-06 Thread Timo Sirainen
On 04 Apr 2016, at 09:49, Hendrik Velloen wrote: > > Hi > > dsync(hendr...@tcmvpn.co.za): Error: pop3c(196.26.136.162): AUTH PLAIN > failed: -ERR Invalid command, try one of: USER name, PASS string, APOP name > digest, QUIT Dovecot tries to use AUTH PLAIN instead of the regular USER+PASS. I thi

Re: enable/disable shared namespace in passdb

2016-04-06 Thread Timo Sirainen
On 04 Apr 2016, at 13:28, a...@oleane.net wrote: > > namespace shared { >type = shared >list = yes# children >disabled = yes >separator = / >prefix = shared/%%u/ >location = imapc:~/dovemail/shared/%%u/ > } Don't you get a warning with this? Warning: Obsolete setting

Re: namespace...mailbox doesn't exist

2016-04-06 Thread Timo Sirainen
t.index.log > dovecot.mailbox.log > dovecot.mailbox.log.2 > dovecot-uidlist > dovecot-uidvalidity > dovecot-uidvalidity.4d991164 > new > subscriptions > tmp > > Eric > > > > On 4/6/2016 1:03 PM, Timo Sirainen wrote: >> On 05 Apr 2016, at 05:23, Er

Re: "Lost" e-mail after alternate partition offline

2016-04-06 Thread Timo Sirainen
On 01 Apr 2016, at 21:15, Daniel van Ham Colchete wrote: > > Hey guys! > > I've got a problem here and I wish you could help me. A drive failed here > and went offline for some time. This was a alternate storage drive so it > took a while (hours) for us to notice. There was a problem with DRBD

Re: Opportunistic quota recalc

2016-04-07 Thread Timo Sirainen
On 07 Apr 2016, at 14:49, Tom Sommer wrote: > > 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 curr

Re: [PATCH 0/7] Fixes for lib-mail message-address

2016-04-07 Thread Timo Sirainen
On 06 Apr 2016, at 17:29, Pali Rohár wrote: > > On Monday 04 April 2016 19:35:22 Pali Rohár wrote: >> On Monday 04 April 2016 19:31:06 aki.tu...@dovecot.fi wrote: >>> Can you please send them directly to me, please? >>> --- >>> Aki Tuomi >> >> Sent. > > Received? Are patches OK now? It would b

Re: Intermittent IMAP Login failures - about 25% fail

2016-04-07 Thread Timo Sirainen
On 07 Apr 2016, at 19:02, Mobile Phone wrote: > > pam(prtg.08dir,91.91.91.91): pam_authenticate() failed: Authentication > failure (password mismatch?) (given password: YesThisWasTheCorrectPassword) .. > Why it this bouncing 25% + of IMAP AUTH LOGINs? PAM said that login wasn't allowed. PAM can

Re: Own implementation of a dict server. Is dict lookup multi threaded or single threaded?

2016-04-08 Thread Timo Sirainen
On 08 Apr 2016, at 09:19, martijn.list wrote: > > Hi, > > I have created my own dict server (proxy:[]: dict>) to access a proprietary database. > > What happens if the dict server lookup is slow? for example because the > lookup process takes some time? Looking at the code, there's a 30sec tim

Re: Broken pipe with own dict server. Timing issue?

2016-04-08 Thread Timo Sirainen
On 08 Apr 2016, at 11:08, martijn.list wrote: > > Hi, > > I have created my own dict server (proxy:[]: dict>) to access a proprietary database. The dict server basically > creates a listing socket on a separate thread and then waits for > incoming requests with accept(handle, NULL, 0). When a re

Re: mail-search backtrace

2016-04-12 Thread Timo Sirainen
On 09 Apr 2016, at 21:48, Hugh Bragg wrote: > > I'm repeatedly getting this error: > > Apr 07 04:37:27 imap(mymail@address): Panic: file mail-search.c: line 84 > (mail_search_arg_init): assertion failed: (arg->initialized.keywords == NULL) > Apr 07 04:37:27 imap(mymail@address): Error: Raw back

Re: Dsync Header Hashing

2016-04-12 Thread Timo Sirainen
l be a useful addition to Dovecot. It > doesn't create any non-standard behavior (like my patch for non-atom flags). > > On 03/07/2016 11:16 PM, Richard Laager wrote: >> On 03/04/2016 08:52 AM, Timo Sirainen wrote: >>> On 04 Mar 2016, at 07:47, Richard Laager wrote: >

Re: Slow reading of large dovecot-uidlist files

2016-04-12 Thread Timo Sirainen
On 09 Apr 2016, at 21:04, Bostjan Skufca wrote: > > Hi there, > > (context: I was optimizing Roundcube mailbox list server response, and in > that 300-400ms response time, around 170ms is spent on single fgets() call > which is waiting IMAP repsonse to "SELECT MyMailbox" command) > > I straced

Re: Warning: Global setting won't change the setting inside an earlier filter

2016-04-13 Thread Timo Sirainen
On 13 Apr 2016, at 10:40, Oliver Riesen-Mallmann wrote: > > Hi, > > I'm using the Dovecot Prebuilt Binary: > deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.2 main > > I configured multiple SSL certificates with client TLS SNI (see > http://wiki2.dovecot.org/SSL/DovecotConfiguration).

v2.3 development tree forked in git

2016-04-13 Thread Timo Sirainen
The git master branch starts tracking Dovecot v2.3 development from now on. There are soon going to be several API changes there that might break plugins. If you wish to keep tracking latest v2.2.x development instead, switch to master-2.2 branch. The nightly releases at http://dovecot.org/nigh

Re: dlopen() failed: /usr/lib/dovecot/modules/dict/libdict_ldap.so: undefined symbol: ldap_search_star

2016-04-13 Thread Timo Sirainen
On 13 Apr 2016, at 16:23, M. Koehler wrote: > > Hi, > > I´m using dovecot on debian jessie from the xi-rename-it repo (deb > http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.2 main). After upgrading > to 2.2.23 I´ve got the following error for example if I delete a message: > > *Apr 13 15

Re: Foreman component

2016-04-20 Thread Timo Sirainen
On 19 Apr 2016, at 12:55, Aki Tuomi wrote: > > I am planning to add foreman component to dovecot core and I am hoping > for some feedback: > > Foreman - generic per-user worker handling component First an explanation of what this was planned to be used for: Think about many short-lived JMAP (H

Re: UTF-8 encoded folders on filesystem

2016-04-21 Thread Timo Sirainen
On 21 Apr 2016, at 10:37, Pavel Volkovitskiy wrote: > > Hello! > > > I wonder if that possible to have utf-8 encoded folders on filesystem with > dovecot? > > ​May be this feature planned already?​ mail_location = ...:UTF-8

Re: [PATCH 0/7] Fixes for lib-mail message-address

2016-04-21 Thread Timo Sirainen
On 11 Apr 2016, at 13:44, Pali Rohár wrote: > > On Thursday 07 April 2016 16:11:12 Timo Sirainen wrote: >> On 06 Apr 2016, at 17:29, Pali Rohár wrote: >>> >>> On Monday 04 April 2016 19:35:22 Pali Rohár wrote: >>>> On Monday 04 April 2016 19:31:06

Re: Randomly SSL Errors since upgrade to 2.2.23-1 (Enterprise Edition)

2016-04-21 Thread Timo Sirainen
Fixed by https://github.com/dovecot/core/commit/b9e1531c80039ee75239d31cdad70d430d255974 > On 15 Apr 2016, at 17:38, Urban Loesch wrote: > > [UPDATE]: > > I digged deeper into my logs and I found that before the upgrade I got this > errors: > ... > Apr 15 09:36:09 imap1 dovecot: pop3-login: D

Re: UTF-8 encoded folders on filesystem

2016-04-21 Thread Timo Sirainen
> On 21 Apr 2016, at 13:48, Oliver Riesen-Mallmann wrote: > > Hi, > >> mail_location = ...:UTF-8 > > UTF-8 or UTF8? > See http://dovecot.org/list/dovecot-cvs/2011-September/019148.html Looks like the commit message was wrong. The code says UTF-8. > Documentation doesn't mention this setting.

Re: Setting up replication?

2016-04-21 Thread Timo Sirainen
On 21 Apr 2016, at 19:51, Knute Johnson wrote: > > On 4/21/2016 04:33, Aropalo Tommi wrote: >>> I'm trying to set up replication between two servers and I've hit a >>> snag. I have two users and am using mbox files. If anybody has a >>> sample config file for a simple system like mine I would r

Re: push-notification plugin and imap-metadata permissions

2016-04-22 Thread Timo Sirainen
On 22 Apr 2016, at 15:17, Giovanni S. Fois wrote: > > In order to tell if a mailbox is enabled to send out the notification, the > plugin > looks out for the following mailbox metadata key: > /private/vendor/vendor.dovecot/pvt/server/vendor/vendor.dovecot/http-notify > > If the key is set then

Re: Progress messages

2016-04-22 Thread Timo Sirainen
On 23 Apr 2016, at 01:26, Joel Roth wrote: > > Hi Dovecot maintainers, > > I'm maintainer of Net::IMAP::Client, a perl IMAP client > library.[1] > > I've had two bug reports related to Dovecot's in-progress > messages.[2,3] > > While patches have been submitted to resolve both of these > bugs,

Re: Kernel panic in dovecot-ee-lmtp on Debian 8

2016-04-25 Thread Timo Sirainen
On 25 Apr 2016, at 13:48, Tobi wrote: > > Hi list > > I just realized that that I don not receive all mails in my mailbox > (running dovecot-ee 2.2.23.1-1 on Debian 8). On my frontend servers > (running postfix) the queue fills up with mails that cannot be delivered > via lmtp to my backend serv

v2.2.24 released

2016-04-26 Thread Timo Sirainen
http://dovecot.org/releases/2.2/dovecot-2.2.24.tar.gz http://dovecot.org/releases/2.2/dovecot-2.2.24.tar.gz.sig This should be a good release. :) * doveconf now warns if it sees a global setting being changed when the same setting was already set inside some filters. (A common mistake has

Re: doveadm search when using solr problems

2016-04-26 Thread Timo Sirainen
On 26 Apr 2016, at 18:31, Ricardo Branco wrote: > > Is there a way when using doveadm to search a users mailbox to disable using > solr plugin (without changing config file). > > We have found that solr does not work well with certain search types and > reverting to non solr searching works mu

Re: Solr with shared mailboxes

2016-04-26 Thread Timo Sirainen
On 26 Apr 2016, at 18:35, Ricardo Branco wrote: > > We have multiple logins assigned to single mailboxes, so we can give one > login to different devices. > > Does this cause a problem with mailbox guids in solr or is the ID stored > within the indexes and not related to username. It causes S

Re: Strange search behavior

2016-04-26 Thread Timo Sirainen
On 26 Apr 2016, at 18:56, Cornelius Charlie wrote: > > Hello, > > Unfortunately, the dovecot instance doesn't belong to me and I have no way > to get the configuration. > However, if that can help I've been able to reproduce this behavior on > every dovecot installations I've tried. This is fix

Re: Possible to use Doveadm for a time range deletion

2016-04-26 Thread Timo Sirainen
On 15 Apr 2016, at 17:42, Kenneth Ulrich wrote: > > Hello All, > > I was wondering if it s possible to remove emails between a time range. > > For example, End Users have emails dating back to Aug 2000. He would like > all emails deleted between the time stamp of 07/2014 to 07/2015 yet keep > a

Re: doveadm search when using solr problems

2016-04-26 Thread Timo Sirainen
#x27;': > Unknown backend Doesn't really matter, but fixed: https://github.com/dovecot/core/commit/4ad29d803f7383a553efcc6f6663dbec89b48bd0 > > > Timo Sirainen wrote on 26/04/2016 16:43: >> On 26 Apr 2016, at 18:31, Ricardo Branco wrote: >>> Is there a way whe

Re: Solr with shared mailboxes

2016-04-26 Thread Timo Sirainen
t the XXX user returned in the first line with: doveadm auth lookup f...@example.com doveadm user f...@example.com > > > Timo Sirainen wrote on 26/04/2016 16:45: >> On 26 Apr 2016, at 18:35, Ricardo Branco wrote: >>> We have multiple logins assigned to single mailbox

Re: Subject: Re: v2.2.24 released

2016-04-26 Thread Timo Sirainen
On 26 Apr 2016, at 21:09, Joseph Tam wrote: > > Timo Sirainen wrote: > >> - auth: Auth cache is now disabled passwd-file. It was unnecessary and >> it broke %variables in extra fields. > > So settings like > > auth_cache_size = 655

Re: v2.2.24 released

2016-04-26 Thread Timo Sirainen
On 26 Apr 2016, at 21:52, Hauke Fath wrote: > > On Tue, 26 Apr 2016 18:20:00 +0300, Timo Sirainen wrote: >> This should be a good release. :) > > Would this release address the "reappearing emails" issue that 2.2.23 > introduced? I guess you're talking abo

Re: Backtrace:dovecot/imap

2016-04-29 Thread Timo Sirainen
On 29 Apr 2016, at 14:31, Ralf Hildebrandt wrote: > > #0 buffer_delete (_buf=0x0, pos=0, size=0) at buffer.c:213 > #0 buffer_delete (_buf=0x0, pos=0, size=0) at buffer.c:213 >buf = 0x0 >end_size = > #1 0x7f5729a7507e in array_delete_i (count=1, idx=125, >array=0x7f572

Re: Panic: file message-part-serialize.c: line 90 (part_serialize): assertion failed: (part->children == NULL)

2016-04-30 Thread Timo Sirainen
On 30 Apr 2016, at 00:43, Andreas Jobs wrote: > > Hi, > > I just found this in my logs: > > Apr 29 11:05:20 lmtp(joerg.eggenst...@ruhr-uni-bochum.de): Panic: file > message-part-serialize.c: line 90 (part_serialize): assertion failed: > (part->children == NULL) > It looks like that this may

Re: more info about deleting users

2016-04-30 Thread Timo Sirainen
On 29 Apr 2016, at 17:25, Matteo Gaito Test Account wrote: > > Hi, > > i've search a lot in order to find a way to delete account by dovecot but i > found only this way > > http://dovecot.org/list/dovecot/2011-November/079273.html > > It's possible today delete a maildir remotely with doveadm

Re: Recent update causes segfault in proxy mode

2016-04-30 Thread Timo Sirainen
On 29 Apr 2016, at 12:46, Ralf Hildebrandt wrote: > > * Ralf Hildebrandt : > >> Unfortunately, I'm not getting a backtrace :( > > got it: > > #1 0x7febcad5407e in array_delete_i (count=1, idx=1992, > array=0x7febcd4b7b68) at ../../../../src/lib/array.h:200 > No locals. > #2 imapc_untagg

Re: autoexpunge wildcard mailbox from userdb

2016-05-02 Thread Timo Sirainen
On 02 May 2016, at 03:47, Leon Kyneur wrote: > > Was excited to see that wildcards are now possible on autoexpunge in the > 2.2.24 release. > > However I'm trying to configure these from the userdb lookup and it doesn't > appear to be working. > > if I set in 15-mailboxes.conf > mailbox Trash

Re: autoexpunge wildcard mailbox from userdb

2016-05-02 Thread Timo Sirainen
On 02 May 2016, at 16:40, Leon Kyneur wrote: > > > > On 02/05/16 16:51, Timo Sirainen wrote: >> On 02 May 2016, at 03:47, Leon Kyneur wrote: >>> Was excited to see that wildcards are now possible on autoexpunge in the >>> 2.2.24 release. >>> &

Re: pread() failures when using mdbox on btrfs

2016-05-05 Thread Timo Sirainen
On 05 May 2016, at 16:21, Marc Joliet wrote: > > (Note: I am not subscribed to this ML, so please be sure to CC me in replies.) > > Hello, > > I see a strange bug when running dovecot under btrfs with a mailbox in mdbox > format. At some point, which can take a few minutes or more than a day,

Re: Dovecot + libsodium

2016-05-06 Thread Timo Sirainen
On 06 May 2016, at 13:14, Andreas Meyer wrote: > > Hi, > > Thank you very much for creating and maintaining dovecot! > > In my scenario, I want to use the password hash algorithms provided by > libsodium: https://download.libsodium.org/doc/ > > So my difficulty is to have dovecot support libso

Re: indexer-worker out of memory with vsz_limit=750 MB?!

2016-05-17 Thread Timo Sirainen
> On 15 May 2016, at 17:28, aki.tu...@dovecot.fi wrote: > >> >> On May 15, 2016 at 2:48 PM Peer Heinlein >> wrote: >> >> >> >> We're running 2.2.24 with fts_lucene and I wonder why indexer-working >> can be out-of-memory even with >> >> vsz_limit=750 MB >> >> ?! >> >> Peer >> >> >> May

Re: BUG?: Dsync over piped process (DSYNC_RUN_TYPE_CMD): EPIPE if X (done) is received in another write after F (finish)

2016-05-19 Thread Timo Sirainen
On 19 May 2016, at 03:54, J. Nick Koston wrote: > > Hi, > > It appears that dsync closes the file handle once it gets the F (finish) > response even if it hasn’t received the X (done) response. > If the X (done) response gets delivered in another write this will generate > EPIPE in the connec

Re: Increased errors "Broken MIME parts" in log file

2016-06-02 Thread Timo Sirainen
On 01 Jun 2016, at 16:48, Alessio Cecchi wrote: > > Hi, > > after the last upgrade to Dovecot 2.2.24.2 (d066a24) I see an increased > number of errors "Broken MIME parts" for users in dovecot log file, here an > example: > > Jun 01 15:25:29 Error: imap(alessio.cec...@skye.it): Corrupted index

Re: Update Kills Dovecot

2016-06-06 Thread Timo Sirainen
> On 05 Jun 2016, at 17:48, Sven Roellig wrote: > > Hi,i run Dovecot 2.3.0 Alpha > The last two Updates broken dovecot.in the mail.war log i became the error, > on every mail, > ..de)<3+RHF1k4VFfDOwAApDKQ5A>: Fatal: master: service(lmtp): child > 15299 killed with signal 6 (core dumps

Re: Questions about hardlinks, alternate storage and compression]

2016-06-07 Thread Timo Sirainen
gt; > Hi list, > any news regarding hardlinks + sieve/pigeonhole setup? > > Hardlinking seems a very important feature to me, and I would really like to > get it working. > > Thanks. > > On 30/11/2015 14:23, Timo Sirainen wrote: >> On 30 Nov 2015, at 10:21, Gi

Re: Increased errors "Broken MIME parts" in log file

2016-06-11 Thread Timo Sirainen
On 01 Jun 2016, at 16:48, Alessio Cecchi wrote: > > Hi, > > after the last upgrade to Dovecot 2.2.24.2 (d066a24) I see an increased > number of errors "Broken MIME parts" for users in dovecot log file, here an > example: > > Jun 01 15:25:29 Error: imap(alessio.cec...@skye.it): Corrupted index

Re: Increased errors "Broken MIME parts" in log file

2016-06-11 Thread Timo Sirainen
On 11 Jun 2016, at 21:29, Timo Sirainen wrote: > > On 01 Jun 2016, at 16:48, Alessio Cecchi wrote: >> >> Hi, >> >> after the last upgrade to Dovecot 2.2.24.2 (d066a24) I see an increased >> number of errors "Broken MIME parts" for users in doveco

Re: Scalability of Dovecot in the Cloud

2016-06-11 Thread Timo Sirainen
On 04 Jun 2016, at 21:28, KT Walrus wrote: > > Does anyone have any idea of how many IMAP connections a single cloud VM (4 > vCores at 2.4GHz, 30GB RAM, local SSD storage - non-RAID) can be expected to > handle in production. The mailboxes are fairly small (average 5MB total - > 50MB max, as I

Re: Pluggable SNI?

2016-06-21 Thread Timo Sirainen
On 21 Jun 2016, at 22:58, Felipe Gasper wrote: > > Hello, > > How feasible would it be to have a “pluggable” Dovecot setup that would > permit arbitrary logic for fetching TLS/SNI certificates and key, rather than > having to hard-code each domain’s resources in a configuration file? >

Re: Dovecot 2.2.24 coredump client_check_command_hangs()

2016-06-21 Thread Timo Sirainen
On 08 Jun 2016, at 12:23, Peter Eriksson wrote: > > I’m seeing core dumps from Dovecot’s imap process (around 1/day currently) > from client_check_command_hangs(). > > Dovecot 2.2.24 > OS: Solaris 10 > CPU: x86 > Filesystem: Local ZFS > > Most crashes are associated with one user (with 25GB of

Re: fts lucene crashes in 2.2.24

2016-06-21 Thread Timo Sirainen
On 29 May 2016, at 10:56, Wolfgang Rosenauer wrote: > > Hi, > > I've just enabled FTS via Lucene on my Dovecot 2.2.24 installation but I > see the indexer crashing ?always?. > > This simple testcase with a very tiny testing mailbox exposes the issue > immediately: > > doveadm -v index -u anmes

Re: Bug with shared access to mailbox

2016-06-21 Thread Timo Sirainen
On 03 Jun 2016, at 11:26, Dave wrote: > >> We tested with 2.2.24, and were unable to reproduce the error. Can you >> try again with 2.2.24? > > Apologies for butting in, but I've been seeing exactly the same issue post > upgrade to 2.2.24 (from 2.2.18): > > [2016-06-02T10:38:28+0100] imap(

Re: autocreate: We need "auto=init"!

2016-06-21 Thread Timo Sirainen
On 13 May 2016, at 13:30, Peer Heinlein wrote: > > > There had been several discussions about the common problem, that > there's need for a autocreate-function that creates mailboxes ONLY for > new users that had never been logged in before. > > The reason: Existing users already HAVE "special

Re: chroot: Error: Temp file creation to /tmp

2016-06-28 Thread Timo Sirainen
On 28 Jun 2016, at 10:55, bvr wrote: > > > Hello, > > We are using dovecot (2.2.10) and it's working great! When I enable chrooting > by appending /./ to the homedirs I'm getting errors like this: > > mail1 dovecot[47074]: imap(user): Error: Temp file creation to > /tmp/dovecot.imap.mail1.70

Re: External mail attachments storage cleanup

2016-06-28 Thread Timo Sirainen
On 27 Jun 2016, at 16:11, Николай Мананков wrote: > > Hi, > > I have set up mdbox backend witch saving mail attachments to external files > option. Dovecot store attachments to external files but never delete them. You haven't run doveadm purge?

Re: dsync unstable? (other strange detail)

2016-06-28 Thread Timo Sirainen
On 27 Jun 2016, at 08:28, Heiko Schlittermann wrote: > > Hi, > > I'm trying to migrate from Cyrus (remote side) to Dovecot 2.2.24 (local). > On the local side the destinations folders, and indexes are empty. > > The command I'm using is > > doveadm \ >-o mail_plugins= \ >-o ima

Re: exempt local auth-client UNIX socket from failed login penalty // add to login_trusted_networks ?

2016-06-28 Thread Timo Sirainen
On 24 Jun 2016, at 13:33, Steffen Kaiser wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > I'm using Dovecot v2.2 with unix_listener auth-client { > } to verify passwords for a different service. However, it looks like that > auth_failure_delay effects all connects going

Re: Disabling passdb pam in local.conf

2016-06-28 Thread Timo Sirainen
On 22 Jun 2016, at 09:48, Patrick Ben Koetter wrote: > > * Patrick Ben Koetter : >> * Marcus Rueckert : What am I missing? >>> >>> That 10-auth.conf is actually meant to be edited. most distros should >>> have configuration file handling pretty much figured out by now. so >>> none of your c

Re: Suggestion: Split login_trusted_networks

2016-06-28 Thread Timo Sirainen
On 27 Jun 2016, at 15:46, Peter Mogensen wrote: > > Hi, > > For the upcoming 2.3 development, I'd like to re-suggest this: > > It seems the use of login_trusted_networks is overloaded. > > Example: > * It's used for indicating which hosts you trust to provide XCLIENT remote > IP's. (like a pr

Re: Suggestion: Split login_trusted_networks

2016-06-28 Thread Timo Sirainen
> On 29 Jun 2016, at 00:49, Timo Sirainen wrote: > > On 27 Jun 2016, at 15:46, Peter Mogensen wrote: >> >> Hi, >> >> For the upcoming 2.3 development, I'd like to re-suggest this: >> >> It seems the use of login_trusted_networks is overloa

Re: dsync unstable? (other strange detail)

2016-06-28 Thread Timo Sirainen
On 29 Jun 2016, at 00:53, Heiko Schlittermann wrote: > > Hi, > Timo Sirainen (Di 28 Jun 2016 23:30:38 CEST): >>> >>> On successive runs of the above command I get: >>> >>> dsync(heiko): Warning: Deleting mailbox 'Serververwaltung.Mailin

Re: FTS search used / useful on an IMAP proxy?

2016-06-28 Thread Timo Sirainen
On 28 Jun 2016, at 16:07, Luca Lesinigo wrote: > > We are preparing an IMAP proxy based on dovecot-2.2.22, basic proxy > functionality is already working and I’m trying to understand if having the > FTS service configured on the dovecot *proxy* would be of any use. > > I do suspect it would be

Re: dsync unstable? (other strange detail)

2016-06-28 Thread Timo Sirainen
On 29 Jun 2016, at 01:13, Heiko Schlittermann wrote: > > Timo Sirainen (Mi 29 Jun 2016 00:00:11 CEST): > … >>>> b) UID=16 suddenly appeared on Cyrus side even though it wasn't there >>>> earlier. This isn't allowed by IMAP standard. >> It'

Re: SSL Problem with -git master-2.2 tip (24 June 16)

2016-06-29 Thread Timo Sirainen
On 24 Jun 2016, at 01:51, Reuben Farrelly wrote: > > Current master-2.2 branch of Dovecot compiles for me on Gentoo x86_64 but > experiences symbol errors when starting up: > > Jun 24 08:38:00 thunderstorm dovecot: lmtp(8180): Fatal: Couldn't load > required plugin /usr/lib64/dovecot/libssl_io

Re: Unread Mail flag being reset frequently with dovecot -git master-2.2

2016-06-29 Thread Timo Sirainen
On 24 Jun 2016, at 06:18, Reuben Farrelly wrote: > > Hi again, > > I'm experiencing problems with the Dovecot git master-2.2 branch, in which > mails that have been previously read are randomly appearing as unread. This > happens slowly and affects more and more emails the more changes that o

Re: Error when searching in mailfolders

2016-06-29 Thread Timo Sirainen
On 29 Jun 2016, at 16:40, Christoph Pleger wrote: > > Hello, > > I just found that with my dovecot 2.2.21, when I use squirrelmail to > search for something in my mailfolders, that fails with > > ERROR: Connection dropped by IMAP server. > Query: SEARCH CHARSET ISO-8859-1 ALL FROM "someone" >

Re: mail-search backtrace

2016-06-29 Thread Timo Sirainen
On 21 May 2016, at 22:17, Hugh Bragg wrote: > > dovecot-virtual files look like this: > # cat virtual/all/dovecot-virtual > * > all > # cat virtual/Unseen/dovecot-virtual > virtual.all > inthread refs unseen > > > A fresh trace: > > May 21 00:28:08 imap(x@y): Panic: file mail-search.c: line

Re: [patch] Fix for returning NULL values in SQL dict lookups

2016-06-29 Thread Timo Sirainen
On 11 May 2016, at 23:49, NederHost/Sebastiaan Hoogeveen wrote: > > Hi, > > I noticed a bug doing dict lookups on an SQLite database which had NULL > values in its columns; a segmentation fault occurred, probably due to a null > pointer dereference in str_tabescape. The problem is that sqlite

Re: SSL Problem with -git master-2.2 tip (24 June 16)

2016-06-29 Thread Timo Sirainen
On 30 Jun 2016, at 01:09, Reuben Farrelly wrote: > > On 30/06/2016 1:40 AM, Timo Sirainen wrote: > >> On 24 Jun 2016, at 01:51, Reuben Farrelly wrote: >>> Current master-2.2 branch of Dovecot compiles for me on Gentoo x86_64 but >>> experiences symbol errors

Re: SSL Problem with -git master-2.2 tip (24 June 16)

2016-06-29 Thread Timo Sirainen
On 30 Jun 2016, at 01:22, Reuben Farrelly wrote: > > On 30/06/2016 8:17 AM, Timo Sirainen wrote: > >> On 30 Jun 2016, at 01:09, Reuben Farrelly wrote: >>> On 30/06/2016 1:40 AM, Timo Sirainen wrote: >>> >>>> On 24 Jun 2016, at 01:51, Reuben Farrel

v2.2.25 release candidate released

2016-06-30 Thread Timo Sirainen
http://dovecot.org/releases/2.2/rc/dovecot-2.2.25.rc1.tar.gz http://dovecot.org/releases/2.2/rc/dovecot-2.2.25.rc1.tar.gz.sig Quite a lot of changes. Please test out before the final v2.2.25 release, which I'm planning for tomorrow. Especially the new lib-dcrypt might have compiling problems wit

Re: Error when searching in mailfolders

2016-06-30 Thread Timo Sirainen
> On 30 Jun 2016, at 15:56, Christoph Pleger wrote: > > Hello, > Lucene library is throwing an error, which crashes Dovecot. Maybe Dovecot should catch the error, but it would still be broken. Try deleting the > lucene indexes and rebuilding them? >>> Deleting the indexes helped, but

Re: v2.2.25 release candidate released

2016-06-30 Thread Timo Sirainen
On 30 Jun 2016, at 15:49, Timo Sirainen wrote: > > http://dovecot.org/releases/2.2/rc/dovecot-2.2.25.rc1.tar.gz > http://dovecot.org/releases/2.2/rc/dovecot-2.2.25.rc1.tar.gz.sig > > Quite a lot of changes. Please test out before the final v2.2.25 release, > which I'

Re: v2.2.25 release candidate released

2016-06-30 Thread Timo Sirainen
On 30 Jun 2016, at 17:26, Odhiambo Washington wrote: > > FreeBSD 9.3-STABLE FreeBSD 9.3-STABLE amd64: > > sha1.h:80: error: static or type qualifiers in abstract declarator What gcc version is this? It should have been valid C99 code, so I expected it to work without any special version check

v2.2.25 released

2016-07-01 Thread Timo Sirainen
http://dovecot.org/releases/2.2/dovecot-2.2.25.tar.gz http://dovecot.org/releases/2.2/dovecot-2.2.25.tar.gz.sig Some minor fixes and (mainly logging) improvements since rc1. * lmtp: Start tracking lmtp_user_concurrency_limit and reject already at RCPT TO stage. This avoids MTA u

Re: v2.2.25 released

2016-07-01 Thread Timo Sirainen
On 01 Jul 2016, at 19:09, Juan C. Blanco wrote: > > I Haven't had the time to check the sha1.h error with the new fixes but I've > just done so after de 2.2.25 release was out and I'm having the same error: > > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_

Re: kqueue crash on FreeBSD with 2.2.25

2016-07-01 Thread Timo Sirainen
On 01 Jul 2016, at 19:39, Adam Weinberger wrote: > > Hi, > > 2.2.25 crashes on FreeBSD with a kqueue-related message. I see references to > something similar (http://www.dovecot.org/list/dovecot/2012-February.txt) > from a couple years ago. > > I get: > Jul 1 10:07:27 imap dovecot: master: P

Re: kqueue crash on FreeBSD with 2.2.25

2016-07-02 Thread Timo Sirainen
On 02 Jul 2016, at 03:30, Adam Weinberger wrote: > >>> Jul 1 10:07:27 imap dovecot: master: Panic: kevent(EV_ADD, READ, 54) >>> failed: Bad file descriptor >>> >>> It's not dumping core, and I get the message even with "protocols =" >>> >>> Downgrading back to 2.2.24 fixes it. What info would

Re: kqueue crash on FreeBSD with 2.2.25

2016-07-05 Thread Timo Sirainen
>> Jul 1 10:07:27 imap dovecot: master: Panic: kevent(EV_ADD, READ, 54) >> failed: Bad file descriptor Here's the fix for this: https://github.com/dovecot/core/commit/ffd8dc932516bc55bf01d91355540daab365e5e9

Re: "anvil: Error: connect limit: disconnection for unknown pid 17659 + ident lmtp/backup@backup.invalid"

2016-07-11 Thread Timo Sirainen
On 07 Jul 2016, at 15:31, Ralf Hildebrandt wrote: > > I updated to 2.3.0 today, and now I'm getting these entries in my log: > > Jul 7 14:26:20 mail-cbf dovecot: anvil: Error: connect limit: disconnection > for unknown pid 17687 + ident lmtp/backup@backup.invalid Fixed: https://git.dovecot.n

Re: Panic: file mdbox-save.c: line 337: unreached

2016-07-11 Thread Timo Sirainen
On 10 Jul 2016, at 17:44, Leon Kyneur wrote: > > Recently updated to 2.2.25. Noticed a migration script I've been previously > running fine started giving me the errors below. > > Remove server doesn't log any failure. doveconf -n attached. > > + /bin/doveadm -o mail_fsync=never backup -R -u u

Re: 2.3.0~alpha0-1~auto+197: Crash when openening a message via IMAP

2016-07-11 Thread Timo Sirainen
On 11 Jul 2016, at 14:15, Ralf Hildebrandt wrote: > > From the log: > > Jul 11 13:12:42 mproxy dovecot: imap-login: Login: user=, > method=PLAIN, rip=141.42.206.36, lip=141.42.206.11, mpid=27254, TLS, > session= > Jul 11 13:12:44 mproxy dovecot: imap(hildeb): Panic: file > imap-client.c: line

Re: passdb {driver = shadow args = override_username=%variable}

2016-07-11 Thread Timo Sirainen
On 09 Jul 2016, at 13:01, UNIX admin wrote: > > Hello list > > I want to implement override_username = %variable for the "shadow" > driver, so that the following works: > > passdb { > driver = shadow > args = override_username=%Ln > } > > by "%variable", I mean "Variables" at http://wiki.dov

Re: passdb {driver = shadow args = override_username=%variable}

2016-07-11 Thread Timo Sirainen
On 11 Jul 2016, at 19:48, William L. Thomson Jr. wrote: > > On Saturday, July 09, 2016 12:01:43 PM UNIX admin wrote: >> Hello list >> >> I want to implement override_username = %variable for the "shadow" >> driver, so that the following works: >> >> passdb { >> driver = shadow >> args = overr

Re: Dovecot 2.2.25 compiling error

2016-07-11 Thread Timo Sirainen
> On 12 Jul 2016, at 02:16, Joseph Tam wrote: > > Aki Tuomi wrote: > Well, tried with or without patches, but got still same error: sha1.h:80: error: static or type qualifiers in abstract declarator >>> >>> For what it's worth, I get the same error compiling on Solaris 10. >>>

Re: is it possible to run a post-login script in a dovecot proxy with local auth?

2016-07-11 Thread Timo Sirainen
On 05 Jul 2016, at 02:14, Luca Lesinigo wrote: > > We’re using dovecot v2.2.22, authenticating on a local database (passdb with > sql driver), and then proxying the connections to the backend server returned > by passdb (proxy=y and backend in “host” column). To support some legacy > clients w

Re: Feature Request

2016-07-11 Thread Timo Sirainen
On 05 Jul 2016, at 00:39, Doug Hardie wrote: > > I would like to request an additional optional argument for queue-id to > dovecot-lda. The intended use for this argument is to include in the > logging. From what I can tell, the queue-id size is not consistent between > the various MTAs and

Re: Doveadm error

2016-07-24 Thread Timo Sirainen
On 23 Jul 2016, at 04:05, Alessio Cecchi wrote: > > Il 15.07.2016 16:03 aki.tu...@dovecot.fi ha scritto: >>> On July 12, 2016 at 4:30 PM László Károlyi wrote: >>> Hey everyone, >>> I've got a weird error since I upgraded to the latest dovecot on my FreeBSD >>> box: >>> root@postfixjail /# dovea

<    3   4   5   6   7   8   9   10   11   12   >