Re: [Dovecot] mailutil?

2009-03-24 Thread Patrick Ben Koetter
* Timo Sirainen dovecot@dovecot.org: dbox format needs at least two tools: 1. Expunging only marks the message having refcount=0. The actual disk space is freed only after calling a tool pointing to the user's dbox dir. 2. Ability to force index resync/rebuild in case it doesn't figure

Re: [Dovecot] Dovecot shared quota with Maildir

2009-03-24 Thread Jorgen Lundman
With v1.2 this would be somewhat easier I think, because it allows you to create new user structures, look up their home dirs (by querying dovecot-auth) and calculate their quotas. But you'd still need a way to get a list of usernames who share the quota. All of this is actually related to

Re: [Dovecot] Problem with dovecot + imap idle + qmail-localdelivery

2009-03-24 Thread Wouter van der Schagt
Is the problem that mail doesn't actually get deleted when IDLE is used, or that a client being in IDLE is somehow causing qmail-local to give the quota errors incorrectly? I can't see how the latter would be possible, IDLE really has nothing to do with quota.. Just a thought...could it be

Re: [Dovecot] Staged migration from mbox to maildir

2009-03-24 Thread Timo Sirainen
On Mar 18, 2009, at 2:10 PM, Stewart Dean wrote: The problem comes with IMAP. While dovecot can tell if a folder is mbox or maildir, it has to be pointed to the right place (by namespace definitions in the client, IIRC), and the default of putting the inbox under ~/mail is one I'd like to

Re: [Dovecot] mailutil?

2009-03-24 Thread Charles Marcus
On 3/24/2009 2:21 AM, Patrick Ben Koetter wrote: I'm starting to think about building a more generic mailutil tool, maybe something similar to what UW-IMAP has. So two questions: - What should the tool be called? Probably not mailutil to avoid confusion. doveutil? dovemail? dovetool?

Re: [Dovecot] mailutil?

2009-03-24 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 23 Mar 2009, Timo Sirainen wrote: 2. Ability to force index resync/rebuild in case it doesn't figure out itself that there's something wrong. - What should the tool be called? Probably not mailutil to avoid confusion. doveutil? dovemail?

Re: [Dovecot] mailutil?

2009-03-24 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 24 Mar 2009, Patrick Ben Koetter wrote: 1. Create mbox|maildir|dbox mailboxes Well, I thought this, too, but because of the direct way to call dovecot-imap, most of this could be handled through IMAP interactively or script. Maybe: to

Re: [Dovecot] quota-fs: get nfs GROUP quota (patch)

2009-03-24 Thread fando...@rol.ru
Timo Sirainen wrote: On Tue, 2009-02-17 at 11:14 +0300, fando...@rol.ru wrote: Hi all. Unfortunately, the existing quota-fs does not know how to get GROUP quota with NFS storage. But there is a tool for Linux quota-tools (http://slackware.rol.ru/slackware/slackware-12.2/source/a/quota/).

[Dovecot] LIST command claims children exist in empty folder

2009-03-24 Thread Jonathan Siegle
Dovecot 1.2 (8834:5284f45c249a) Should list return \HasChildren if no folders exist under it? I'm using mbox format. 2 create testfolder/ 2 OK Create completed. 3 list testfolder/ * * LIST (\Noselect \HasChildren) / testfolder/ 3 OK List completed. 4 list testfolder/ % * LIST (\Noselect

Re: [Dovecot] Panic: Trying to allocate 2147483648 bytes

2009-03-24 Thread Timo Sirainen
On Sat, 2009-03-21 at 18:58 -0400, David Halik wrote: Mar 21 18:43:57 er0.rutgers.edu IMAP(dhalik): : [ID 107833 mail.crit] Panic: Trying to allocate 2147483648 bytes Attached patch probably helps? diff -r 1adea68d749b src/lib-charset/charset-iconv.c --- a/src/lib-charset/charset-iconv.c Mon

Re: [Dovecot] THREAD X-REFERENCES2 index bug?

2009-03-24 Thread Timo Sirainen
On Sat, 2009-03-21 at 15:55 +, Nathan Kinkade wrote: $ export MAIL=maildir:~/Maildir:INBOX=~/Maildir/INBOX $ /usr/lib/dovecot/imap snip 1 SELECT INBOX snip 2 THREAD X-REFERENCES2 UTF-8 ALL * THREAD (0)(2)(1 3)(4) 2 OK Thread completed. Could you send me the dovecot.index* files? Would

Re: [Dovecot] Panic: Trying to allocate 2147483648 bytes

2009-03-24 Thread David Halik
Great, thanks! I'll try it now and see how it goes. We've actually been debugging this the last couple of days and it does seem to be related to how E2BIG from iconv is handled. We set a watch on charset_to_utf8_try and while most of the time it returned probably, every once in awhile it

Re: [Dovecot] Dovecot error: Panic: i_stream_stat()

2009-03-24 Thread Timo Sirainen
On Sat, 2009-03-21 at 21:16 +0400, PEACEYALL wrote: Hello! I'm testing the virtual mail boxes using telnet. The telnet seesion completes 100% okay with no errors at all. Though, when postfix has to relay the message to dovecot, i get the following error in my delivery log

Re: [Dovecot] selection correct auth with multiple auth methods

2009-03-24 Thread Timo Sirainen
On Mon, 2009-03-23 at 14:27 +1100, jm wrote: How do you control which socket or authentication process dovecot's pop3 daemon chooses to use? I've got a user database with two flags one to allow pop3 access and the other to allow the use of auth smtp. There are two authentication instances

Re: [Dovecot] Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 4): Operation not permitted

