Re: [Dovecot] Dsync Error Can't Delete Mailbox

2011-12-29 Thread Timo Sirainen
On 27.12.2011, at 17.46, Asai wrote: > I'm getting this error in the dsync logs: > > Warning: Destination mailbox INBOX has been modified, need to recreate it > before we can continue syncing > dsync(f...@bar.org): Error: Can't delete mailbox INBOX: INBOX can't be > deleted. > > In this situat

[Dovecot] doveadm + dsync merging

2011-12-29 Thread Timo Sirainen
doveadm already supports some nice things, such as being able to remotely launch a doveadm command via TCP socket. It also supports executing a command for all users or to some specific users using a wildcard. dsync could use these features, so I merged dsync and doveadm into same binary for v2.

Re: [Dovecot] Maildir migration and uids

2011-12-29 Thread Timo Sirainen
On 22.12.2011, at 3.52, David Jonas wrote: > I'm in the process of migrating a large number of maildirs to a 3rd > party dovecot server (from a dovecot server). Tests have shown that > using imap to sync the accounts doesn't preserve the uidl for pop3 access. > > My current attempt is to convert

Re: [Dovecot] How to serve a subset of IMAP folders for hand held devices.

2011-12-29 Thread Timo Sirainen
On 29.12.2011, at 14.07, Charles Marcus wrote: > It would be cool if the concept of 'Master User' could be expanded on to > provide access to only certain other accounts, as opposed to full domains (or > maybe it does alreaqdy and I just don't understand it well enough yet). > > For example, we

Re: [Dovecot] Compressing existing maildirs

2011-12-29 Thread Timo Sirainen
On 24.12.2011, at 17.20, Jan-Frode Myklebust wrote: > I've just enabled zlib for our users, and am looking at how to compress > the existing files. The routine for doing this at > http://wiki2.dovecot.org/Plugins/Zlib seems a bit complicated. What do > you think about simply doing: > > find

Re: [Dovecot] mbox, hierarchical folders/folders and IMAP

2011-12-29 Thread Timo Sirainen
On 26.12.2011, at 9.48, Stan Hoeppner wrote: > On 12/26/2011 12:43 AM, Alexander Chekalin wrote: >> I tried to create folder named like 'Old Mail' (and in fact I got >> another mbox container), while I needed to create 'Old Mail/' (note the >> slash), which results in real filesystem directory. >

Re: [Dovecot] proxying, SSL, and client certificate

2011-12-29 Thread Timo Sirainen
On 23.12.2011, at 1.10, Mike Abbott wrote: > How do I configure dovecot-2.0.x to present a client SSL certificate when > proxying? Set ssl_client_cert and ssl_client_key settings in dovecot.conf. Requires hg version, since these were added after v2.0.16. > If dovecot on server1.example.com has

Re: [Dovecot] Lucene vs Solr with 2.1 single server

2011-12-29 Thread Timo Sirainen
On 23.12.2011, at 9.10, Daniel L. Miller wrote: > For a single server, is the Lucene backend now "better" than running a Solr > server? Simpler, at least. Probably not better, since Solr uses a newer Lucene engine.

Re: [Dovecot] UIDL format

2011-12-29 Thread Timo Sirainen
On 28.12.2011, at 0.58, sottile...@rfx.it wrote: > How can be sure of the current POP3 UIDL? If it's not visible, it's the default. Check with: dovecot -a | grep pop3_uidl_format

Re: [Dovecot] dsync / separator / namespace config-problem

2011-12-29 Thread Timo Sirainen
On 29.12.2011, at 13.14, Jan-Frode Myklebust wrote: > Guess I don't quite get namespaces, but we have the following namespace > configured: > > $ doveconf namespace > namespace { > hidden = no > inbox = yes > list = yes > locatio

Re: [Dovecot] lmtp-postlogin ?

2011-12-30 Thread Timo Sirainen
On 30.12.2011, at 11.00, Jan-Frode Myklebust wrote: > We have last-login tracking for imap and pop, and I intend to use this > for deciding which users to backup daily. But, it would also be nice to > backup users who has only received messages, but not logged in lately.. > So is it possible to im

Re: [Dovecot] fts_solr break-imap-search 2.1

2011-12-31 Thread Timo Sirainen
On 31.12.2011, at 22.28, Daniel L. Miller wrote: > Is "break-imap-search" still required using 2.1 with Solr to index TEXT & > BODY searches? No. It's enabled always.

Re: [Dovecot] Compressing existing maildirs

2012-01-03 Thread Timo Sirainen
On 31.12.2011, at 9.54, Stan Hoeppner wrote: > Timo, is there any technical or sanity based upper bound on mdbox size? > Anything wrong with using 64MB, 128MB, or even larger for > mdbox_rotate_size? Should be fine. The only issue is the extra disk I/O required to recreate the files during dovea

Re: [Dovecot] Small LOGIN_MAX_INBUF_SIZE for GSSAPI with samba4 (AD)

2012-01-03 Thread Timo Sirainen
On Mon, 2012-01-02 at 19:20 +0100, Ludek Finstrle wrote: > Jan 2 17:58:42 server dovecot: imap-login: Disconnected: Input buffer full > (no auth attempts): rip=192.167.14.16, lip=192.167.14.16, secured .. > I fixed this problem with enlarging LOGIN_MAX_INBUF_SIZE. I also red about > wrong lower

Re: [Dovecot] error bad file number with compressed mbox files

2012-01-03 Thread Timo Sirainen
On Mon, 2012-01-02 at 15:33 +0100, Jürgen Obermann wrote: > can dsync convert from compressed mbox to compressed mdbox format? > > When I use compressed mbox files, either with gzip or with bzip2, I can > read the mails as usual, but I find the following errors in dovecots log > file: > > imap

Re: [Dovecot] Problem with huge IMAP Archive after Courier migration

2012-01-03 Thread Timo Sirainen
On Mon, 2012-01-02 at 17:17 +0100, Preacher wrote: > So I forced to install the Debisn 7.0 packages with 2.0.15 and finally > got the server running, I also restarted the whole machine to empty caches. > But the problem I got was that in the huge folder hierarchy the > downloaded headers in the i

Re: [Dovecot] Multiple Maildirs per Virtual User

2012-01-03 Thread Timo Sirainen
On Sun, 2012-01-01 at 20:32 -0500, Ruslan Nabioullin wrote: > How would it be possible to configure dovecot (2.0.16) in such a way > that it would serve several maildirs (e.g., INBOX, INBOX.Drafts, > INBOX.Sent, forum_email, [Gmail].Trash, etc.) per virtual user? > > I am only able to specify a si

Re: [Dovecot] dsync / separator / namespace config-problem

2012-01-03 Thread Timo Sirainen
On Thu, 2011-12-29 at 21:03 +0100, Jan-Frode Myklebust wrote: > On Thu, Dec 29, 2011 at 03:49:57PM +0200, Timo Sirainen wrote: > > >> > > >> With mdbox the internal separator is '/', but it's not valid to have > > >> "INBOX." prefi

Re: [Dovecot] Dsync fails on second sync for folders with dot in the name

2012-01-03 Thread Timo Sirainen
On Sun, 2012-01-01 at 20:59 +0100, Jan-Frode Myklebust wrote: > I'm in the processes of running our first dsync backup of all users > (from maildir to mdbox on remote server), and one problem I'm hitting > that dsync will work fine on first run for some users, and then > reliably fail whenever I

Re: [Dovecot] Newbie: LDA Isn't Logging

2012-01-03 Thread Timo Sirainen
On Mon, 2012-01-02 at 22:48 -0800, Michael Papet wrote: > Hi, > > I'm a newbie having some trouble getting deliver to log anything. Related to > this, there are no return values unless the -d is missing. I'm using LDAP to > store virtual domain and user account information. > > Test #1: /usr/

Re: [Dovecot] Dsync fails on second sync for folders with dot in the name

2012-01-03 Thread Timo Sirainen
On Tue, 2012-01-03 at 13:12 +0100, Jan-Frode Myklebust wrote: > dsync-remote(janfr...@tanso.net): Error: Can't delete mailbox directory > INBOX.a: Mailbox has children, delete them first Oh, this happens only with dsync backup, and only with Maildir++ -> FS layout change. You can simply ign

Re: [Dovecot] lmtp-postlogin ?

2012-01-03 Thread Timo Sirainen
On Fri, 2011-12-30 at 14:08 +0100, Jan-Frode Myklebust wrote: > > Maybe create a new plugin for this using notify plugin. > > Is there any documentation for this plugin? I've tried searching both > this list, and the wiki's. Nope. You could look at mail-log and http://dovecot.org/patches/2.0/touc

Re: [Dovecot] Dsync fails on second sync for folders with dot in the name

2012-01-03 Thread Timo Sirainen
On 3.1.2012, at 14.54, Jan-Frode Myklebust wrote: > But isn't it a bug that users are allowed to create folders named .a.b, The folder name is "a.b", it just exists in filesystem with Maildir++ as ".a.b". > or that dovecot creates this as a folder named .a.b instead of .a/.b > when the separator

Re: [Dovecot] What is normal CPU usage of dovecot imap?

2012-01-03 Thread Timo Sirainen
On 3.1.2012, at 16.54, Mikko Lampikoski wrote: > I got Dual Core Intel Xeon CPU 3.00GHz, over 1000 mailbox and almost 1 > dovecot login / second (peak time). > Server stats says that load is continually over 2 and cpu usage is 60%. top > says that imap is making this load. You mean an actual "i

Re: [Dovecot] What is normal CPU usage of dovecot imap?

2012-01-03 Thread Timo Sirainen
On 3.1.2012, at 17.38, Mikko Lampikoski wrote: > On 3.1.2012, at 17.12, Timo Sirainen wrote: > >> On 3.1.2012, at 16.54, Mikko Lampikoski wrote: >> >>> I got Dual Core Intel Xeon CPU 3.00GHz, over 1000 mailbox and almost 1 >>> dovecot login / second (peak ti

Re: [Dovecot] Multiple Maildirs per Virtual User

2012-01-03 Thread Timo Sirainen
On 3.1.2012, at 19.33, Ruslan Nabioullin wrote: > I changed /etc/dovecot/passwd to: > my-username_account1:{PLAIN}password:my-username:my-groupuserdb_mail=maildir:/home/my-username/mail/account1:LAYOUT=fs > > Dovecot creates {tmp,new,cur} dirs within account1 (the root), > apparently not reco

Re: [Dovecot] Deliver all addresses to the same mdbox:?

2012-01-03 Thread Timo Sirainen
On 3.1.2012, at 20.09, Ralf Hildebrandt wrote: > For archiving purposes I'm delivering all addresses to the same mdbox: > like this: > > passdb { > driver = passwd-file > args = username_format=%u /etc/dovecot/passwd > } > > userdb { > driver = static > args = uid=1000 gid=1000 home=/home/co

Re: [Dovecot] doveadm move from one user's mailbox to another user's mailbox?

2012-01-04 Thread Timo Sirainen
On Wed, 2012-01-04 at 15:06 +0100, Ralf Hildebrandt wrote: > Is something along the lines: > doveadm move -u sourceuser destinationuser:/inbox search_query > possible with 2.0.16? > > I want to move mails from a backup mailbox (which has no valid > password assigned) to a "restore" mailbox (which

Re: [Dovecot] assertion failed in mail-index.c

2012-01-04 Thread Timo Sirainen
On Wed, 2012-01-04 at 16:19 +0100, Attila Nagy wrote: > Hi, > > I have this: > Jan 04 15:55:21 pop3(jfm47): Panic: file mail-index.c: line 257 > (mail_index_keyword_lookup_or_create): assertion failed: (*keyword != '\0') > Jan 04 15:55:21 master: Error: service(pop3): child 3391 killed with > si

Re: [Dovecot] POP3 problems

2012-01-04 Thread Timo Sirainen
On 4.1.2012, at 19.08, sottile...@rfx.it wrote: > Migrated a 1.0.2 server to 2.0.16 (same old box). > IMAP seems working Ok. > POP3 give problems with some clients (Outlook 2010 and Thunderbird reported). > Seems authentication problem > Below my doveconf -n (debug enbled, but no answer found to t

Re: [Dovecot] Deduplication active - but how good does it perform?

2012-01-06 Thread Timo Sirainen
On 6.1.2012, at 12.09, Ralf Hildebrandt wrote: > I have deduplication active in my first mdbox: type mailbox, but how > do I find out how well the deduplication works? Is there a way of > finding out how much disk space I saved (if I saved some :) )? You could look at the files in the attachments

Re: [Dovecot] Possible mdbox corruption

2012-01-06 Thread Timo Sirainen
On 5.1.2012, at 2.24, Daniel L. Miller wrote: > I thought I had cleared out the corruption I had before - perhaps I was > mistaken. What steps should I take to help locate these issues? Currently > using 2.1rc1. I see the following errors in my logs, including out of memory > and message siz

Re: [Dovecot] Possible mdbox corruption

2012-01-06 Thread Timo Sirainen
On 6.1.2012, at 12.55, Timo Sirainen wrote: >> Jan 4 05:17:17 bubba dovecot: master: Error: service(indexer-worker): child >> 10896 returned error 83 (Out of memory (vsz_limit=256 MB, you may need to >> increase it)) >> Jan 4 06:17:17 bubba dovecot: indexer-worker(

Re: [Dovecot] Possible mdbox corruption

2012-01-06 Thread Timo Sirainen
On Fri, 2012-01-06 at 12:57 +0200, Timo Sirainen wrote: > On 6.1.2012, at 12.55, Timo Sirainen wrote: > > >> Jan 4 05:17:17 bubba dovecot: master: Error: service(indexer-worker): > >> child 10896 returned error 83 (Out of memory (vsz_limit=256 MB, you may > >>

Re: [Dovecot] howto disable indexing on dovecot-lda ?

2012-01-06 Thread Timo Sirainen
On Fri, 2012-01-06 at 13:07 +0200, Adrian Minta wrote: > Hello, > is it possible to disable indexing on dovecot-lda ? protocol lda { mail_location = whatever-you-have-now:INDEX=MEMORY } > Right now postfix delivers the mail directly to the nfs server without > any problems. If I switch to dove

Re: [Dovecot] ACL with IMAP proxying

2012-01-06 Thread Timo Sirainen
On Fri, 2012-01-06 at 12:36 +0100, Alexis Lelion wrote: > The thing is that when the ACLs are checked, it actually doesn't give > the user login, but the master login, which is useless. Yes, this is intentional. > Is there a way to use the first part of destuser as it is done when > fetching info

Re: [Dovecot] doveadm + dsync merging

2012-01-06 Thread Timo Sirainen
On Thu, 2011-12-29 at 15:19 +0100, Pascal Volk wrote: > >> b) Don't have the dsync prefix: > >> > >> dsync mirror -> doveadm mirror > >> dsync backup -> doveadm backup > >> dsync server -> doveadm dsync-server (could be hidden from the doveadm > >> commands list) I did this now, with mirror -> sy

Re: [Dovecot] ACL with IMAP proxying

2012-01-06 Thread Timo Sirainen
On Fri, 2012-01-06 at 13:22 +0100, Alexis Lelion wrote: > Thanks for your prompt answer, I wasn't expecting an answer that soon ;-) > I just tried your workaround, and actually, master_user is properly set to > the username, but then is overriden with the proxy login again : > > Jan 6 13:14:19 m

Re: [Dovecot] ACL with IMAP proxying

2012-01-06 Thread Timo Sirainen
ght now. > I'll try do build dovecot this weekend and see if it solves the issue. > > Cheers > > Alexis > > On Fri, Jan 6, 2012 at 1:30 PM, Timo Sirainen wrote: > > > On Fri, 2012-01-06 at 13:22 +0100, Alexis Lelion wrote: > > > > > Thanks for y

Re: [Dovecot] howto disable indexing on dovecot-lda ?

2012-01-06 Thread Timo Sirainen
On Fri, 2012-01-06 at 15:01 +0200, Adrian Minta wrote: > > protocol lda { > >mail_location = whatever-you-have-now:INDEX=MEMORY > > } > > > I don't have mail_location under "protocol lda": Just add it there.

[Dovecot] v2.0.17 released

2012-01-06 Thread Timo Sirainen
http://dovecot.org/releases/2.0/dovecot-2.0.17.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.17.tar.gz.sig Among other changes: + Proxying now supports sending SSL client certificate to server with ssl_client_cert/key settings. + doveadm dump: Added support for dump

[Dovecot] v2.1.rc2 released

2012-01-06 Thread Timo Sirainen
http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc2.tar.gz http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc2.tar.gz.sig Lots of fixes since rc1. Some of the changes were larger than I wanted at RC stage, but they had to be done now.. Hopefully it's all over now, and we can have v2.1.0 soon. :) So

Re: [Dovecot] Strange error: DIGEST-MD5 mechanism can't be supported with given passdbs

2012-01-06 Thread Timo Sirainen
On Sat, 2012-01-07 at 00:15 +0800, Yubao Liu wrote: > I don't know why this function doesn't check auth->masterdbs, if I > insert these lines after line 128, that error goes away, and dovecot's > imap-login process happily does DIGEST-MD5 authentication [1]. > In my configuration, "masterdbs" cont

Re: [Dovecot] Possible mdbox corruption

2012-01-06 Thread Timo Sirainen
On 6.1.2012, at 19.30, Daniel L. Miller wrote: > Jan 6 09:22:42 bubba dovecot: indexer-worker(us...@domain.com): Error: > fts_solr: Indexing failed: 400 Illegal character ((CTRL-CHAR, code 18)) at > [row,col {unknown-source}]: [482765,16] > Jan 6 09:22:42 bubba dovecot: indexer-worker: Error:

Re: [Dovecot] Strange error: DIGEST-MD5 mechanism can't be supported with given passdbs

2012-01-06 Thread Timo Sirainen
On 6.1.2012, at 19.45, Yubao Liu wrote: > On 01/07/2012 12:44 AM, Timo Sirainen wrote: >> On Sat, 2012-01-07 at 00:15 +0800, Yubao Liu wrote: >> >>> I don't know why this function doesn't check auth->masterdbs, if I >>> insert these lines after

[Dovecot] v2.1.rc3 released

2012-01-06 Thread Timo Sirainen
http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc3.tar.gz http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc3.tar.gz.sig Whops, rc2 was missing a file. I always run "make distcheck", which should catch these, but recently it has always failed due to clang static checking giving one "error" that I d

Re: [Dovecot] v2.1.rc2 released

2012-01-06 Thread Timo Sirainen
On 6.1.2012, at 22.19, The Doctor wrote: >> doveadm-dsync.c:17:27: doveadm-dsync.h: No such file or directory >> doveadm-dsync.c:386: warning: no previous prototype for `doveadm_dsync_main' >> *** Error code 1 >> Looks like rc3 needed . >> > > Just noted your rc3 notice. > > Can you get an rc4

Re: [Dovecot] failed: Too many levels of symbolic links

2012-01-06 Thread Timo Sirainen
On 6.1.2012, at 22.44, David Egbert wrote: > dovecot: imap(xx...@x.com): Error: > readdir(///X/X/XXX/XXX/XXX) failed: > Too many levels of symbolic links You have a symlink loop. Either a symlink that points to itself or one of the parent directories

Re: [Dovecot] failed: Too many levels of symbolic links

2012-01-06 Thread Timo Sirainen
On 6.1.2012, at 23.41, David Egbert wrote: > On 1/6/2012 2:16 PM, Timo Sirainen wrote: >> On 6.1.2012, at 22.44, David Egbert wrote: >> >>> dovecot: imap(xx...@x.com): Error: >>> readdir(///X/X/XXX/XXX/XXX) failed:

Re: [Dovecot] failed: Too many levels of symbolic links

2012-01-06 Thread Timo Sirainen
On 7.1.2012, at 0.10, David Egbert wrote: >> Anyway, readdir() is failing with ELOOP. Does it always fail with "Too many >> levels of symbolic links" or is it sometimes different? This sounds like a >> bug in Linux NFS client code. You can reproduce this always with this one >> user's Maildir?

[Dovecot] Postfix user map

2012-01-09 Thread Timo Sirainen
http://hg.dovecot.org/dovecot-2.1/rev/f562bcaca215 implements "postmap" type sockets, which follow Postfix's tcp_table(5) protocol. So you can ask: get user@domain and Dovecot answers one of: - 200 1 - 500 User not found - 400 Internal failure So you can use this with Postfix: virtual_mai

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Timo Sirainen
Too much text in the rest of this thread so I haven't read it, but: On 8.1.2012, at 0.20, Sven Hartge wrote: > Right now, I am pondering with using an additional server with just the > shared folders on it and using NFS (or a cluster FS) to mount the shared > folder filesystem to each backend sto

Re: [Dovecot] 2.0.17: Index lost -> SAVEDON lost as well?

2012-01-09 Thread Timo Sirainen
On 9.1.2012, at 9.40, Ralf Hildebrandt wrote: > Today I encoundered these errors: > > Jan 9 08:30:06 mail dovecot: lmtp(31174, backup@backup.invalid): Error: Log > synchronization error at seq=858,offset=44672 for > /home/mailboxname/mdbox/storage/dovecot.map.index: Append with UID 282388, > b

Re: [Dovecot] Solr plugin

2012-01-09 Thread Timo Sirainen
On 9.1.2012, at 1.48, Daniel L. Miller wrote: > On 1/8/2012 3:40 PM, Daniel L. Miller wrote: >> On 1/6/2012 12:32 PM, Daniel L. Miller wrote: >>> On 1/6/2012 9:36 AM, Timo Sirainen wrote: >>>> On 6.1.2012, at 19.30, Daniel L. Miller wrote: >>>> >

Re: [Dovecot] Postfix user map

2012-01-09 Thread Timo Sirainen
On 9.1.2012, at 17.32, Noel wrote: > On 1/9/2012 8:43 AM, Timo Sirainen wrote: >> http://hg.dovecot.org/dovecot-2.1/rev/f562bcaca215 implements >> "postmap" type sockets, which follow Postfix's tcp_table(5) >> protocol. So you can ask: >> >> g

Re: [Dovecot] Postfix user map

2012-01-09 Thread Timo Sirainen
On 9.1.2012, at 18.19, Robert Schetterer wrote: > i am afraid i wasnt total corect here > in fact i havent seen backscatter overquota on my servers > since using dove lmtp with postfix LMTP shouldn't matter here. In most configs mails are put to queue first, and only from there they are sent to

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Timo Sirainen
On 9.1.2012, at 17.14, Charles Marcus wrote: > On 2012-01-09 9:51 AM, Timo Sirainen wrote: >> The "proper" solution for this that I've been thinking about would be >> to use v2.1's imapc backend with master users. So that when user A >> wants to access us

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Timo Sirainen
On 9.1.2012, at 20.25, Sven Hartge wrote: > Timo Sirainen wrote: >> On 8.1.2012, at 0.20, Sven Hartge wrote: > >>> Right now, I am pondering with using an additional server with just >>> the shared folders on it and using NFS (or a cluster FS) to mount the >&g

Re: [Dovecot] Resetting a UID

2012-01-09 Thread Timo Sirainen
On 9.1.2012, at 16.41, Tom Clark wrote: > We've got a client with a Blackberry that hass deleted his emails off his > Blackberry device. The BES won't re-download the messages as it believes it > has already downloaded them (apparently it matches on UID). You can delete dovecot.index* and dovecot

Re: [Dovecot] Proxy login failures

2012-01-09 Thread Timo Sirainen
On 9.1.2012, at 12.18, Urban Loesch wrote: > I'm using two dovecot pop3/imap proxies in front of our dovecot servers. > Since some days I see many of the following errors in the logs of the two > proxy-servers: > > dovecot: pop3-login: Error: proxy: Remote "IPV6-IP":110 disconnected: > Connecti

Re: [Dovecot] Newbie: LDA Isn't Logging

2012-01-09 Thread Timo Sirainen
On 9.1.2012, at 7.34, Michael Papet wrote: > LDA logging worked. So, it could be something about my system. But, > running /usr/lib/dovecot/deliver still doesn't return a value on the command > line as documented on the wiki. > > I've attached strace files from both the malfunctioning Debian

Re: [Dovecot] uid / gid and systemusers

2012-01-09 Thread Timo Sirainen
On 8.1.2012, at 17.37, xa...@arcor.de wrote: > Jan 8 16:18:28 test dovecot: User q is missing UID (see mail_uid setting) > Jan 8 16:18:28 test dovecot: imap-login: Internal login failure (auth > failed, 1 attempts): user=, method=PLAIN, rip=AAA.BBB.CCC.DDD, > lip=EEE.FFF.GGG.HHH TLS<--- ed

Re: [Dovecot] Strange error: DIGEST-MD5 mechanism can't be supported with given passdbs

2012-01-09 Thread Timo Sirainen
On 7.1.2012, at 5.36, Yubao Liu wrote: > In old version, "auth->passdbs" contains all passdbs, this revision > changes "auth->passdbs" to only contain non-master passdbs. > > I'm not sure which fix is better or even my proposal is correct or fully: > a) in src/auth/auth.c:auth_passdb_preinit(),

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Timo Sirainen
On 9.1.2012, at 20.47, Sven Hartge wrote: >>> Can "mmap_disable = yes" and the other NFS options be set per >>> namespace or only globally? > >> Currently only globally. > > Ah, too bad. > > Back to the drawing board then. mmap_disable=yes works pretty well even if you're only using it for loc

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Timo Sirainen
On 9.1.2012, at 21.16, Timo Sirainen wrote: > passdb { > type = static > args = user=shareduser Of course you should also require a password: args = user=shareduser pass=master-user-password

Re: [Dovecot] change initial permissions on creation of mail folder

2012-01-09 Thread Timo Sirainen
On 6.1.2012, at 18.37, mailinglist wrote: > Installed dovcot from Debian .deb file. Creating a new account for system > users sets permission for user-only. Where to change initial permissions on > creation of mail folder and other subdirectories. Permissions for folders are taken from the mail

Re: [Dovecot] FTS-Solr plugin

2012-01-09 Thread Timo Sirainen
On 6.1.2012, at 19.35, Daniel L. Miller wrote: > Solr plugin appears to break when mailbox names have an ampersand in the > name. The messages appear to indicate '&' gets translated to '&--'. What message? With fts=solr (not solr_old) the mailbox name isn't used in Solr at all. It uses mailbox

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Timo Sirainen
On 9.1.2012, at 21.31, Sven Hartge wrote: > , > | # User's private mail location > | mail_location = mdbox:~/mdbox > | > | # When creating any namespaces, you must also have a private namespace: > | namespace { > | type = private > | separator = . > | prefix = INBOX. > | #location defa

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Timo Sirainen
On 9.1.2012, at 21.45, Sven Hartge wrote: >>> | location = imapc:~/imapc-shared > > What is the syntax of this location? What does "imapc-shared" do in this > case? It's the directory for index files. The backend IMAP server is used as a rather dummy storage, so if for example you do a FETCH

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Timo Sirainen
On 9.1.2012, at 22.13, Sven Hartge wrote: > Timo Sirainen wrote: >> On 9.1.2012, at 21.45, Sven Hartge wrote: > >>>>> | location = imapc:~/imapc-shared >>> >>> What is the syntax of this location? What does "imapc-shared" do in this

Re: [Dovecot] Proxy login failures

2012-01-09 Thread Timo Sirainen
On 9.1.2012, at 22.23, Urban Loesch wrote: >>> I'm using two dovecot pop3/imap proxies in front of our dovecot servers. >>> Since some days I see many of the following errors in the logs of the two >>> proxy-servers: >>> >>> dovecot: pop3-login: Error: proxy: Remote "IPV6-IP":110 disconnected:

Re: [Dovecot] Solr plugin

2012-01-09 Thread Timo Sirainen
On 10.1.2012, at 2.21, Daniel L. Miller wrote: >> Did you look at the input? Looking at the code, it should be lowercased. >> Maybe Solr just uppercases it for some reason. Are you using a Solr schema >> that has "cc" field? > > I see the following in a running Solr instance. This is generated

Re: [Dovecot] A small bug and a question about CONTEXT=SEARCH

2012-01-10 Thread Timo Sirainen
On Tue, 2012-01-10 at 15:05 +0100, Anders wrote: > the socket connection being closed without warning: > > UID SEARCH RETURN (SAVE COUNT) CHARSET UTF-8 (UNDELETED TEXT "foo") You mean it closes with above also? It works fine with me. > UID SEARCH RETURN (COUNT MIN) CHARSET UTF-8 () $ This was

Re: [Dovecot] proxy, managesieve and ssl?

2012-01-11 Thread Timo Sirainen
On 11.1.2012, at 21.01, Nicolas KOWALSKI wrote: > On a dovecot 2.0.14 proxy, I found that proxying managesieve works well > when using 'starttls' option in pass_attrs, but does not work when using > 'ssl' option. The backend server is also dovecot 2.0.14; when using the > ssl option, it reports

Re: [Dovecot] MASTER_AUTH_MAX_DATA_SIZE

2012-01-12 Thread Timo Sirainen
On 12.1.2012, at 1.09, Mike Abbott wrote: > In 2.0.17 you increased LOGIN_MAX_INBUF_SIZE from 1024 to 4096. > Should you also have increased MASTER_AUTH_MAX_DATA_SIZE from (1024*2) to > (4096*2)? > /* This should be kept in sync with LOGIN_MAX_INBUF_SIZE. Multiply it by two > to make sure there

Re: [Dovecot] (no subject)

2012-01-12 Thread Timo Sirainen
On 11.1.2012, at 20.53, Geoffrey Broadwell wrote: > So now the hard part is writing the piece that I can't just crib from > elsewhere -- making sure that I hook every place in Dovecot that the > user's voicemail folder can be changed in a way that would change it > between having one or more unrea

Re: [Dovecot] MySQL server has gone away

2012-01-13 Thread Timo Sirainen
On 13.1.2012, at 4.00, Mark Moseley wrote: > I'm running 2.0.17 and I'm still seeing a decent amount of "MySQL > server has gone away" errors, despite having multiple hosts defined in > my auth userdb 'connect'. This is Debian Lenny 32-bit and I'm seeing > the same thing with 2.0.16 on Debian Sque

Re: [Dovecot] more than 200 imap processes for one user

2012-01-13 Thread Timo Sirainen
On 13.1.2012, at 11.01, Götz Reinicke wrote: > recently I noticed, that our dovecot server (RH EL 5.7 > dovecot-1.0.7-7.el5_7.1) 'fires' up a lot of imap processes only for one > user. v1.1+ limits this to 10 processes by default. > Dose anyone has an idea, what could be the cause? Some client

Re: [Dovecot] Trying to get metadata plugin working

2012-01-16 Thread Timo Sirainen
On 16.1.2012, at 17.51, Thomas Koch wrote: > dict: Error: file dict commit: file_dotlock_open(~/Maildir/shared-metadata) > failed: No such file or directory It's not expanding ~/ > dict { > metadata = file:~/Maildir/shared-metadata Use %h/ instead of ~/

Re: [Dovecot] Trying to get metadata plugin working

2012-01-16 Thread Timo Sirainen
On 16.1.2012, at 20.26, Thomas Koch wrote: > Timo Sirainen: >> Use %h/ instead of ~/ > > Hi Timo, > > it doesn't expand either %h nor %%h. Oh, right, wrong place. If you make it go through proxy, it doesn't do any expansion. It's then accessed by the &q

Re: [Dovecot] little bug with Director in 2.1?

2012-01-17 Thread Timo Sirainen
Hi, On Tue, 2012-01-10 at 16:16 +0100, Luca Di Vizio wrote: > in 2.1rc3 the "director_servers" setting does not accept hostnames as > documented (with ip no problems). > It works correctly in 2.0.17. The problem most likely was that v2.1 chroots the director process by default, but it did it a

Re: [Dovecot] resolve mail_home ?

2012-01-17 Thread Timo Sirainen
On Tue, 2012-01-17 at 09:36 +0100, Jan-Frode Myklebust wrote: > I now have "mail_home = /srv/mailstore/%256RHu/%d/%n". Is there any way > of asking dovecot where a user's home directory is? No.. > It's not in "doveadm user": > > $ doveadm user -f home janfr...@lyse.net > $ doveadm us

Re: [Dovecot] per-user limit?

2012-01-17 Thread Timo Sirainen
On Mon, 2012-01-16 at 10:15 +0100, Peter Hessler wrote: > I am seeing a problem where users are limited to 6 imap logins total. > One of my users has a bunch of phones and computers, and wants them all > on at the same time. > > I'm looking through my configuration, and I cannot see a limit on how

Re: [Dovecot] imap-login process_limit reached

2012-01-18 Thread Timo Sirainen
On Mon, 2012-01-16 at 14:41 -0800, Don Buchholz wrote: > I've been having some problems with IMAP user connections to the Dovecot > (v2.0.8) server. The following message is being logged. > > Jan 16 10:51:36 postal dovecot: master: Warning: > service(imap-login): process_limit reached, c

[Dovecot] Dovecot Solutions company update

2012-01-18 Thread Timo Sirainen
Hi, A small update: My Dovecot support company finally has web pages: http://www.dovecot.fi/ We've also started providing 24/7 support.

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-18 Thread Timo Sirainen
On Wed, 2012-01-18 at 20:44 +0800, Lee Standen wrote: > I've been desperately trying to find some comparative performance > information about the different mailbox formats supported by Dovecot in > order to make an assessment on which format is right for our environment. Unfortunately there aren'

Re: [Dovecot] Dovecot unable to locate mailbox

2012-01-18 Thread Timo Sirainen
On Mon, 2012-01-16 at 14:38 +0200, Jason X, Maney wrote: > Jan 16 14:18:16 myservername dovecot: pop3(userA): Error: user molla: > Initialization failed: mail_location not set and autodetection failed: Mail > storage autodetection failed with home=/home/userA As it says. > Yet my config also come

Re: [Dovecot] Antispam plugin not compatible with Dovecot 2.1

2012-01-18 Thread Timo Sirainen
On Tue, 2012-01-17 at 11:07 +, interfaSys sàrl wrote: > Here is what I get when I try to compile the antispam plugin agaisnt > Dovecot 2.1 > > ** > mailbox.c: In function 'antispam_save_begin': > mailbox.c:138:12: error: 'struct mail_save_context' has no member named > 'copying' T

Re: [Dovecot] LMTP Logging

2012-01-18 Thread Timo Sirainen
On Mon, 2012-01-16 at 17:17 -0800, Mark Moseley wrote: > Just had a minor suggestion, with no clue how hard/easy it would be to > implement: > > The %f flag in deliver_log_format seems to pick up the From: header, > instead of the "MAIL FROM:<...>" arg. It'd be handy to have a %F that > shows the

Re: [Dovecot] Quota is not working (Debian Squeeze - Dovecot 1.2)

2012-01-18 Thread Timo Sirainen
On Mon, 2012-01-16 at 11:42 +0100, RaSca wrote: > passdb sql { > args = /etc/dovecot/dovecot-sql.conf > } > userdb passwd { > } > userdb static { > args = uid=5000 gid=5000 home=/mail/mailboxes/%d/%n@%d > allow_all_users=yes > } You're using SQL only for passdb lookup. > plugi

Re: [Dovecot] v2.1.rc3 released

2012-01-18 Thread Timo Sirainen
On Mon, 2012-01-16 at 17:05 +0200, Kirill A. Shutemov wrote: > ./autogen failed: > > $ ./autogen.sh > libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and > libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. > libtoolize: Consider adding `-I m4' to

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-18 Thread Timo Sirainen
On Wed, 2012-01-18 at 22:36 +0800, Lee Standen wrote: > How about this... are there any tools available (that you know of) to > capture real live customer POP3/IMAP traffic and replay it against a > separate system? That might be a feasible option for doing a > like-for-like comparison in our

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-18 Thread Timo Sirainen
On Wed, 2012-01-18 at 23:21 +0800, Lee Standen wrote: > Out of interest, has the NFS issue been tested on NFS4? My > understanding is that NFS4 has a lot of fixes for the locking/caching > problems that plague NFS3, and we were planning to use NFS4 from day > one. I've tried with Linux NFS4 se

Re: [Dovecot] 2.1.rc3 (1a722c7676bb): doveadm mailbox list -> Segmentation fault

2012-01-18 Thread Timo Sirainen
On Sun, 2012-01-15 at 14:11 +0100, Pascal Volk wrote: > Core was generated by `doveadm mailbox list -u > jane@example.com /*'. Finally fixed: http://hg.dovecot.org/dovecot-2.1/rev/99ea6da7dc99

Re: [Dovecot] v2.x services documentation

2012-01-18 Thread Timo Sirainen
On Sat, 2012-01-14 at 18:03 +0100, Axel Luttgens wrote: > Up to now, I only had the opportunity to quickly read the wiki page, and have > a small question; one may read: > > process_min_avail > Minimum number of processes that always should be available to accept more > client connections. For s

Re: [Dovecot] Antispam plugin not compatible with Dovecot 2.1

2012-01-18 Thread Timo Sirainen
On Wed, 2012-01-18 at 18:19 +0200, Eugene Paskevich wrote: > >> mailbox.c: In function 'antispam_save_begin': > >> mailbox.c:138:12: error: 'struct mail_save_context' has no member named > >> 'copying' > > > > The "copying" should be changed to "copying_via_save". > > Thank you, Timo. > Would #if

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-18 Thread Timo Sirainen
On 18.1.2012, at 19.54, Mark Moseley wrote: > I'm in the middle of working on a Maildir->mdbox migration as well, > and likewise, over NFS (all Netapps but moving to Sun), and likewise > with split LDA and IMAP/POP servers (and both of those served out of > pools). I was hoping doing things like s

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-18 Thread Timo Sirainen
On 18.1.2012, at 20.51, Jan-Frode Myklebust wrote: > On Wed, Jan 18, 2012 at 07:58:31PM +0200, Timo Sirainen wrote: >> >>> --i.e. all the >>> suggestions at http://wiki2.dovecot.org/NFS. Is that definitely not >>> the case? Is there anything els

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-18 Thread Timo Sirainen
On 18.1.2012, at 22.14, Jan-Frode Myklebust wrote: >>> unfortunately I haven't tested that patch, so I have no idea if it >>> fixed the issues or not... >> >> I'm not sure if that patch is useful or not. The important patch to fix it >> is http://hg.dovecot.org/dovecot-2.0/rev/71084b799a6c > >

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-18 Thread Timo Sirainen
On 18.1.2012, at 21.49, Mark Moseley wrote: >> What's the problem with director-based architecture? > > Nothing, per se. It's just that migrating to mdbox *and* to a director > architecture is quite a bit more added complexity than simply > migrating to mdbox alone. Yes, I agree it's safer to do

<    9   10   11   12   13   14   15   16   17   18   >