Re: [Dovecot] v1.1.3 release candidate

2008-08-30 Thread Timo Sirainen
On Sun, 2008-08-31 at 07:56 +0200, Thomas Zajic wrote: > * Timo Sirainen, 2008-08-31 07:40 > > > [...] > > How were you able to create a "when" column? I only get syntax error if > > I try to do that. > > [...] > > Wow, Timo, you're the man - great catch! 8-) I created the table using > phpMyAdmi

Re: [Dovecot] v1.1.3 release candidate

2008-08-30 Thread Thomas Zajic
* Timo Sirainen, 2008-08-31 07:40 > [...] > How were you able to create a "when" column? I only get syntax error if > I try to do that. > [...] Wow, Timo, you're the man - great catch! 8-) I created the table using phpMyAdmin, which didn't seem to mind that column name. Now I changed it to "times

Re: [Dovecot] v1.1.3 release candidate

2008-08-30 Thread Timo Sirainen
On Sun, 2008-08-31 at 07:22 +0200, Thomas Zajic wrote: > The expire plugin using MySQL as a backend still doesn't work at > all here, the table remains empty and doesn't ever get updated > (see http://www.dovecot.org/list/dovecot/2008-August/032687.html). Just tested, worked fine with me.. Are you

Re: [Dovecot] v1.1.3 release candidate

2008-08-30 Thread Thomas Zajic
* Timo Sirainen, 2008-08-30 15:33 > I thought about making a release now, but I'll probably do some more > fixes tomorrow, so here's a prerelease for everyone to test. :) If you > see any bugs with this (old or new), please report. > [...] The expire plugin using MySQL as a backend still doesn't

Re: [Dovecot] Input and suggestions: Mail mirror setup

2008-08-30 Thread Christopher J. Buckley
Ulf Zimmermann wrote: What you outline is not a "mirror" at all, but a secondary mailhub, with a rather convoluted and inappropriate setup. If you wish to create distributed mailstores use postfix transports. No, I am really talking about a copy of any email sent from a number of machines. Our

Re: [Dovecot] Dovecot and fake users

2008-08-30 Thread John Simpson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2008-08-19, at 0305, Vytenis Sabaliauskas wrote: Our company has decided to make a fake POP3 (and possibly IMAP) server, which accepts any user name and password combination and shows there are no new messages. This is for the purpose that wh

Re: [Dovecot] Input and suggestions: Mail mirror setup

