Re: Multiple core solr support

2015-10-13 Thread Timo Sirainen
> On 11 Oct 2015, at 08:42, Daniel Miller wrote: > > Is it possible to use variables, such as domain or username, in the plugin > url declaration? This would allow using multiple cores to separate the > stored indexes. So when my own giant mailbox gets corrupt...I don't have to > rebuild ev

Re: bug report: dovecot-imapd core dump

2015-10-13 Thread Timo Sirainen
On 10 Oct 2015, at 20:34, Tamas Papp wrote: > > Hi, > > Since I did not get any specific suggestions about this bug, I am > attaching another backtrace. Any suggestions for workarounds etc would > be appreciated -- should I regenerate the index? Or install a dovecot > from the repo where this mi

Re: doveadm index assertion failed

2015-10-13 Thread Timo Sirainen
On 05 Oct 2015, at 22:05, Nick Rosier wrote: > > Hi, > > one of my mailboxes returns following error when I run doveadm index on it: > > Panic: file charset-iconv.c: line 85 (charset_to_utf8_try): assertion failed: > (srcleft <= CHARSET_MAX_PENDING_BUF_SIZE) > > OS: FreeBSD 10.2 > Dovecot: 2.

Re: Unknown cache fields?

2015-10-13 Thread Timo Sirainen
On 05 Oct 2015, at 17:43, Larry Rosenman wrote: > > I assume this is expected, but just checking. I do NOT use POP3. > > Oct 5 09:41:20 thebighonker dovecot: indexer-worker(mrm): Debug: Ignoring > unknown cache field: pop3.order > Oct 5 09:41:20 thebighonker dovecot: indexer-worker(mrm): Debu

Re: TLS communication director -> backend with X.509 cert checks?

2015-10-13 Thread Timo Sirainen
On 13 Oct 2015, at 21:44, Heiko Schlittermann wrote: > > Hello, > > using Dovecot 2.2.9 and a setup with directors and backends. > The communication between directors and backends needs to be TLS > secured. > > The director config contains a list of hostnames for the backends. > (implicit list

Re: TLS communication director -> backend with X.509 cert checks?

2015-10-13 Thread Timo Sirainen
On 13 Oct 2015, at 22:18, Heiko Schlittermann wrote: > > Timo Sirainen (Di 13 Okt 2015 21:02:59 CEST): > … >>> On connection setup from a client the director connects to the >>> selected backend. But it seems (not checked in the source yet), >>> that

Re: TLS communication director -> backend with X.509 cert checks?

2015-10-13 Thread Timo Sirainen
> On 13 Oct 2015, at 22:21, Heiko Schlittermann wrote: > > Timo Sirainen (Di 13 Okt 2015 21:02:59 CEST): >>> the IP address the director connects to. >> >> Right. The hostnames are lost immediately at director startup. I've never >> really tho

Re: Dualstack IPv4/IPv6 setup with directors

2015-10-13 Thread Timo Sirainen
On 13 Oct 2015, at 22:31, Heiko Schlittermann wrote: > > Hi, > > still using 2.2.9, I've two directors, and these directors > use both IPv4/IPv6 addresses. > > `host directors.` returns one A and AAA for each > of the two directors: > >directors. has address 149.x.y.96 (direc

Re: Indexing fails with .. FIELDS_INDEX_EXTENSION).c_str() )' failed

2015-10-13 Thread Timo Sirainen
On 13 Oct 2015, at 23:25, Akash wrote: > > Hi, > > Mailing list archives suggest that this problem has been fixed in the > older versions itself but I am getting the error still while trying to > doveadm index a large folder of emails. Sometimes it throws error > after 3, something 4, th

Re: iterate users with passwd-file passdb?

2015-10-13 Thread Timo Sirainen
On 14 Oct 2015, at 00:01, Eric Abrahamsen wrote: > > Joseph Tam writes: > >> Eric Abrahamsen writes: >> >>> Simply: Is it possible to iterate over users if I'm using the >>> passwd-file passdb driver? Do I need a SQL-based driver if I want to >>> iterate? >> >> What do you mean by "iterate"?

Re: TLS communication director -> backend with X.509 cert checks?

2015-10-13 Thread Timo Sirainen
On 14 Oct 2015, at 00:34, Heiko Schlittermann wrote: > > Hi Timo, > > Heiko Schlittermann (Di 13 Okt 2015 22:33:23 CEST): >>> Does the attached patch work? Compiles, but untested. >> I'm about to test it. > > It seems to update the struct mail_host, but it looks as if the data > in mail_host

Re: doveadm index assertion failed

2015-10-17 Thread Timo Sirainen
On 16 Oct 2015, at 23:44, Nick Rosier wrote: > > >> gdb --args doveadm index -u user@domain INBOX >> run >> >> f 5 >> p src >> p ic_srcbuf >> p *src_size >> p srcleft > I recompiled Dovecot with Debug but I suspect I will have to do it for all > the required libraries as well; I did manage to

Re: Order in which UIDs are assigned..

2015-10-17 Thread Timo Sirainen
On 17 Oct 2015, at 10:24, Akash wrote: > > Hi, > > I just want some clarification on how Dovecot's IMAP assigns UIDs when it > picks files from the "new" directory of a Maildir. What I am observing is > that only ctime has a role to play in it. For example if there are two files > in "new", a