2009-03-24 Thread Jérôme Blanc
Hello, I'm trying to investigate the matter with the few informations I could get so far. I tried making the security level at the lowest possible with no better luck. I also tried another kernel in case. Is there any way I can know which files it tries to poll ? It could help me investigate.

Re: [Dovecot] Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 4): Operation not permitted

2009-03-24 Thread Jérôme Blanc
Hello again, I might have more informations about the matter. I modified dovecot's configuration file so that when calling imap-login it will call it through strace. From what I could understand (I'm not really confident with that output yet ;-)), it seems that epoll_ctl are not blocked as one

Re: [Dovecot] Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 4): Operation not permitted

2009-03-24 Thread Timo Sirainen
On Tue, 2009-03-24 at 20:08 +0100, Jérôme Blanc wrote: I attached a text file with the strace output as copying it in an email would be awful to read with the 80 characters limit. Well, that did look interesting. The problem is that the listener socket isn't passed from master process to login

[Dovecot] Version 2.0 with multiple IP/TLS certificate support.

2009-03-24 Thread Gordon Dickens
Hello, I sent this email earlier but for some reason it did not go through so I will try again! I am using Dovecot on several servers that require multiple domain SSL certificates. I like Dovecot very much because of its speed and stability. Currently, Dovecot does not support multiple

Re: [Dovecot] mailutil?

2009-03-24 Thread Timo Sirainen
On Mon, 2009-03-23 at 20:25 -0400, Timo Sirainen wrote: - What should the tool be called? Probably not mailutil to avoid confusion. doveutil? dovemail? dovetool? mailtool? dovestore, dovemail, doveadm, doveadmin, dovetool are probably usable names. I'm beginning to think doveadm or doveadmin

Re: [Dovecot] mailutil?

2009-03-24 Thread John R. Dennison
On Tue, Mar 24, 2009 at 04:40:41PM -0400, Timo Sirainen wrote: I'm beginning to think doveadm or doveadmin would be good. Because Cyrus had cyradm :) I prefer dovecotadm or doveadm. It's an administrative command and the name fits the purpose.

Re: [Dovecot] Panic: Trying to allocate 2147483648 bytes

2009-03-24 Thread David Halik
Unfortunately, the patch didn't help, BUT I've discovered some very interesting things along the way that I think you'd like to hear: 1) The problem stems from certain emails with odd or badly formed characters. The reason I wasn't seeing it on one machine was because I was using a

Re: [Dovecot] Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 4): Operation not permitted

2009-03-24 Thread Jérôme Blanc
Le mardi 24 mars 2009 à 15:28, Timo Sirainen t...@iki.fi a écrit : On Tue, 2009-03-24 at 20:08 +0100, Jérôme Blanc wrote: I attached a text file with the strace output as copying it in an email would be awful to read with the 80 characters limit. Well, that did look interesting. The

Re: [Dovecot] Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 4): Operation not permitted

2009-03-24 Thread Timo Sirainen
On Tue, 2009-03-24 at 22:42 +0100, Jérôme Blanc wrote: However, you need to know for a proper interpration that in order to try your patch, instead of the Mandriva RPM, I compiled myself from the dovecot website source. The version is a bit different and any special stuff prepared by the

[Dovecot] Dbox Upgrade Problem With MAILBOXDIR

2009-03-24 Thread Alan Swanson
Hi. Trying to upgrade from Dovecot 1.1.11 to 1.1.13 but having a problem with imap process segfaulting. Backtrace is below. I presume it's related to these MAILBOXDIR changes but the only documentation is the single line in the news for changing to :MAILBOXDIR=mailboxes when using dbox. Current

Re: [Dovecot] Dbox Upgrade Problem With MAILBOXDIR

2009-03-24 Thread Timo Sirainen
On Tue, 2009-03-24 at 22:49 +, Alan Swanson wrote: Hi. Trying to upgrade from Dovecot 1.1.11 to 1.1.13 but having a problem with imap process segfaulting. Backtrace is below. I presume it's related to these MAILBOXDIR changes but the only documentation is the single line in the news for

Re: [Dovecot] selection correct auth with multiple auth methods

2009-03-24 Thread jm
Much thanks for clearing that up. The documentation wasn't very heplful on that point. I'll change it to a single instance and rely on a more complex SQL query. I look forward to version 2. thanks again, Jeff. Timo Sirainen wrote: On Mon, 2009-03-23 at 14:27 +1100, jm wrote: How do you

[Dovecot] Missing TMP folder - Dovecot 1.2 Beta3

2009-03-24 Thread Matt Rude
Recently after upgrading to 1.2 Beta3 from 1.1.13, I started to defer mail. After looking into it deeper, it looks like Dovecot/sieve now asks for a tmp folder in the imap (maildir) folder. Once I added the tmp folder as the logs indicants, the mail was processed normally. I have split my Inbox