2008-08-30 Thread Ulf Zimmermann
> -Original Message- > From: [EMAIL PROTECTED] [mailto:dovecot- > [EMAIL PROTECTED] On Behalf Of Christopher J. > Buckley > Sent: 08/30/2008 16:19 > To: dovecot@dovecot.org > Subject: Re: [Dovecot] Input and suggestions: Mail mirror setup > > Ulf Zimmermann wrote: > > Hello, everyone. > >

Re: [Dovecot] Input and suggestions: Mail mirror setup

2008-08-30 Thread Christopher J. Buckley
Ulf Zimmermann wrote: Hello, everyone. To make life for our operations team easier I am looking at setting up a mail mirror of any email which gets sent from certain machines. [snip] If you really want a "mirror" use rsync. What you outline is not a "mirror" at all, but a secondary mailhub, w

[Dovecot] Input and suggestions: Mail mirror setup

2008-08-30 Thread Ulf Zimmermann
Hello, everyone. To make life for our operations team easier I am looking at setting up a mail mirror of any email which gets sent from certain machines. My current ideas go along the following lines: Each machine will use the Postfix "always_bcc" option and set it to an address like [EMAIL PROTE

Re: [Dovecot] GETQUOTAROOT (part 2)

2008-08-30 Thread Patrick Medina
> After 5120 bytes the maildirsize file is rebuilt by reading > through the entire maildir. This is also what Courier did. Thank you for the quick reply and clarification. I was not aware of this behavior before. > So what exactly happens when the maildirsize is rebuilt? > You mean all bytes are

Re: [Dovecot] GETQUOTAROOT (part 2)

2008-08-30 Thread Timo Sirainen
On Sat, 2008-08-30 at 09:15 -0700, Patrick Medina wrote: > > So what exactly happens when the maildirsize is rebuilt? > > You mean all bytes are counted, except from INBOX? > > Everything is normal (counted) when the file is rebuilt > at 5120 bytes. > > The problem seems to be when, upon migratio

Re: [Dovecot] GETQUOTAROOT (part 2)

2008-08-30 Thread Jose Celestino
Words by Patrick Medina [Sat, Aug 30, 2008 at 08:45:43AM -0700]: > Hello, > > I'm a recent convert to dovecot from courier-imap and the > performance has certainly improved. I'm running the vanilla > 1.0.7 version that came with the CentOS 5.2 x86_64 distro. > > I've come across a similar proble

Re: [Dovecot] Distributed indexes, maildir_copy_preserve_filename, and Microsoft

2008-08-30 Thread Jack Stewart
.. Original Message ... On Sat, 30 Aug 2008 13:47:50 +0300 "Timo Sirainen" <[EMAIL PROTECTED]> wrote: >On Fri, 2008-08-22 at 10:50 -0700, Jack Stewart wrote: >> Hi, >> >> I've just completed a migration from Courier to a Dovecot 1.0.7 (patched >> RHE 5) which is working great, except fo

Re: [Dovecot] GETQUOTAROOT (part 2)

2008-08-30 Thread Timo Sirainen
On Sat, 2008-08-30 at 08:45 -0700, Patrick Medina wrote: > After some testing with these users, the problem seems to be > related to the size of the maildirsize file itself. A file > size greater than 5119 bytes results in no quota for the INBOX > of the user, and the file seems to be ignored enti

[Dovecot] GETQUOTAROOT (part 2)

2008-08-30 Thread Patrick Medina
Hello, I'm a recent convert to dovecot from courier-imap and the performance has certainly improved. I'm running the vanilla 1.0.7 version that came with the CentOS 5.2 x86_64 distro. I've come across a similar problem that was posted by Ralf Hildebrandt earlier this year under the same subject,

Re: [Dovecot] sieve forward/redirect to multiple addresses

2008-08-30 Thread Stephan Bosch
Timo Sirainen wrote: > On Fri, 2008-08-29 at 07:11 -0700, Anil wrote: >> Only the first redirect seems to be honored, the 2nd is not. >> > Could be a bug in cmusieve implementation or it could be designed that > way. In either case I'd rather not do anything about it. Out of curiosity I took

[Dovecot] v1.1.3 release candidate

2008-08-30 Thread Timo Sirainen
I thought about making a release now, but I'll probably do some more fixes tomorrow, so here's a prerelease for everyone to test. :) If you see any bugs with this (old or new), please report. http://dovecot.org/tmp/dovecot-1.1.3-rc.tar.gz Important changes are: * mail_max_userip_connecti

Re: [Dovecot] sparc quota bug

2008-08-30 Thread Timo Sirainen
On Thu, 2008-07-24 at 09:53 +0200, [EMAIL PROTECTED] wrote: > I am getting the following error: > dovecot: Jul 23 18:04:44 Error: child 7600 (imap) killed with signal 10 > > How to reproduce: > Try to delete or move a mail to another folder. The mail actually gets > copied to the other folder but

Re: [Dovecot] Deliver autocreate with auto-subscribe?

2008-08-30 Thread Paul Reilly
Tested, and works perfectly. Newly created folders are added to the subscriptions file now, and so webmail picks up on the fact that new email is there. Thanks Timo. That makes my email set up really perfect now. I can't speak more highly about dovecot. It really is a best-of-class IMAP server. P

Re: [Dovecot] Deliver autocreate with auto-subscribe?

2008-08-30 Thread Paul Reilly
That's brilliant Timo. Thanks! I'll apply and test the patch now. Paul On Sat, Aug 30, 2008 at 11:34 AM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Fri, 2008-08-22 at 13:25 +0100, Paul Reilly wrote: > > However, my problem is my IMAP client (roundcube and HordeIMP) does > > not see the newly

Re: [Dovecot] Distributed indexes, maildir_copy_preserve_filename, and Microsoft

2008-08-30 Thread Timo Sirainen
On Fri, 2008-08-22 at 10:50 -0700, Jack Stewart wrote: > Hi, > > I've just completed a migration from Courier to a Dovecot 1.0.7 (patched > RHE 5) which is working great, except for this weirdness of an issue > that is impacting a handful of users. My question is that will turning > off maildir

Re: [Dovecot] Sorting a folder (by THREAD) takes a long time

2008-08-30 Thread Timo Sirainen
On Mon, 2008-08-18 at 01:42 -0400, Asheesh Laroia wrote: > > But if it really is because of THREAD, you're in luck. I've almost > > finished thread index implementation and I'm also considering making it > > available for v1.1 as a plugin. > > That would rule. (Unless I can already get it as pa

Re: [Dovecot] Deliver autocreate with auto-subscribe?

2008-08-30 Thread Timo Sirainen
On Fri, 2008-08-22 at 13:25 +0100, Paul Reilly wrote: > However, my problem is my IMAP client (roundcube and HordeIMP) does > not see the newly created folder. I have to manually subscribe it in > the webmail client, or I have to add the folder to the "subscriptions" > file in my home dir. So my qu

Re: [Dovecot] Dovecot 1.1.2

2008-08-30 Thread Timo Sirainen
On Mon, 2008-08-25 at 18:39 +0300, Lauri Jesmin wrote: > Hello, > > I upgraded dovecot to 1.1.2 this weekend and i get those errors: > grep dovecot /var/log/net/maillog |grep Panic | cut -d " " -f 11-100| > sort | uniq -c | sort -rn >7547 file index-sync.c: line 39: assertion failed: > (seq_

Re: [Dovecot] Proxy logging destuser

2008-08-30 Thread Timo Sirainen
On Tue, 2008-08-26 at 07:20 +0200, Paul Gamble - MWEB wrote: > Hi Timo > > The patch you provided to allow Dovecot-as-proxy's login processes to > log the "destuser" only does so for successful authentications/logins. > What is the possibility that this information could additionally be > logged f

Re: [Dovecot] sieve forward/redirect to multiple addresses

2008-08-30 Thread Timo Sirainen
On Fri, 2008-08-29 at 07:11 -0700, Anil wrote: > redirect "[EMAIL PROTECTED]"; > redirect "[EMAIL PROTECTED]"; .. > Only the first redirect seems to be honored, the 2nd is not. Could be a bug in cmusieve implementation or it could be designed that way. In either case I'd rather not

Re: [Dovecot] Wishlist: TLS,SSL cipher in a variable.

2008-08-30 Thread Timo Sirainen
On Thu, 2008-08-28 at 11:17 +0800, R A wrote: > Hello again. > > Just thought I'd ask and see if it would be possible to get this > sometime in the future: > TLS and SSL connection information in a variable like %c today, but more > exhaustive. > > For example I can from postfix get a log like: >

Re: [Dovecot] 1.0.RC2 to 1.1.2

2008-08-30 Thread Timo Sirainen
On Fri, 2008-08-29 at 11:04 +0100, Radomir Zoltowski wrote: > 2. Hard to replicate, you need to have multiple users accessing same > folders, folders are auto-mounted through NFS, mail agent Thunderbird > and/or Outlook, effective UID/GID gives write permissions only on > 'drwxrws---' folders th

Re: [Dovecot] Lots of assertion PANICs in error log

2008-08-30 Thread Timo Sirainen
On Fri, 2008-08-29 at 11:03 -0500, Eric Jon Rostetter wrote: > Quoting Timo Sirainen <[EMAIL PROTECTED]>: > > > On Fri, 2008-08-29 at 09:49 +0100, Yates Ian Mr (ITCS) wrote: > >> I have just upgraded to dovecot 1.1.2 and am seeing lots of the > >> following panic messages filling up the error logs

Re: [Dovecot] Dovecot-1.1.2 assertion failure in preparsed_parse_next_header_init

2008-08-30 Thread Timo Sirainen
On Fri, 2008-08-29 at 15:03 -0500, Mike Abbott wrote: > Panic: IMAP(user): file message-parser.c: line 684 > (preparsed_parse_next_header_init): assertion failed: (ctx->part- > >physical_pos >= ctx->input->v_offset) .. > (gdb) p *ctx > $4 = {parser_pool = 0x812b638, part_pool = 0x0, input = 0x8

Re: [Dovecot] mailbox lock

2008-08-30 Thread Timo Sirainen
On Thu, 2008-08-28 at 18:43 -0300, Thiago Monaco Papageorgiou wrote: > Ok, but we must lock the mailbox because we often move groups of mailbox > from a file system to another. While the mailboxes are being moved, our > LDA shouldn't delivery a new message at the old mailbox, and isn't able > to

Re: [Dovecot] Bad file descriptor with maildir and bzip2 files

2008-08-30 Thread Timo Sirainen
On Wed, 2008-08-27 at 19:45 +0100, Chris Burton wrote: > Hi, > Thanks for the quick reply - it didn't work as is (caused the same error), > here's what the strace looks like with your patch. > > 19:34:20.233363 read(12, "", 4096) = 0 > 19:34:20.233455 dup(12) = 11 > 19:34:20

Re: [Dovecot] Dovecot-1.1.2 segfaults in mail_cache_header_fields_get_offset

2008-08-30 Thread Timo Sirainen
On Fri, 2008-08-29 at 12:58 -0500, Mike Abbott wrote: > dovecot: Aug 29 11:24:48 Error: child 66917 (imap) killed with signal 11 > > --- Backtrace --- > mail_cache_header_fields_get_offset + 214 Fixed: http://hg.dovecot.org/dovecot-1.1/rev/b662b2beaf12 signature.asc Description: This is a digi