Re: doveadm-search-query pattern format

2015-10-17 Thread Timo Sirainen
> On 17 Oct 2015, at 03:05, Frank-Ulrich Sommer wrote: > > Hello, > > the doveadm-search-query documentation specifies a 'pattern' for many search > keys. Unfortunately it does not mention the format specification of this > pattern (special characters, wildcards, ...). I'm using dovecot 2.2.

Re: Order in which UIDs are assigned..

2015-10-17 Thread Timo Sirainen
> On 17 Oct 2015, at 11:44, Akash wrote: > >> Dovecot doesn't look at the new files' mtimes or ctimes, because that >> would require stat()ing the file, which slows it down. So it's using >> the timestamp in the Maildir filename itself. > > Thanks Timo for the clarification. Whats Dovecot's str

Re: More information about - Dovecot 2.2.x quota mysql and dict

2015-10-17 Thread Timo Sirainen
On 07 Oct 2015, at 01:34, Simon wrote: > > I some add information about bug... > > > Dovecot 2.2.19 version on server FreeBSD 10.2 Release. > Config quota (dict + mysql) > Database create Postfixadmin 2.3.7 > > Old version Dovecot 2.2.13 use method UPDATE in MySQL base + dict > example mysql.l

Re: More information about - Dovecot 2.2.x quota mysql and dict

