Re: [Dovecot] While searching: Assertion failed (offset > = ctx- >input->v_offset)

2008-06-18 Thread Patrick Nagel
Hi Timo, On Thursday 19 June 2008, Timo Sirainen wrote: > On Thu, 2008-06-19 at 14:46 +0800, Patrick Nagel wrote: > > Jun 19 14:35:45 stshamail1 dovecot: Panic: IMAP(username): file > > message-parser.c: line 620 (preparsed_parse_body_init): assertion failed: > > (offset >= ctx->input->v_offset) >

Re: [Dovecot] While searching: Assertion failed (offset >= ctx->input->v_offset)

2008-06-18 Thread Timo Sirainen
On Thu, 2008-06-19 at 14:46 +0800, Patrick Nagel wrote: > Jun 19 14:35:45 stshamail1 dovecot: Panic: IMAP(username): file > message-parser.c: line 620 (preparsed_parse_body_init): assertion failed: > (offset >= ctx->input->v_offset) What Dovecot version? (Didn't I fix this a few weeks ago?) s

[Dovecot] While searching: Assertion failed (offset >= ctx->input->v_offset)

2008-06-18 Thread Patrick Nagel
Hi, while a user is searching through his (1.2 GB, >15) mails, I get a lot of these messages in the log, and the search (with Thunderbird) doesn't finish: Jun 19 14:35:45 stshamail1 dovecot: Panic: IMAP(username): file message-parser.c: line 620 (preparsed_parse_body_init): assertion failed

Re: [Dovecot] FTS/squat search indexes built when?

2008-06-18 Thread Timo Sirainen
On Sat, 2008-06-14 at 07:56 -0400, Jay Levitt wrote: > But what I'm not clear about: Does it then get updated on every delivery > by LDA? Or does the index also need to get updated when I do a search, > assuming there's been at least one message delivered since the last search? Currently it get

Re: [Dovecot] v1.1.rc11 released

2008-06-18 Thread Timo Sirainen
On Thu, 2008-06-19 at 06:56 +0200, Gerhard Wiesinger wrote: > Hello Timo! > > Anything changed since 1.1rc9 regarding the mbox issue? > Did you have a look at the file I sent you? Not yet. I've been trying to avoid spending time on debugging difficult things recently. Time to write some new code

Re: [Dovecot] v1.1.rc11 released

2008-06-18 Thread Gerhard Wiesinger
Hello Timo! Anything changed since 1.1rc9 regarding the mbox issue? Did you have a look at the file I sent you? Thnx. Ciao, Gerhard Timo Sirainen wrote: http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz.sig This is the final

Re: [Dovecot] v1.1.rc11 released

2008-06-18 Thread Timo Sirainen
On Wed, 2008-06-18 at 21:10 -0700, Woonsan Ko wrote: > After some googling on this problem, I found that adding `#include ' > before other includes in ./src/lib/restrict-access.c. Done. > rpcgen -h /usr/include/rpcsvc/rquota.x > rquota.h Here it generates the rquota.h > In file include

Re: [Dovecot] Can't find next message offset

2008-06-18 Thread Timo Sirainen
On Tue, 2008-06-17 at 10:32 -0400, Dean Brooks wrote: > Hi, > > I am getting a lot of warnings since upgrading to 1.1rc10 (from rc4): > >mbox /home2/seta/Mail/Sent: Can't find next message offset for uid=12 Fixed: http://hg.dovecot.org/dovecot-1.1/rev/6562adf63787 signature.asc Descriptio

Re: [Dovecot] v1.1.rc11 released

2008-06-18 Thread Dean Brooks
On Thu, Jun 19, 2008 at 01:50:15AM +0300, Timo Sirainen wrote: > http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz > http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz.sig > > This is the final v1.1 RC. Tomorrow I'll change only the version number, > update the documentation and c

Re: [Dovecot] v1.1.rc11 released

2008-06-18 Thread Woonsan Ko
Hi All, I could build and install on Linux and HP-UX machines successfully with gcc, but I failed on an AIX machine with gcc. So may I ask you some advice on making on AIX? The environment is as follows (`gcc -v`): Using built-in specs. Target: powerpc-ibm-aix5.3.0.0 Configured with: ../g

[Dovecot] v1.1.rc11 released

2008-06-18 Thread Timo Sirainen
http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz.sig This is the final v1.1 RC. Tomorrow I'll change only the version number, update the documentation and call it v1.1.0. But please test this anyway to make sure I didn't happen t

Re: [Dovecot] Migrate to 1.1 from 1.0.14

2008-06-18 Thread Timo Sirainen
On Wed, 2008-06-18 at 16:49 +0200, Nicolas Letellier wrote: > Hello. > > I see dovecot 1.1 will be release very soon. I'm thinking about a > migration from my 1.0.14. The migration job will be hard/long? It shouldn't require more than possibly changing some configuration settings explained in the

Re: [Dovecot] Using checkpassword to block ips?

2008-06-18 Thread Larry Ludwig
Timo Sirainen wrote: On Sun, 2008-06-15 at 19:04 -0400, Larry Ludwig wrote: if ( $result == 0) { @ENV{"SHELL","USER","HOME"} = ($shell,$user,$home); exit 0; } else { exit 1; } 1) If you want to allow the user, deny=yes passdb check must fail. So exit with 1 in t

Re: [Dovecot] Using checkpassword to block ips?

2008-06-18 Thread Timo Sirainen
On Sun, 2008-06-15 at 19:04 -0400, Larry Ludwig wrote: > if ( $result == 0) { > @ENV{"SHELL","USER","HOME"} = ($shell,$user,$home); > exit 0; > } > else { > exit 1; > } 1) If you want to allow the user, deny=yes passdb check must fail. So exit with 1 in that case. 2) With

[Dovecot] quote-warning details

2008-06-18 Thread Alexander Prinsier
Hello, I have some questions on how quota-warning is supposed to work. -Does it keep a state, so that it doesn't send the same warning several times? Or should the script itself do something to remember it already sent a warning? -When exactly does it run? Does it run when deliver runs? Or only

[Dovecot] debugging dovecot and sieve

2008-06-18 Thread Frank Church
I have install dovecot and sieve and it doesn't appear to be working. Below is my dovecot.conf Are there some debugging settings I can use to test if dovecot is linking with sieve properly. Nothing appears to show up in the logs start dovecot.conf === cat /usr/local/etc/do

Re: [Dovecot] Dovecot index, NFS, and multiple architectures

2008-06-18 Thread Timo Sirainen
On Jun 18, 2008, at 9:12 PM, David Halik wrote: Now this setup is just a test example and not exactly what we'll be running in production, but it tipped up the problem either way. Since the index is shared by both the Linux i386 machine and the sparc64 Solaris machine, if mail is accessed f

Re: [Dovecot] v1.2 development tree started

2008-06-18 Thread Timo Sirainen
On Jun 18, 2008, at 5:56 PM, Joseph Yee wrote: Hi Timo, First of all, dovecot is great! :) Question on CONDSTORE. I haven't re-read RFC to confirm, isn't CONDSTORE operates under switch mode with command ENABLE? So that IMAP client needs to request such capability. Maybe I mixed up with

Re: [Dovecot] Dovecot index, NFS, and multiple architectures

2008-06-18 Thread Stewart Dean
When I opened your message, before I could even read it, NFS failed and corrupted everything. Shades of Shroedinger's Cat! Just kidding (I hope) :) Charles Marcus wrote: On 6/18/2008, Stewart Dean ([EMAIL PROTECTED]) wrote: Gee, I've been running for a year now, Note I said *fully* support

Re: [Dovecot] dovecot as gmail imap proxy

2008-06-18 Thread Timo Sirainen
On Jun 18, 2008, at 2:59 PM, Farkas Levente wrote: Timo what do you think how much work would be add such a middleware imap server capabilities (ie. imap backend) to dovecot? I think it would be quite a lot of work. Definitely a lot more than I have time for currently. The most difficult th

Re: [Dovecot] Dovecot index, NFS, and multiple architectures

2008-06-18 Thread Charles Marcus
On 6/18/2008, Stewart Dean ([EMAIL PROTECTED]) wrote: Gee, I've been running for a year now, Note I said *fully* supported. Specifically - Timo recommends to use 1.1 if you're using NFS... but by all means, do what ever you like... :) -- Best regards, Charles

Re: [Dovecot] Dovecot index, NFS, and multiple architectures

2008-06-18 Thread Stewart Dean
Gee, I've been running for a year now, albeit in an NFS environment where there are only four machines, 3 AIX (A master where the files are resident and 2 other machines as NFS clients...a mailing list server (which can write heavily to the mounts) and a login server (which writes lightly if at

Re: [Dovecot] Using checkpassword to block ips?

2008-06-18 Thread Larry Ludwig
> -- > > Message: 1 > Date: Sun, 15 Jun 2008 19:04:05 -0400 > From: "Larry Ludwig" <[EMAIL PROTECTED]> > Subject: [Dovecot] Using checkpassword to block ips? > To: > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; c

Re: [Dovecot] Dovecot index, NFS, and multiple architectures

2008-06-18 Thread David Halik
Great, I was hoping the answer was to use the 1.1.0 release. I'll let you know if the issues continue, but that sounds like the problem. Thanks again, -Dave Charles Marcus wrote: On 6/18/2008, David Halik ([EMAIL PROTECTED]) wrote: * Linux workstations running Fedora 8/9 i386 and a locally c

Re: [Dovecot] Dovecot index, NFS, and multiple architectures

2008-06-18 Thread Charles Marcus
On 6/18/2008, David Halik ([EMAIL PROTECTED]) wrote: * Linux workstations running Fedora 8/9 i386 and a locally called Dovecot 1.0.14 * NFS'd homedir with Maildir setup * NFS is on Solaris 9 sparcv9 (64bit) running Dovecot 1.0.14 NFS is only fully supported on 1.1+. This is why you're having t

[Dovecot] Dovecot index, NFS, and multiple architectures

2008-06-18 Thread David Halik
Hi all, I crawled through the archives for a bit but didn't see anything helpful, so I apologize if this has already been addressed. We've been dying to move from Courier to Dovecot across our whole infrastructure for quite some time, but until recently our setup wasn't possible until this ha

Re: [Dovecot] v1.2 development tree started

2008-06-18 Thread Joseph Yee
Hi Timo, First of all, dovecot is great! :) Question on CONDSTORE. I haven't re-read RFC to confirm, isn't CONDSTORE operates under switch mode with command ENABLE? So that IMAP client needs to request such capability. Maybe I mixed up with another IMAP command. Thanks Joseph Timo Sirai

[Dovecot] Migrate to 1.1 from 1.0.14

2008-06-18 Thread Nicolas Letellier
Hello. I see dovecot 1.1 will be release very soon. I'm thinking about a migration from my 1.0.14. The migration job will be hard/long? I see in http://wiki.dovecot.org/Upgrading/1.1 that dovecot-uidlist file are in a new format. It will be problem for Courier (pop/imap) upgrades? (today, I often

Re: [Dovecot] don't follow symlinks when creating mailbox list

2008-06-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 18 Jun 2008, Dan Horák wrote: The main problem are loops that are taking the imap process into endless search. The February thread contains your workaround (patch) that blocks all symlinks which means even the harmless ones. Some people us

Re: [Dovecot] don't follow symlinks when creating mailbox list

2008-06-18 Thread Dan Horák
Timo Sirainen píše v St 18. 06. 2008 v 12:38 +0300: > On Wed, 2008-06-18 at 09:35 +0200, Dan Horák wrote: > > this issue was discussed here twice in the not so far history > > (http://www.dovecot.org/list/dovecot/2008-January/028317.html, > > http://www.dovecot.org/list/dovecot/2008-February/02914

Re: [Dovecot] dovecot as gmail imap proxy

2008-06-18 Thread Farkas Levente
Asheesh Laroia wrote: On Tue, 17 Jun 2008, Farkas Levente wrote: hi, may be this is a bit of topic, but i hope not. it's always a big question which is the better to choose a hosting provider to keep and manage you mail or setup your own mail server, hosting, virus and spam filter etc.. now

Re: [Dovecot] dovecot-uidlist cleanup

2008-06-18 Thread Thomas Zajic
* Timo Sirainen, 2008-06-18 07:43 BTW. If anything except SEARCH takes more than an instant in a mailbox smaller than 10k messages on a non-loaded server, it's most likely a bug. And I just guessed that 10k value because that's how large many of my mailboxes are on a 10 years old server, probabl

Re: [Dovecot] don't follow symlinks when creating mailbox list

2008-06-18 Thread Timo Sirainen
On Wed, 2008-06-18 at 09:35 +0200, Dan Horák wrote: > this issue was discussed here twice in the not so far history > (http://www.dovecot.org/list/dovecot/2008-January/028317.html, > http://www.dovecot.org/list/dovecot/2008-February/029147.html), but I > need to open it again as it makes problems f

Re: [Dovecot] v1.2 development tree started

2008-06-18 Thread Timo Sirainen
Updates: On Mon, 2008-06-09 at 05:51 +0300, Timo Sirainen wrote: > I merged all the new features and latest v1.1 changes under one tree: > > http://hg.dovecot.org/dovecot-1.2/ Nightly snapshots are also from v1.2 code tree nowadays. > 1. CONDSTORE extension is probably the largest change. It ad

[Dovecot] quota attribute for ldap.

2008-06-18 Thread Mauro Sanna
I want to manage quotas and I want to manage quota limit with ldap. I use debian etch with slapd version 2.3 as ldap server. I see that in the schemas that comes with openLDAP debian distribution there are no quota attributes. How you have solved it?

Re: [Dovecot] dovecot as gmail imap proxy

2008-06-18 Thread Timo Sirainen
On Wed, 2008-06-18 at 10:32 +0200, Geert Hendrickx wrote: > On Tue, Jun 17, 2008 at 03:37:30PM -0700, Peter Hessler wrote: > > I <3 mutt. Easy enough, but lots of power is available. > > > Yes, mutt is great! :-) > > Btw, you can use mutt with dovecot without running dovecot as a daemon/server,

Re: [Dovecot] dovecot as gmail imap proxy

2008-06-18 Thread Geert Hendrickx
On Tue, Jun 17, 2008 at 03:37:30PM -0700, Peter Hessler wrote: > I <3 mutt. Easy enough, but lots of power is available. Yes, mutt is great! :-) Btw, you can use mutt with dovecot without running dovecot as a daemon/server, by putting this in your .muttrc: set tunnel="MAIL=/home/geert/mbox /us

[Dovecot] don't follow symlinks when creating mailbox list

2008-06-18 Thread Dan Horák
Hi, this issue was discussed here twice in the not so far history (http://www.dovecot.org/list/dovecot/2008-January/028317.html, http://www.dovecot.org/list/dovecot/2008-February/029147.html), but I need to open it again as it makes problems for our users on one side and on the other side we don't

Re: [Dovecot] How to seperate pop3 and imap user lookup?

2008-06-18 Thread Zhang Huangbin
Timo Sirainen wrote: On Wed, 2008-06-18 at 13:05 +0800, Zhang Huangbin wrote: Hi, all. I have two column in MySQL user table: - enablepop (NOT NULL default '1') - enableimap (NOT NULL default '1') How can i config dovecot to seperate pop user lookup and imap user lookup? Use %s whic