2015-10-17 Thread Timo Sirainen
On 17 Oct 2015, at 13:29, Simon wrote: > > Thanks for your answer, Timo! :) > > I send to you my configoration for reproducing. .. > If need anymore about configuration, please write me. > Today I can respond quickly. What does Dovecot log when you deliver a new mail (with auth_debug=yes and m

Re: Hibernation disabled when mailbox selected

2015-10-18 Thread Timo Sirainen
On 18 Oct 2015, at 05:20, Joseph Tam wrote: > > > After setting imap_hibernate_timeout to 60s, I could not find any > hibernated connections after a few hours. I tested hibernation and made > an observation: IDLE'd imap sessions only hibernate if they don't have > a mailbox SELECT'd, otherwise

Re: Hibernation disabled when mailbox selected

2015-10-20 Thread Timo Sirainen
> On 18 Oct 2015, at 20:25, Timo Sirainen wrote: > > On 18 Oct 2015, at 05:20, Joseph Tam wrote: >> >> >> After setting imap_hibernate_timeout to 60s, I could not find any >> hibernated connections after a few hours. I tested hibernation and made >> an

Re: More information about - Dovecot 2.2.x quota mysql and dict

2015-10-20 Thread Timo Sirainen
On 17 Oct 2015, at 12:41, Timo Sirainen wrote: > >> Connect postfix@localhost on postfix >> 134 Query SELECT bytes FROM quota2 WHERE username = >> 'u...@mydomain.lan' >> 135 Query SELECT bytes FROM quota2 WHERE username = &g

Re: TLS communication director -> backend with X.509 cert checks?

2015-10-20 Thread Timo Sirainen
> On 15 Oct 2015, at 00:28, Heiko Schlittermann wrote: > > Hi Timo > > Heiko Schlittermann (Mi 14 Okt 2015 01:10:20 CEST): > … >> Ah, the information comes from the other director running. The other one >> is using an unpatched version of dovecot. > > Your patch for backend-certificate verifi

Re: doveadm index assertion failed

2015-10-20 Thread Timo Sirainen
> On 17 Oct 2015, at 11:12, Timo Sirainen wrote: > > On 16 Oct 2015, at 23:44, Nick Rosier wrote: >> >> >>> gdb --args doveadm index -u user@domain INBOX >>> run >>> >>> f 5 >>> p src >>> p ic_srcbuf >>> p

Re: Dovecot 2.2.19 - Panic: file dict-sql.c: line 670 (sql_dict_iterate): assertion failed: ((ctx->flags & DICT_ITERATE_FLAG_ASYNC) != 0)

2015-10-20 Thread Timo Sirainen
On 20 Oct 2015, at 12:26, mailing lists wrote: > > Hello everyone, > For this installation I am using passdb against AD, userdb with MySQL and nfs > storage but using simultaneously the vfile acl backend and the shared mailbox > dictionary I get the following panic: > Oct 19 12:34:51 server dov

Re: More information about - Dovecot 2.2.x quota mysql and dict

2015-10-22 Thread Timo Sirainen
On 19 Oct 2015, at 13:31, Timo Sirainen wrote: > > On 17 Oct 2015, at 12:41, Timo Sirainen wrote: >> >>> Connect postfix@localhost on postfix >>> 134 Query SELECT bytes FROM quota2 WHERE username = >>> 'u...@mydomain.lan' >>

Re: Question about dovecot replication

2015-10-24 Thread Timo Sirainen
> On 23 Oct 2015, at 15:51, Urban Loesch wrote: > > Hi, > > last week I installed 2 servers with two dovecot nodes and replication in > active/active mode located in different datacenters. > > Based on the howto from wiki "http://wiki2.dovecot.org/Replication"; it works > great. > According

Re: Notify plugin doesn't send mailbox_create notifications

2015-10-24 Thread Timo Sirainen
On 23 Oct 2015, at 20:46, Lukas Mika wrote: > > Hi there, > > I'm running dovecot 2.2.13 on my debian jessie server. > When installing my own dovecot plugin, I noticed that there are no > notifications coming from the notify plugin. > > I checked back with the mail_log plugin, but also this plu

Re: Memory leak or misconfiguration: Repeated allocation of very large block

2015-10-24 Thread Timo Sirainen
On 24 Oct 2015, at 14:59, Sebastian Wolfgarten wrote: > > Dear all, > > I am using Dovecot 2.2.19 and I keep on getting the following warnings in my > mail.log file on FreeBSD 10: > > Oct 24 10:45:28 server1 dovecot: imap: Error: GC Warning: Repeated allocation > of very large block (appr. si

Re: Dovecot, JavaMail, UIDs and Message Numbers

2015-10-29 Thread Timo Sirainen
On 10/28/2015 12:53 PM, Gabriele Bulfon wrote: > Hi, > new to this list, so a little prelude to my issue with Dovecot. > We have been using JavaMail against Cyrus for ages, and developed Webtop, a > huge Java web collaboration application running on them in production in > various installations

Re: Acl sql dict error, dict crashes

2015-10-29 Thread Timo Sirainen
On 29 Oct 2015, at 12:15, Christian Kivalo wrote: > > Hi, > > I configured shared mailboxes and get an error when i use SQL as the > acl_shared_dict. It works when i use a file instead. With SQL as the > shared_dict, dict crashes. > > Oct 29 10:12:13 uschi dovecot: dict(27421): Panic: file di

Re: Proxy with director accept only plain login

2015-10-29 Thread Timo Sirainen
On 27 Oct 2015, at 17:43, Andrey Fesenko wrote: > > Hello, i'm test system dovecot (proxy with director) and backend > storage, auth LDAP server (user plain passwords) > > If i use plain auth, work fine. > > If connect DIGEST-MD5 or CRAM-MD5 proxy not redirect connection > (Requested DIGEST-MD5

Re: 2.2.19 crash

2015-10-29 Thread Timo Sirainen
On 10/29/2015 03:01 PM, Toni Mattila wrote: > Hi All, > > I also tried with 16ff395c156e and 3d576d682137 patches that touch > lib-storage/notify and still 2.2.19 cores: > > Core was generated by `dovecot/imap'. > Program terminated with signal 11, Segmentation fault. > #0 0x0043bb8c in mailbox

Re: fail: doveadm backup -s "" with a huuge number of mailboxes

2015-11-12 Thread Timo Sirainen
On 12 Nov 2015, at 12:56, Heiko Schlittermann wrote: > > Hello, > > I'm using 2.2.13. > > For syncing I'm using repetitions of about the > following (simplified for readability): > >state_file=.s >doveadm \ >-o imapc_master_user= \ >-o imapc_password= \ >-o

Re: Disabling auth fallback to PAM

2015-11-20 Thread Timo Sirainen
> On 17 Nov 2015, at 22:51, martin f krafft wrote: > > Hi folks, > > According to the wiki,¹ it's considered a feature of Dovecot and its > ability to support multiple authentication sources that "if the > password doesn't match in the first database, it checks the next > one". > > ¹) http://w

Re: Shortcomings of Maildir++ layout

2015-11-20 Thread Timo Sirainen
> On 18 Nov 2015, at 23:00, Hadmut Danisch wrote: > >> Sounds more like you just introduced a new self-created problem that > would require yet another workaround.. ;-) > > Definitely wrong. > > Appending .dir to directories and .folder to folder files keeps files > completely distinct and

Re: doveadm import/sync with read-only source location

2015-11-20 Thread Timo Sirainen
On 17 Nov 2015, at 13:03, Anton Cheyvhchalov wrote: > > > +1 to that idea. > > Ask the same couple month before during migration from 1.x to 2.x but got no > answer from someone who able to change this. Troublesome.. Probably nicest way to implement this would be to add a new "maildir_lock_

Re: Problems Converting from Cyrus to Dovecot (cyrus2dovecot)

2015-11-26 Thread Timo Sirainen
v2.2.19 has many fixes related to dsync+imapc, which were found while migrating several million users from GMail. I'm not aware of any problems with it now. Also even before v2.2.19 dsync+imapc has been used to successfully do many large migrations. > On 26 Nov 2015, at 17:49, FUSTE Emmanuel

Re: FTS, multiple virtualmailbox entries for single mailbox

2015-11-26 Thread Timo Sirainen
> On 12 Nov 2015, at 22:35, Frank de Bot (lists) wrote: > > Hi, > > i have a dovecot setup with virtual users. Each user has 2 entries for > his mailbox. One is with the username formatted as > %username%@%default_realm% , the other %username%@%domain% passdb and userdb should change the user

Re: Dsync problems

2015-11-26 Thread Timo Sirainen
> On 08 Nov 2015, at 23:23, Frank de Bot (lists) wrote: > > Hi, > > I'm setting up a migration between 2 dovecot servers 2.1.12 to 2.2.19 . > I've ran into some issues with dsync. > > I use the following command for syncing: > > doveadm -o mail_fsync=never -o imapc_host=%remote% -o > imapc_ma

Re: dsync imapc authentication mechanisms

2015-11-26 Thread Timo Sirainen
> On 05 Nov 2015, at 10:21, Randall Gellens wrote: > > I'm trying to use dsync to mirror mail onto a remote IMAP server. > The remote server is generating an error that authentication via > plain text is not permitted. Does dsync imapc support any > non-clear-text authentication mechanisms?

Re: auth_request_get_var_expand test fails on big endian arches.

2015-11-27 Thread Timo Sirainen
On 02 Nov 2015, at 15:28, Rafael dos Santos wrote: > > Hi, > > when running the tests in a big endian machine, I get the following error: > > 0 / 1 tests failed > test-auth-request-var-expand.c:99: Assert failed: strcmp(str_c(str), > test_output) == 0 > test-auth-request-var-expand.c:104: Asser

Re: IMAP COPY creates invalid index data with zlib and mail_log plugins enabled but zlib_save off

2015-11-27 Thread Timo Sirainen
> On 02 Nov 2015, at 22:12, Robert L Mathews wrote: > > On 10/30/15 3:06 PM, Robert L Mathews wrote: > >> I've noticed that maildir IMAP COPY commands can generate invalid >> dovecot.index entries when all seven of the following are true: > > As a followup to my own post, I believe I've tracke

Re: fts_solr does not quote lucene's special characters

2015-11-27 Thread Timo Sirainen
On 01 Nov 2015, at 19:03, Michael Stilkerich wrote: > > Hello, > > I am using Dovecot 2.2.19 with the solr backend for full text search and > experience the following issue. > > When I issue a search that includes characters that are part of lucene's > query syntax (e.g. the double quote cha

Re: How to delete "proxy" attribute in passdb lookup?

2015-11-28 Thread Timo Sirainen
On 28 Nov 2015, at 09:26, Peer Heinlein wrote: > Is there any way to override/delete an existing true/false attribute > like "proxy"? Not right now, because any value at all is treated as "true" (and I'm pretty sure even empty value). I suppose the best solution would be to finally change all

Re: How to delete "proxy" attribute in passdb lookup?

2015-11-29 Thread Timo Sirainen
On 29 Nov 2015, at 19:00, Peer Heinlein wrote: > >> It would probably also be useful to add support for removing a >> field entirely, such as returning "-proxy" (where the =value would >> be ignored). I'm not entirely sure how useful that would be >> though. > > Why don't just enable > > overri

Re: Questions about hardlinks, alternate storage and compression]

2015-11-30 Thread Timo Sirainen
On 30 Nov 2015, at 10:21, Gionatan Danti wrote: > > So, let me do a straigth question: is someone using dovecot/LMTP with > hardlinking? To me, this seems a _very_ important feature, and I wonder if I > am doing something wrong or if the feature (hardlink+sieve) simply does not > exists. Hard

Re: Questions about hardlinks, alternate storage and compression]

2015-11-30 Thread Timo Sirainen
On 30 Nov 2015, at 17:48, Gionatan Danti wrote: > > Hi Timo, > glad to know it is in your TODO list ;) It's been for many years. > Any rough ETA on that? Right now it doesn't seem likely to be developed anytime soon. > Thanks. > > On 30/11/2015 14:23, Timo Si

Re: Looks like a bug to me: Dovecot ignores Maildir/new timestamp

2015-12-01 Thread Timo Sirainen
> On 01 Dec 2015, at 12:30, Fredrik Roubert wrote: > > Hello! > > I run Debian jessie and have an issue with the interaction between > Dovecot (2.2.13), Mutt (1.5.23) and the Android Gmail (5.8.105868218) > IMAP client, when using Maildir: > > I use Dovecot LMTP for local delivery into Maildir

Re: Let lmtp create target directories

2015-12-01 Thread Timo Sirainen
On 26 Nov 2015, at 04:12, martin f krafft wrote: > > Hello, > > we're using vmm¹ to manage our postfix+dovecot virtual mail setup, > which allows us to give every virtual user a separate EUID and every > domain a separate EGID for additional security (vs. handling all > virtual mail with a singl

Re: CentOS rpm dovecot 2.2.10 auth/db-ldap.c TLS bug/patch

2015-12-01 Thread Timo Sirainen
On 25 Nov 2015, at 15:42, Andrey Fesenko wrote: > > Hello, > CentOS rpm dovecot 2.2.10 сontains bug auth/db-ldap.c TLS (not connect > LDAP+TLS server ldaps://), exist bug/patch > https://bugs.centos.org/view.php?id=8267 > > As far as the correct patch in upstream dovecot quite a lot of changes >

Re: Dovecot doesn't sent rejection message user overquota

2015-12-01 Thread Timo Sirainen
On 01 Dec 2015, at 17:10, Antonello Cioffi wrote: > > Hi > > I'm using postfix+dovecot (2.2.18). > > The problem is that dovecot silently discard message when user has its own > mailbox full without sending rejection message to the sender. > > Here a sample log: > > Dec 1 14:54:23 posta2 p

Re: mail_log plugin and uid=error in log file

2015-12-01 Thread Timo Sirainen
On 01 Dec 2015, at 11:36, Alessio Cecchi wrote: > > Hi, > > I enabled notify and mail_log plugins to log the message uid for new emails > delivered via LMTP. All works fine except that the uid is not always logged > (see uid=error instead of uid=NUMBER) > > from dovecot.log: > > Dec 01 10:03

Re: mail_log & doveadm

2015-12-01 Thread Timo Sirainen
On 01 Dec 2015, at 18:27, Larry Rosenman wrote: > > Is there any way to have doveadm NOT log using mail_log, but have the > daemons do it? > (or have doveadm's log go to syslogd)? > > Thanks! > > ex: > doveadm(ler): Info: copy from SA/FN: box=#ARCHIVE/2015/11/SA/FN, uid=1, > msgid=, size=107835

Re: doveadm backup -R

2015-12-02 Thread Timo Sirainen
On 02 Dec 2015, at 10:25, Peer Heinlein wrote: > > > > We're using > > doveadm -o imapc_user="$USER" -o imapc_password="$PASSWORD" -o > imapc_host=$SERVER1 -o pop3c_user="$USER" -o pop3c_password="$PASSWORD" > -o pop3c_host=$SERVER1 -D -v backup -R -u "$USER" imapc: > > to migrate Mails fro

Re: [patch] Fix for bug in TLS/SSL for LMTP with chained certificates

2015-12-03 Thread Timo Sirainen
On 02 Dec 2015, at 17:38, NederHost/Sebastiaan Hoogeveen wrote: > > Hi, > > In case of tl;dr: I fixed a bug in TLS support for LMTP which caused chained > certificates not to work, and another one which caused certificate read > errors to be ignored; the patches are attached to this email. >

Re: How do we disable LOGIN-REFERRALS? (part 2)

2015-12-03 Thread Timo Sirainen
On 12/03/2015 01:46 PM, sb wrote: > From /opt/src/dovecot-2.2.19/doc/wiki/PasswordDatabase.ExtraFields.Host.txt >> Login referrals are an IMAP extension specified by RFC 2221 >> [http://www.apps.ietf.org/rfc/rfc2221.html]. They're not supported by >> many >> clients, so you probably don't want to u

Re: How do we disable LOGIN-REFERRALS? (part 2)

2015-12-03 Thread Timo Sirainen
On 03 Dec 2015, at 15:17, sb wrote: > > On 12/3/15 1:32 PM, Timo Sirainen wrote: >> As long as Dovecot doesn't return any login-referrals (which it doesn't >> by default), I don't see why having LOGIN-REFERRALS in the CAPABILITY >> reply would matter. >

v2.2.20 release candidate released

2015-12-03 Thread Timo Sirainen
http://dovecot.org/releases/2.2/rc/dovecot-2.2.20.rc1.tar.gz http://dovecot.org/releases/2.2/rc/dovecot-2.2.20.rc1.tar.gz.sig v2.2.20 probably will be released tomorrow or maybe during weekend. + Added mailbox { autoexpunge= } setting. See http://wiki2.dovecot.org/MailboxSettings for details.

Re: [Dovecot-news] v2.2.20 release candidate released

2015-12-03 Thread Timo Sirainen
> On 03 Dec 2015, at 16:09, Thomas Leuxner wrote: > > * Timo Sirainen 2015.12.03 14:51: > >> + Added mailbox { autoexpunge= } setting. See >> http://wiki2.dovecot.org/MailboxSettings for details. > > namespace inbox { > mailbox Trash { >autoexpung

Re: How do we disable LOGIN-REFERRALS? (part 2)

2015-12-03 Thread Timo Sirainen
> On 03 Dec 2015, at 17:20, sb wrote: > > On 12/3/15 2:49 PM, Timo Sirainen wrote: > >> There is no code that can be disabled on Dovecot side. >> I think you need to read how LOGIN-REFERRALs actually work. > > This is an excerpt from the RFC: > >> A

Re: Dovecot cluster using GlusterFS

2015-12-06 Thread Timo Sirainen
On 05 Dec 2015, at 11:42, Filip Pytloun wrote: > > Anyway because of the above and high possibility of GlusterFS > split-brains, I have decided to setup Dovecot Director according to the > docs [1] but I have a couple of questions: > > - is custom monitoring still required? Poolmon [2] is 4 year

Re: LIST MANAGEMENT BROKEN

2015-12-06 Thread Timo Sirainen
> On 06 Dec 2015, at 05:05, Edwardo Garcia wrote: > > Timo > I have for two days try to unsubscribe from this list using email mailman. > The list server does not send me confirmation request. > Please fix your server and remove me Your mail kept getting stuck at spamassassin for some reason. I

Re: ACL Troubles

2015-12-06 Thread Timo Sirainen
> On 05 Dec 2015, at 00:17, Bobber wrote: > > Using dovecot version 2.2.19. > > In the config file I have the following to set up acls: > > > mail_plugins = $mail_plugins acl > > protocol imap { > > mail_plugins = $mail_plugins imap_acl > > } > > > plugin { > > acl = vfile:/usr/local/etc/d

Re: mailbox_list_index and maildir_very_dirty_syncs are in conflicts?

2015-12-06 Thread Timo Sirainen
On 05 Dec 2015, at 20:40, Alessio Cecchi wrote: > > Hi, > > I’m running Dovecot 2.2.19 with Maildir as storage and LDA for delivery. > > I noticed that if I set mailbox_list_index=yes and > maildir_very_dirty_syncs=yes when I login via IMAP the STATUS command don’t > “see” new messages in sub

Re: v2.2.20 release candidate released

2015-12-06 Thread Timo Sirainen
On 05 Dec 2015, at 11:32, Gerhard Wiesinger wrote: > > Is it possible to configure the secure session caching mechanism? > e.g. like in nginx: https://bjornjohansen.no/optimizing-https-nginx I remember hearing about various security vulnerabilities in that earlier.. I guess they're fixed now th

Re: Dovecot 2.2.18.2: Panic: file fs-api.c: line 756 (fs_copy): assertion failed: (src->fs == dest->fs)

2015-12-06 Thread Timo Sirainen
On 27 Oct 2015, at 14:26, Frank Mehrtens wrote: > > Hello, > > a colleague found some strange messages in the logs: > > Oct 27 13:08:43 mail dovecot: lmtp(mailarc...@domain.de): Panic: file > fs-api.c: line 756 (fs_copy): assertion failed: (src->fs == dest->fs) Same mail with attachments was

Re: quota_full_tempfail = yes broken with lmtp_rcpt_check_quota (was: Re: lmtp_rcpt_check_quota not working)

2015-12-06 Thread Timo Sirainen
> On 29 Jan 2015, at 14:53, Bernhard Schmidt wrote: > > - In 2.2.9 and 2.2.13 lmtp_rcpt_check_quota is ignored > - In 2.2.15 lmtp_rcpt_check_quota works, but quota_full_tempfail is > ignored at the RCPT TO stage. It still works at the DATA stage, so > disabling lmtp_rcpt_check_quota is a worka

Re: SIS attachments compressed

2015-12-06 Thread Timo Sirainen
> On 03 Jun 2015, at 18:29, Juan Carlos Sanchez > wrote: > > Hello: > > In case it is defined to use zlib compression, does SIS save attachments > compressed? > > I have found this question replied in the past (2012) and the answer was NO. > I ask again just to know if there have been chang

Re: [PATCH] [dovecot 2.2.9] Quota warnings ignored with FS quotas

2015-12-06 Thread Timo Sirainen
On 23 Mar 2015, at 22:32, Michał Giżyński wrote: > > > On 17.02.2015 20:03, Michał Giżyński wrote: >> >> On 21.11.2014 20:04, Grzegorz Nosek wrote: >>> Hi all, >>> >>> I noticed that in some circumstances quota warnings are ignored. The bug >>> arises when both of the following are used: >>>

Re: mmap_disable=yes not honored always

2015-12-06 Thread Timo Sirainen
On 10/15/2014 06:31 PM, Peter Benko wrote: > garbled> > > Hi all, > > I'm experimenting with having the mail store on a 9p file system that lacks > mmap() functionality. So I disabled it in dovecot: > > mmap_disable = yes > > However, I keep getting the following error messages in my log:

v2.2.20 released

2015-12-07 Thread Timo Sirainen
http://dovecot.org/releases/2.2/dovecot-2.2.20.tar.gz http://dovecot.org/releases/2.2/dovecot-2.2.20.tar.gz.sig This could be (one of) the last v2.2.x release. We're starting v2.3 development soon. + Added mailbox { autoexpunge= } setting. See http://wiki2.dovecot.org/MailboxSettings for det

Re: v2.2.20 released

2015-12-08 Thread Timo Sirainen
On 08 Dec 2015, at 17:23, Götz Reinicke - IT Koordinator wrote: > > Hi, > Am 07.12.15 um 20:13 schrieb Timo Sirainen: >> http://dovecot.org/releases/2.2/dovecot-2.2.20.tar.gz >> http://dovecot.org/releases/2.2/dovecot-2.2.20.tar.gz.sig >> >> This could be

Re: Which mail does a certain attachment belong to?

2015-12-08 Thread Timo Sirainen
On 08 Dec 2015, at 14:49, Ralf Hildebrandt wrote: > > I'm seeing this: > > ./17/3c/173c81da2aab91f225f8eb5e8fcc87119be4eff0-b38d990442316a54a90c8f4649af: > SecuriteInfo.com.TR.Kryptik.180736.5155.16748.22498.UNOFFICIAL FOUND > > ./17/3c/173c81da2aab91f225f8eb5e8fcc87119be4eff0-bc70851b03216

Re: Autoexpunge and special user namespace

2015-12-09 Thread Timo Sirainen
On 09 Dec 2015, at 01:36, Joseph Tam wrote: > > > I'm interested in replacing my cron script that expunges old > deleted mail with the new feature announced in 2.2.20 > >> + Added mailbox { autoexpunge= } setting. See >> http://wiki2.dovecot.org/MailboxSettings for details. > > To use it, I n

Re: core-dump in imap (Dovecot 2.2.19)

2015-12-09 Thread Timo Sirainen
> On 09 Dec 2015, at 10:55, Peter Eriksson wrote: > > Just found a coredump from the imap process for one of our users on dovecot > 2.2.19 on a Solaris 10/x86 system: > >> Dec 8 14:33:17 mail dovecot: [ID 583609 mail.crit] imap(leijo): Fatal: > master: service(imap): child 14465 killed with

Re: v2.2.20 released

2015-12-09 Thread Timo Sirainen
On 09 Dec 2015, at 13:30, sb wrote: > > Hello, > > No errors from the configuration, compilation or installation. > However, the following is not good. > > > doveadm mailbox list -u "hostmaster@${_fqdn}" > > doveadm(hostmaster@${_fqdn}): Panic: file mail-search-args-simplify.c: line > 363 (ma

Dovecot code repository moved to Github

2015-12-09 Thread Timo Sirainen
http://hg.dovecot.org/ is no longer being updated. The public repository exists now in https://github.com/dovecot/core instead. I'm not sure yet if we should continue pushing commit emails to dovecot-cvs list or if Github's internal notifications are enough. In any case dovecot-cvs list isn't w

Re: Autoexpunge and special user namespace

2015-12-09 Thread Timo Sirainen
> On 09 Dec 2015, at 23:51, Joseph Tam wrote: > > On Wed, 9 Dec 2015, Timo Siraine wrote: > >>> I'm interested in replacing my cron script that expunges old >>> deleted mail with the new feature announced in 2.2.20 + Added mailbox { autoexpunge= } setting. See http://wiki2.dovecot.org

Re: Have the Dovecot Enterprise Edition packages been discontinued?

2015-12-09 Thread Timo Sirainen
On 10 Dec 2015, at 06:53, deoren wrote: > > Hi, > > I've been using the Dovecot EE packages for Ubuntu for some time now and > just recently started getting 404 errors. Have those packages been > discontinued or is this just a temporary issue? They have moved, see the new installation manual:

Re: Dovecot code repository moved to Github

2015-12-10 Thread Timo Sirainen
> On 09 Dec 2015, at 23:31, Arkadiusz Miśkiewicz wrote: > > On Wednesday 09 of December 2015, Timo Sirainen wrote: >> http://hg.dovecot.org/ is no longer being updated. The public repository >> exists now in https://github.com/dovecot/core instead. > > Nice. > &

Re: autoexpunge creates special_use folder

2015-12-11 Thread Timo Sirainen
On 11 Dec 2015, at 16:00, Tom Sommer wrote: > > 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

v2.2.21 released

2015-12-11 Thread Timo Sirainen
http://dovecot.org/releases/2.2/dovecot-2.2.21.tar.gz http://dovecot.org/releases/2.2/dovecot-2.2.21.tar.gz.sig Due to a bit bad doveadm bugs in v2.2.20 here's a fixed v2.2.21. Also from this release forward we're finally using git with branches to make new releases. So new releases will have a

Re: 2.2.21: panic in stats-plugin.c: line 324 (stats_user_deinit): assertion failed: (stats_global_user == user)

2015-12-13 Thread Timo Sirainen
On 13 Dec 2015, at 03:53, Jakub Jankowski wrote: > > Hi, > > I've just upgraded dovecot to 2.2.21 (from 2.2.18), and I'm getting a crash > when doing dsync backup: > > $ dsync -v -u u...@domain.com backup > maildir:/backup/maildirs/domain.com/user/Maildir > dsync(u...@domain.com): Panic: file

Re: 2.2.21: doveadm expunge is broken

2015-12-13 Thread Timo Sirainen
> On 13 Dec 2015, at 19:56, Alexander Moisseev wrote: > > # doveadm expunge -u u...@example.com MAILBOX Trash ALL > Fatal: expunge: To avoid accidents, each branch in search query must contain > something else besides MAILBOX (e.g. just add "all" if you want everything) Fixed: https://github.

Re: v2.2.21 released

2015-12-13 Thread Timo Sirainen
On 13 Dec 2015, at 15:40, Gerhard Wiesinger wrote: > > On 11.12.2015 18:10, Timo Sirainen wrote: >> http://dovecot.org/releases/2.2/dovecot-2.2.21.tar.gz >> http://dovecot.org/releases/2.2/dovecot-2.2.21.tar.gz.sig >> > > Hello Timo, > > tried to compile

Re: And one more core-dump in imap:str.c str_append(cstr = NULL)

2015-12-16 Thread Timo Sirainen
On 15 Dec 2015, at 18:11, Peter Eriksson wrote: > > Dovecot 2.2.20 > Solaris 10 / x86 > Maildir > > q > > > (dbx) where > [1] strlen(0x0, 0x0, 0x491baa, 0x0, 0x4d1ed0, 0x4d1ed0), at > 0xfd7ffeaf6dd0 > =>[2] str_append(str = 0x4a9120, cstr = (nil)), line 96 in "str.c" > [3] client_get_c

Re: doveadm-server does NOT know fts commands

2015-12-16 Thread Timo Sirainen
> On 16 Dec 2015, at 13:01, SATOH Fumiyasu wrote: > > Hi, > > At Mon, 14 Jul 2014 19:42:10 +0900, > SATOH Fumiyasu wrote: >> I'm using Dovecot 2.2.13 with Dovecot Director, Doveadm server and FTS. >> I want to run doveadm on Director hosts, but Dovecot server on >> backend hosts reject "fts *"

Re: Assert failure in 2.2.20: imap-fetch.c:554 (ctx->client->output_cmd_lock || ctx->client->output_cmd_lock == cmd)

2015-12-16 Thread Timo Sirainen
On 15 Dec 2015, at 17:52, Peter Eriksson wrote: > > Just got another core-dump from Dovecot's imap process on our mail server. > > Dec 14 10:58:12 mail dovecot: [ID 583609 mail.crit] imap(oling): Panic: file > imap-fetch.c: line 554: assertion failed: (ctx->client->output_cmd_lock == > NULL ||

Re: LIST command should not interpret wildcards in reference

2015-12-16 Thread Timo Sirainen
On 14 Dec 2015, at 17:14, Robert Siemer wrote: > > Hello everyone, > > I believe this is erroneously implemented in Dovecot: > > > >>> for i in c.list_folders('deleteme.*.folder', '%'): > ... print(i) > ... > ((b'\\HasNoChildren',), b'.', 'deleteme.*.folder') > ((b'\\HasNoChildren',), b'.', '

Re: Possible bug about the SPECIAL-USE / CREATE-SPECIAL-USE extensions

2015-12-19 Thread Timo Sirainen
On 19 Dec 2015, at 20:37, Jeff Stedfast wrote: > > Hi all, > > I've locally got Dovecot 2.2.21 (5345f22) installed on my MacBook (via > homebrew) that I've been using to test my IMAP library against. > > What is interesting is that even though Dovecot does not advertise > CREATE-SPECIAL-USE, it

Re: Dovecot 2.2.20 autoexpunge

2015-12-23 Thread Timo Sirainen
On 22 Dec 2015, at 22:23, Robert Blayzor wrote: > > On Dec 22, 2015, at 2:56 PM, Teemu Huovila wrote: >> >> The autoexpunge feature does not check the \Deleted flag. >> >> Are any errors logged in "doveadm log errors"? Could you post your complete >> output of doveconf -n please. > > > > T

Re: Debug Dovecot Plugin (shared library)

2015-12-24 Thread Timo Sirainen
On 24 Dec 2015, at 14:26, David Becher wrote: > > Hey! > > I was just wondering what would be the best way to debug a plugin I am > currently writing for dovecot. > The plugin basically registers a new IMAP capability and I want to set a > breakpoint to the "cmd_handle_new_capability" function

Re: LMTP crashes on Debian with dovecot backports from rename-it.nl

2015-12-29 Thread Timo Sirainen
On 29 Dec 2015, at 06:12, Christian Schmidt wrote: > > Hello dovecot-users, > > we're running Debian 7.9 with dovecot from Stephan Bosch's repository: > deb http://xi.rename-it.nl/debian/ oldstable-auto/dovecot-2.2 main > > Starting with dovecot 2.2.20-1 build 28, we suddenly discovered that >

Re: LMTP crashes on Debian with dovecot backports from rename-it.nl

2015-12-30 Thread Timo Sirainen
> On 30 Dec 2015, at 03:45, Christian Schmidt > wrote: > > Hello Timo, > > On 29.12.2015 19:25, Timo Sirainen wrote: >> So looking up a header causes a crash. Can you send me one such mail >> that causes this crash? > > I'll ask one of the users suffe

Re: segfault in dict_transaction_rollback() on doveadm quota recalc -u

2015-12-30 Thread Timo Sirainen
> Lazy kirjoitti 30.12.2015 kello 11.35: > > Bump Did you try with v2.2.21? There are some fixes related to dict. > > >> Hi, >> >> We have a dovecot cluster with nfs storage, 2 directors and 3 >> imap/pop3/lmtp backends. >> >> Redis is used as a dict backend with a dict proxy. >> >> dict

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-04 Thread Timo Sirainen
On 04 Jan 2016, at 09:37, Florian Pritz wrote: > > On 04.01.2016 11:54, Teemu Huovila wrote: >> Thank you for the report. Could you execute "bt full" in gdb please. Also >> the output of doveconf -n would be useful. > > Hi, > > Requested info below. What about: >> #5 0x0041dde6 in c

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-04 Thread Timo Sirainen
> 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: [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-04 Thread Timo Sirainen
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 (

Re: segfault in dict_transaction_rollback() on doveadm quota recalc -u

2016-01-04 Thread Timo Sirainen
On 30 Dec 2015, at 11:35, Lazy wrote: > >> dict { >> quota = redis:host=127.0.0.1:prefix=user/ >> } >> >> plugin { >> >> quota = dict:User quota::proxy::quota >> >> } >> >> Redis server is behind haproxy working in tcp mode. >> >> doveadm quota recalc -u user always couses dict process seg

Re: allow_nets=local in passdb gets "auth: Panic"

2016-01-04 Thread Timo Sirainen
> On 22 Dec 2015, at 01:10, SATOH Fumiyasu wrote: > > Hi, > > I have the following configuration in my dovecot.conf for Dovecot 2.2.21: > > passdb { > driver = ldap > args = /etc/dovecot/dovecot-ldap.conf.ext > default_fields = allow_nets=local,127.0.0.1,10.255.1.0/24 > } > > This triggers

Re: autoexpunge problems

2016-01-04 Thread Timo Sirainen
On 18 Dec 2015, at 05:26, Olaf Hopp wrote: > > Hello, > I tried to use the new autoexpunge for my Trash folders > I had in 15-mailboxes.conf > > mailbox Trash { > special_use = \Trash > auto = subscribe > } > > (dovecot -n of the original config is below) > and added just the line > autoex

<    1   2   3   4   5   6   7   8   9   10   >