Re: De-duping attachments

2010-09-15 Thread Bron Gondwana
On Wed, Sep 15, 2010 at 05:24:11PM +0100, Gavin McCullagh wrote: > Hi, > > On Wed, 15 Sep 2010, Nik Conwell wrote: > > > Isn't the easy hack for dedup just looking at the above md5 files and > > then doing appropriate hard links? This could be done by a nightly > > trawl of the spool space. A

Re: Recovery deleted sent folder message

2010-09-19 Thread Bron Gondwana
rus/ Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ References 1. http://www.cyrusimap.org/ 2. http://lists.andrew.cmu.edu/pipermail/info-cyrus/ 3. http://www.cyrusimap.org/ 4. http://lists.andrew.cmu.edu/pipermail

Re: Is the statuscache.db patch part of Cyrus now?

2010-09-21 Thread Bron Gondwana
On Tue, Sep 21, 2010 at 12:38:32PM +0530, Shuvam Misra wrote: > Is this patch: > > http://www.mail-archive.com/cyrus-de...@lists.andrew.cmu.edu/msg01194.html > > part of Cyrus now? We recently read a post from one friend who said he's > using this patch as part of the optimisations for his l

Re: competition

2010-09-21 Thread Bron Gondwana
On Wed, Sep 22, 2010 at 07:50:25AM +0200, Simon Matter wrote: > > > >> Debian is still stuck on 2.2 and there seems to be no progress in that > >> area. > >> > >> The main problem they apparently have, is the migration path for the > >> various > >> DB files from 2.2 to 2.3. > >> (The 2.3 version i

Re: competition

2010-09-22 Thread Bron Gondwana
On Wed, Sep 22, 2010 at 08:02:35AM +0200, Simon Matter wrote: > Documentation is one thing, and dependencies like BDB another. But there > is something else I guess, for servers which are not dedicated mail > server, it would be really nice if one could install Cyrus and it just > works for every u

Re: competition

2010-09-22 Thread Bron Gondwana
On Wed, 22 Sep 2010 09:12 +0200, "Sebastian Hagedorn" wrote: > --On 22. September 2010 16:10:15 +1000 Bron Gondwana > wrote: > > > Now - BDB database SHOULD be upgradable. I want to find a BDB expert > > to help me with that - (a) detecting that an upgrade

Re: competition

2010-09-22 Thread Bron Gondwana
On Wed, Sep 22, 2010 at 10:13:20AM +0200, J. Roeleveld wrote: > On Wednesday 22 September 2010 09:01:33 Bron Gondwana wrote: > > On Wed, Sep 22, 2010 at 08:02:35AM +0200, Simon Matter wrote: > > > > > Bron ( really trying to make Cyrus newbie-friendly

Re: Berkeley DB: private copy?

2010-09-22 Thread Bron Gondwana
On Wed, Sep 22, 2010 at 04:43:23PM +0530, Shuvam Misra wrote: > I'm open to criticism, but I strongly feel Cyrus should carry its own > version of some of these critical system libraries, specially those ones > which have caused so much compatibility grief in its history. I know this > is considere

Re: competition

2010-09-22 Thread Bron Gondwana
On Wed, Sep 22, 2010 at 11:24:04PM +0200, Gabor Gombas wrote: > On Wed, Sep 22, 2010 at 04:10:15PM +1000, Bron Gondwana wrote: > > > Now - BDB database SHOULD be upgradable. I want to find a BDB expert > > to help me with that - (a) detecting that an upgrade is necessary, and

Re: competition

2010-09-25 Thread Bron Gondwana
On Sat, Sep 25, 2010 at 01:46:10PM +0530, Shuvam Misra wrote: > For situations where we need just random access, not sequential, can we > use GDBM? Is that library better than Berkeley DB? ^ G => GNU => GPL. Licencing issues I suspect. We're BSD licence, not GPL. Bron. Cyrus Home Pag

Re: high-availability Cyrus (i.e. glusterfs)?

2010-09-28 Thread Bron Gondwana
On Tue, Sep 28, 2010 at 12:13:14PM +0200, Tomasz Chmielewski wrote: > On 28.09.2010 11:55, Michael Menge wrote: > > > Replication was introduced in 2.3.x. There are other features in 2.3.x > > I don't want to live with out (e.g. delayed expunge). There was a > > diskussion on the lists about that

Re: competition

2010-09-28 Thread Bron Gondwana
On Mon, Sep 27, 2010 at 09:38:08AM -0400, Jeff Eaton wrote: > > > Better to just use an internal DB codebase (like skiplists) that has > > nothing to do with Sleepycat. But then someone has to write and maintain > > this code. > > > > I think the best compromise I've heard yet is to use something

Re: cyrus 2.3.14 on opensuse 11.1 x64 and lmtp errors

2010-09-28 Thread Bron Gondwana
On Tue, Sep 28, 2010 at 05:47:35PM +0200, Josef Karliak wrote: > Yes, > I see, where did I got that ??? Nor cyrus didn't complain for > unknown config options ... > Thanks for kick :) > J.K. Yeah, Cyrus doesn't complain about unknown options for a couple of reasons: a) because you can prefix

Re: cyrus 2.3.14 on opensuse 11.1 x64 and lmtp errors

2010-09-28 Thread Bron Gondwana
be converted to use annotations / mailbox option flags at some point, but there are probably others. Actually, at a glance it looks like most of the others are just partition finding - we can handle that easily enough :) Bron. On Tue, Sep 28, 2010 at 05:52:57PM -0400, Dave McMurtrie wrote: > B

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Bron Gondwana
A script to find each file and IMAP append it? Just thinking outside the box here! "Chris Pepper" wrote: >On 10/4/10 9:17 AM, Simon Matter wrote: >>> Simon, >>> >>> I did recover /var/lib/imap (although a bit later, FWIW) and >> >> I think "a bit later" is your problem. But I think reconstr

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Bron Gondwana
On Mon, Oct 04, 2010 at 11:17:59AM -0400, Chris Pepper wrote: > On 10/4/10 10:23 AM, Patrick Goetz wrote: > > I wasn't clear about whether the old install was completely gone or > > could still be booted. If you can still start cyrus on the old server, > > you could try imapsync to transfer mail t

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Bron Gondwana
On Mon, Oct 04, 2010 at 05:26:19PM -0400, Chris Pepper wrote: > Thanks, all, for the generous help. Bron asked about output from > reconstruct, which never provided any. It turns out that I was using the > wrong delimiters (., per chk_cyrus output, rather than /), and reconstruct > wasn't

Re: Using mbox2cyrus.pl

2010-10-07 Thread Bron Gondwana
On Thu, Oct 07, 2010 at 12:03:06PM -0400, Joseph Brennan wrote: > > > --On Thursday, October 7, 2010 10:00 -0500 Patrick Goetz > wrote: > > > I have a few mbox files that I need to transfer to cyrus (one relatively > > large ~3MB). I downloaded the perl script mbox2cyrus.pl, and looked > > ov

Re: service imap pid nnn in BUSY state: terminated abnormally

2010-10-08 Thread Bron Gondwana
On Fri, Oct 08, 2010 at 02:40:01PM -0400, Michael D. Sofka wrote: > But, when I try to move it back to the 2.2.12 back-end the same error > message. > > Is this a cyrus version incompatibility? That is, are the moves > one-way, at least when using xfer? Gosh yes. The mailbox internal format h

Re: service imap pid nnn in BUSY state: terminated abnormally

2010-10-08 Thread Bron Gondwana
On Sat, Oct 09, 2010 at 12:04:23AM -0400, Michael D. Sofka wrote: > Bron, Thanks for the answer. A one way xfer in fine. I'm just testing the > new server, and the migration process. > > Is the old format updated on xfer? The account I moved is working fine. Cyrus will automatically update th

Re: service imap pid nnn in BUSY state: terminated abnormally

2010-10-09 Thread Bron Gondwana
On Sat, Oct 09, 2010 at 09:59:44AM -0500, Patrick Goetz wrote: > On 10/9/2010 7:23 AM, Michael D. Sofka wrote: > > > > I can either rsync just the mail messages to the warm backup, and then > > reconstruct the index files. Or, I can take a slight detour, and upgrade > > the warm backup server to

Re: service imap pid nnn in BUSY state: terminated abnormally

2010-10-09 Thread Bron Gondwana
On Sat, Oct 09, 2010 at 08:23:15AM -0400, Michael D. Sofka wrote: > Great. One final question on this topic. > > I currently have a warm-backup server (2.2.12) that I rsync to each night. As > mailboxes are moved to the new 2.3.16 server the rsynced index files would be > the wrong version. >

Re: service imap pid nnn in BUSY state: terminated abnormally

2010-10-09 Thread Bron Gondwana
On Sat, Oct 09, 2010 at 07:30:36AM -0400, Wesley Craig wrote: > On 09 Oct 2010, at 00:04, Michael D. Sofka wrote: > > Is the old format updated on xfer? > > It is updated on xfer -- when the mtimes of the message files are set to the > INTERNALDATE. Yes, file mtimes get set to INTERNALDATE as mu

Re: service imap pid nnn in BUSY state: terminated abnormally

2010-10-09 Thread Bron Gondwana
On Sat, Oct 09, 2010 at 10:24:41PM -0400, Wesley Craig wrote: > On 09 Oct 2010, at 20:31, Bron Gondwana wrote: > > Yes, file mtimes get set to INTERNALDATE as much as possible (and vice > > versa when reconstructing with a missing index - hence the reason for > > doing it

Re: messages in mailbox aren't visible

2010-10-12 Thread Bron Gondwana
On Tue, Oct 12, 2010 at 01:59:41PM -0500, Patrick Goetz wrote: > On 10/12/2010 12:02 PM, Wesley Craig wrote: > > Does ctl_mboxlist show the mailbox? > > > > Yes, although oddly the sub-folders don't follow immediately in the dump > (the folder causing the problem is called "Board"): > > user.dsm

Re: messages in mailbox aren't visible

2010-10-12 Thread Bron Gondwana
On Tue, Oct 12, 2010 at 02:41:47PM -0500, Patrick Goetz wrote: > On 10/12/2010 02:25 PM, Bron Gondwana wrote: > > > > Ahh... what does your improved_mboxlist_sort imapd.conf variable > > say? > > > > > Nada -- I don't have this variable set i

Re: messages in mailbox aren't visible

2010-10-12 Thread Bron Gondwana
On Tue, Oct 12, 2010 at 03:26:16PM -0500, Patrick Goetz wrote: > On 10/12/2010 03:15 PM, Bron Gondwana wrote: > > > > RTFM says: "dump the mailbox, change the setting, undump the mailbox, > > restart" > > Is there some place (e.g. an "M") where

Re: messages in mailbox aren't visible

2010-10-12 Thread Bron Gondwana
On Tue, Oct 12, 2010 at 03:50:40PM -0500, Patrick Goetz wrote: > On 10/12/2010 03:37 PM, Bron Gondwana wrote: > > > > The mailboxes database should be dumped before the option is changed, > > removed, and then undumped after changing the option. > > > > Which k

Re: Cyrus IMAPd 2.4.0 Released

2010-10-12 Thread Bron Gondwana
On Tue, Oct 12, 2010 at 02:23:18PM -0700, David Lang wrote: > I'm happy to see this. > > Is there anyone packaging this up for the common linux distros? > > David Lang We're planning to reach out to the distributions and convince them to package it - as well as integrating any patches they're ap

Re: Problem with Cyrus 2.4.0 when move message to Mailbox Trash

2010-10-12 Thread Bron Gondwana
On Tue, Oct 12, 2010 at 06:21:36PM -0300, Lucas Zinato Carraro wrote: > Hi, > > I am testing the new Cyrus Imapd Version 2.4.0 > > I have a murder ( aggregation) enviromment. > --- > > Using a Webmail ( Expresso: http://www.expr

Re: Cyrus IMAPd 2.4.0 Released

2010-10-12 Thread Bron Gondwana
On Tue, Oct 12, 2010 at 06:21:19PM -0500, Frank Pittel wrote: > On Tue, Oct 12, 2010 at 06:50:03PM -0400, Bron Gondwana wrote: > > On Tue, Oct 12, 2010 at 02:23:18PM -0700, David Lang wrote: > > > I'm happy to see this. > > > > > > Is there anyone packa

Re: messages in mailbox aren't visible

2010-10-13 Thread Bron Gondwana
On Wed, Oct 13, 2010 at 06:38:27AM -0500, Patrick Goetz wrote: > On 10/12/2010 8:49 PM, Wesley Craig wrote: > > > > \Noselect is the result of LIST et al not finding the mailbox in question. > > It's not "set" per se, but returned descriptively. Given the odd sort order > > from ctl_mboxlist -d,

Re: Weird sync problems in 2.4.0

2010-10-13 Thread Bron Gondwana
Are you reconstructing with -G? My best guess is the original file is corrupt, but without -G it won't notice! steff...@gmx.de wrote: >Hello everybody, > >I have a problem regarding the synchronisation in 2.4.0. I installed 2.4.0 on >two test servers where 2.3.16 was installed. The imapd on the

Re: Problem with Cyrus 2.4.0 when move message to Mailbox Trash

2010-10-13 Thread Bron Gondwana
elease, and you can either pull it immediately from the git repository at git://git.cyrusimap.org/cyrus-imapd or you can apply from the attached file. Regards, Bron. >From e8592ae38b894016d7a4c19df3c099e11243b80e Mon Sep 17 00:00:00 2001 From: Bron Gondwana Date: Wed, 13 Oct 2010 17:21:09 -0400 S

Re: Problem with Cyrus 2.4.0 when subscribe to folders in other backends

2010-10-13 Thread Bron Gondwana
On Wed, Oct 13, 2010 at 05:27:32PM -0300, Lucas Zinato Carraro wrote: > With Thunderbird 3.1.3 i can subscribe only in folders located in Backend1 > > where my account "lucas.carraro" exist. > The other folder in backend2 are not avaiable for me: Actually, you're subscribing fine - we're just

Re: Problem with Cyrus 2.4.0 when subscribe to folders in other backends

2010-10-14 Thread Bron Gondwana
On Thu, Oct 14, 2010 at 12:43:39PM +0200, Sebastian Hagedorn wrote: > --On 13. Oktober 2010 17:50:55 -0400 Bron Gondwana > wrote: > > >On Wed, Oct 13, 2010 at 05:27:32PM -0300, Lucas Zinato Carraro wrote: > >>With Thunderbird 3.1.3 i can subscribe only in folders

Re: Problem with Cyrus 2.4.0 when move message to Mailbox Trash

2010-10-14 Thread Bron Gondwana
On Thu, Oct 14, 2010 at 04:26:30PM -0300, Lucas Zinato Carraro wrote: > Hi, Bron > > This patch works fine. Great - so now I just have to fix your subscription issue :) Bron. Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Re: Begin using a metapartition on existing system?

2010-10-15 Thread Bron Gondwana
On Fri, Oct 15, 2010 at 05:02:36PM -0500, Scott Lambert wrote: > I'm not doing well with my Google-foo. > > I initially setup our first Cyrus-IMAPd system recently. I had a > conceptual misunderstanding and thought that the config directory > could be configured to hold the metadata. Actually, I

Re: Weird sync problems in 2.4.0

2010-10-15 Thread Bron Gondwana
On Fri, Oct 15, 2010 at 08:40:40PM +0200, steff...@gmx.de wrote: > Hi Bron, > > the permissions are correct. If I run reconstruct -G I get a "uid xxx guid > mismatch" message for a certain mail each time (although this message is not > in the mailbox sync_client is choking on). Shouldn't reconst

Re: sync_client fails to exit when manual replication and rolling replication are combined (2.3.16-8)

2010-10-15 Thread Bron Gondwana
On Fri, Oct 15, 2010 at 03:42:21PM -0400, Simpson, John R wrote: > However, if I have run sync_client manually while rolling replication is > enabled the rolling replication instance will not exit. Instead, it appears > to start spawning subprocesses and throwing database errors. The change in

Re: Problem with Shared Mailbox - Cyrus Aggregation - Backend - 2.4.1

2010-10-18 Thread Bron Gondwana
On Tue, Oct 19, 2010 at 01:14:12AM -0200, Lucas Zinato Carraro wrote: > My configuration > > User Inbox - Backend cyrus 2.4.1 > +SharedFolderA - Backend cyrus 2.4.1 > +SharedFolderB - Backend cyrus 2.3.16 > > Client used Mozilla Thunderbird 3.1.4 > > In File Subscribe i can see all Fold

Re: Problem with Shared Mailbox - Cyrus Aggregation - Backend - 2.4.1

2010-10-19 Thread Bron Gondwana
On Tue, Oct 19, 2010 at 07:25:49AM -0200, Lucas Zinato Carraro wrote: > Hi, Bron, > > This works with Cyrus Frontend 2.4.1 > Thanks Excellent :) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Cyrus IMAPd 2.4.2 Released

2010-10-19 Thread Bron Gondwana
I am pleased to announce the release of Cyrus IMAPd 2.4.2. This is a single fix to 2.4.1 to remove strcasestr so that it compiles on Solaris. There is no need to upgrade unless you are having compliation problems with 2.4.1. My apologies for the compilation problems. I have now tested this on a

Re: cyradm referall 2.4.1 version

2010-10-19 Thread Bron Gondwana
I'm not sure what the story is with this one. Ken might have a better idea since they use murder and cyradm at CMU (I just use telnet directly or Perl modules that talk pure IMAP, and we don't use murder at FastMail). I've CC'd him. Would be great if you can create bugs in bugzilla too, just so

Re: Replication question

2010-10-19 Thread Bron Gondwana
On Tue, Oct 19, 2010 at 04:55:48PM -0400, Michael D. Sofka wrote: > I have a new 2.3.16 back-end server and a replication server. (For > those following my saga, I decided to upgrade the to-be-retired 2.2.12 > rsync backup server to 2.3.16. I did this so I could test replication. > Turns out t

Welcome Greg and Max

2010-10-19 Thread Bron Gondwana
I'd like to take this opportunity to welcome Greg and Max to the Cyrus mailing lists, and the Cyrus team at FastMail/Opera Software. They are both excellent programmers who we were lucky to hire. It's always hard to find great developers because they don't change jobs that often, and we were reall

Re: cyrus squat + change runtime

2010-10-19 Thread Bron Gondwana
On Wed, Oct 20, 2010 at 07:16:33AM +0200, Josef Karliak wrote: > Hi there, > it is possible to change runtime of the cyrus squatter ? I've > restarted cyrus service at 12:45 PM - in this time is a lot of users > logged in and system is a little "slower". So I wanna to change its > time. It is p

Re: cyrus squat + change runtime

2010-10-19 Thread Bron Gondwana
purge every 60 minutes and ipurge will delete > # ALL messages older then 30 days. > # enter 'man 8 ipurge' for more details > > # cleanup cmd="ipurge -d 30 -f" period=60 >} > > I presume if I add after "period" argument "at&

Re: Cyrus IMAP server

2010-10-21 Thread Bron Gondwana
Actually in Cyrus 2.4 you will find that it allows multiple concurrent pop connections. Each one gets a "snapshot" of the mailbox at the time it connects. All operations are to this snapshot. This is safe because the namelocking semantics ensure the message files won't be deleted until all open

Re: Cyrus IMAP server

2010-10-21 Thread Bron Gondwana
On Fri, Oct 22, 2010 at 01:12:39AM +0100, Jeroen van Meeuwen (Kolab Systems) wrote: > Bron Gondwana wrote: > > Actually in Cyrus 2.4 you will find that it allows multiple concurrent pop > > connections. Each one gets a "snapshot" of the mailbox at the time it > >

Re: Cyrus 2.4 install

2010-10-22 Thread Bron Gondwana
On Fri, Oct 22, 2010 at 11:01:43AM +0200, JC Putter wrote: > hi i am busy trying to upgrade to cyrus 2.4, however after running make i get > the following error, not to sure what is missing. > /root/cyrus-imapd-2.4.2/imap/mailbox.c:653: undefined reference to `crc32_buf' > libimap.a(mailbox.o): In

Re: Cyrus IMAPd 2.4.0 Released

2010-10-26 Thread Bron Gondwana
On Tue, Oct 26, 2010 at 05:05:35PM +0200, Simon Matter wrote: > When I looked a bit closer it seems like the clean shutdown patch has made > it into 2.4 so it not an issue anymore. > > But, is there any news on the autocreate feature? We need to knuckle down and make sure it works under murder, t

Re: IMAP v2.4.2 imap process crashes if imapd.conf doesn't define servername or syslog_prefix

2010-10-27 Thread Bron Gondwana
On Wed, Oct 27, 2010 at 11:09:29AM -0400, Rosenbaum, Larry M. wrote: > http://bugzilla.cyrusimap.org/bugzilla3/show_bug.cgi?id=3292 > > I installed and started Cyrus IMAP v2.4.2 on Solaris 9 Sparc. Every time I > tried to connect, the connection would fail and the log would show (for > example) "

Re: Cyrus stops responding to imap:143 requests

2010-10-27 Thread Bron Gondwana
On Wed, Oct 27, 2010 at 07:28:22PM -0200, Henrique de Moraes Holschuh wrote: > On Wed, 27 Oct 2010, Eric Luyten wrote: > > On 2.3.15, we run into a very similar situation whereby I had made > > a distinction between two services using a suffix composed of a > > hyphen and some text, but Cyrus appar

Re: 2.4.2 on Solaris - Crashes in mailbox_unlock_index

2010-10-30 Thread Bron Gondwana
On Sat, Oct 30, 2010 at 10:45:16PM +, Andy Fiddaman wrote: > > Hi, > > I've just upgraded to Cyrus 2.4 from 2.3 on Solaris 10 and I'm seeing lots > of crashes with various utilities in mailbox_unlock_index(). > > (gdb) where > #0 0xfd7ffef41e4a in _lwp_kill () from /lib/64/libc.so.1 > #

Re: 2.4.2 on Solaris - Crashes in mailbox_unlock_index

2010-10-30 Thread Bron Gondwana
On Sat, Oct 30, 2010 at 11:19:14PM +, Andy Fiddaman wrote: > On Sun, 31 Oct 2010, Bron Gondwana wrote: > ; > ; I don't suppose the stacktrace went any further up than that? I'm > ; more interested in the call-site of mailbox_close, because that's > ; where a dirt

Re: 2.4.2 on Solaris - Crashes in mailbox_unlock_index

2010-10-31 Thread Bron Gondwana
On Sun, Oct 31, 2010 at 01:02:19PM +, Andy Fiddaman wrote: > > On Sun, 31 Oct 2010, Bron Gondwana wrote: > > ; On Sat, Oct 30, 2010 at 11:19:14PM +, Andy Fiddaman wrote: > ; > On Sun, 31 Oct 2010, Bron Gondwana wrote: > ; > ; > ; > ; I don't suppose

Re: Odd problem: IMAP/S suddenly not wo rking, but no errors, and IMAP still works

2010-10-31 Thread Bron Gondwana
Sounds like your /dev/random is empty. You can compile with /dev/urandom or add a source of entropy... "Chris Pepper" wrote: > mail.reppep.com (CentOS 5) is running cyrus-imapd-2.3.7-7.el5_4.3, >along with SquirrelMail, postfix, etc. Last night, I noticed that when I >sent mail from Thu

Re: 2.4.2 on Solaris - Crashes in mailbox_unlock_index

2010-11-01 Thread Bron Gondwana
On Mon, Nov 01, 2010 at 09:43:46AM +, Andy Fiddaman wrote: > > On Mon, 1 Nov 2010, Bron Gondwana wrote: > ; > ; Here's your patch :) > > Works perfectly, thanks :) Excellent. Like I said, it WILL be in the next release. I just have to fix some other stuff first!

Re: Odd problem: IMAP/S suddenly not working, but no errors, and IMAP still works

2010-11-01 Thread Bron Gondwana
On Sun, Oct 31, 2010 at 10:40:13PM -0400, Chris Pepper wrote: > Bron, > > My Cyrus is from RPM, and I am just nursing it along until my users > finish migrating off and FastMail manages to complete my own > migration, so I don't want to build from source. Why would IMAP/S > block on empty /d

Re: cyrus-imapd v2.4.2 on CentOS issue with deleting users

2010-11-02 Thread Bron Gondwana
On Tue, Nov 02, 2010 at 02:08:17PM -0400, Robert Spellman wrote: > I think you are close. As soon as I closed my email client, the > folders were deleted, along with the ability to recreate the > mailbox. > > Thanks for pointing me in the right direction. I suppose in a > normal, production envi

Re: cyrus-imapd v2.4.2 on CentOS issue with deleting users

2010-11-03 Thread Bron Gondwana
On Wed, Nov 03, 2010 at 09:49:12AM -0400, Robert Spellman wrote: > > On 11/2/10 5:42 PM, Bron Gondwana wrote: > > > >Ok - your IMAP client was holding the lock open so the cleanup didn't > >finish. Basically 2.4.x delays deletion of a mailbox until all the > >c

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Bron Gondwana
On Thu, Nov 04, 2010 at 02:45:40PM +0100, Gabriele Bulfon wrote: > Oh yes, that's what I did infact :) but I'll have to be careful on next > downloads. > And also, should I be worried that 4.8 is not considered safe for cyrus-imap? 4.8 support has been added to upstream git - it will be in the ne

Cyrus IMAPd 2.4.3 Released

2010-11-08 Thread Bron Gondwana
We are pleased to announce the release of Cyrus IMAPd 2.4.3. This is a stable release in the 2.4.x series, containing over 30 bugfixes since version 2.4.2. A particular focus has been improving the reliability and correctness of Replication, In-place upgrades and Murder mailbox moves. We recom

Re: problematic upgrade 2.3.16 -> 2.4.3

2010-11-10 Thread Bron Gondwana
On Wed, Nov 10, 2010 at 09:17:02PM +0100, Paul Dekkers wrote: > Hi, > > Here is a specific example of a situation I don't know to solve. > > The user "mm" is not logged in. The mailbox exists: > > # sudo -u cyrus /usr/local/cyrus/bin/ctl_mboxlist -d | grep user.mm > user.mm 0 default mmlrswi

Re: problematic upgrade 2.3.16 -> 2.4.3

2010-11-10 Thread Bron Gondwana
On Wed, Nov 10, 2010 at 09:38:34PM +0100, Paul Dekkers wrote: > Hi Bron, > > Thanks for your reply: > > On 10-11-2010 21:27, Bron Gondwana wrote: > > >>(Can I downgrade? I just need to reconstruct everything, right, because > >>the index format change

Re: problematic upgrade 2.3.16 -> 2.4.3

2010-11-10 Thread Bron Gondwana
On Thu, Nov 11, 2010 at 01:45:34PM +1100, Bron Gondwana wrote: > Now - I'm going to look into cyrus.expunge handling magic for you. Here's the rest of that series - a fix against the first lot of patches I sent which is necessary, otherwise replication breaks. Oops. I did most t

Re: reconstruct caused mailboxes (skiplist) corruption?

2010-11-11 Thread Bron Gondwana
On Thu, Nov 11, 2010 at 02:24:47PM -0200, Henrique de Moraes Holschuh wrote: > On Thu, 11 Nov 2010, Paul Dekkers wrote: > > Uhoh! And then I looked at mailboxes.db: It looks like part completely > > rewritten, including the skiplist header, and the first line now said: > > user.bla: System I/O erro

Re: reconstruct caused mailboxes (skiplist) corruption?

2010-11-11 Thread Bron Gondwana
On Thu, Nov 11, 2010 at 02:24:47PM -0200, Henrique de Moraes Holschuh wrote: > On Thu, 11 Nov 2010, Paul Dekkers wrote: > > Uhoh! And then I looked at mailboxes.db: It looks like part completely > > rewritten, including the skiplist header, and the first line now said: > > user.bla: System I/O erro

Re: reconstruct caused mailboxes (skiplist) corruption?

2010-11-11 Thread Bron Gondwana
On Thu, Nov 11, 2010 at 02:24:47PM -0200, Henrique de Moraes Holschuh wrote: > On Thu, 11 Nov 2010, Paul Dekkers wrote: > > Uhoh! And then I looked at mailboxes.db: It looks like part completely > > rewritten, including the skiplist header, and the first line now said: > > user.bla: System I/O erro

Re: reconstruct caused mailboxes (skiplist) corruption?

2010-11-11 Thread Bron Gondwana
On Thu, Nov 11, 2010 at 10:12:31AM +0100, Paul Dekkers wrote: > Hmm, allright, so I ran it with a truss (like strace for FreeBSD) to > give me a bit more verbosity, and I realized I should chown. > > But then: > > # chown cyrus 22003. > # sudo -u cyrus /usr/local/cyrus/bin/reconstruct user.bla >

Re: reconstruct caused mailboxes (skiplist) corruption?

2010-11-11 Thread Bron Gondwana
Sorry - I've been busy working on the specific problem rather than the overview, and I realised I kind of glossed over this bit: On Thu, Nov 11, 2010 at 02:24:47PM -0200, Henrique de Moraes Holschuh wrote: > This probably needs a redesign of master/service fd-passing protocol, > and of prot stream

Re: reconstruct caused mailboxes (skiplist) corruption?

2010-11-11 Thread Bron Gondwana
ch (attached?) - checks fds at the start, and if it gets fd 2, it holds it open (to /dev/null) for the life of the process, making sure nothing else gets it. If it gets 0 or 1 it just croaks. Bron. >From 5a6433511db0002227aad069ee9e92c34932879a Mon Sep 17 00:00:00 2001 From: Bron Gondwana Date:

Re: reconstruct caused mailboxes (skiplist) corruption?

2010-11-12 Thread Bron Gondwana
On Fri, Nov 12, 2010 at 08:41:50AM +0100, Per olof Ljungmark wrote: > File a bug with FreeBSD? > http://www.freebsd.org/support/bugreports.html Already did. http://www.freebsd.org/cgi/query-pr.cgi?pr=152151 Bron. Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.an

Re: reconstruct caused mailboxes (skiplist) corruption?

2010-11-12 Thread Bron Gondwana
On Fri, Nov 12, 2010 at 05:10:20PM -0200, Sergio Bruder wrote: > We saw something similar: > > syslog() messages 'on the wire' (imap, pop3, etcetera) when We've > restarted syslog on an in-production cyrus backend. > > In summary, DONT DO IT (syslog stop) with cyrus runing. Ooh, that's interest

Re: replication

2010-11-12 Thread Bron Gondwana
On Fri, Nov 12, 2010 at 02:02:01PM -0500, Ron Vachiyer wrote: > > > > > Hello, > > I am currently investigating the possibility of adding a second cyrus server, > the goal being to entirely duplicate the mailspool/userbase and have users > POP in some sort of balanced means, either DNS load

Re: Does anyone allow unlimited or extremely large quotas?

2010-11-16 Thread Bron Gondwana
On Tue, Nov 16, 2010 at 08:38:49AM -0500, Adam Tauno Williams wrote: > On Tue, 2010-11-16 at 14:12 +0100, Rudy Gevaert wrote: > > On 11/16/2010 12:30 PM, Dave McMurtrie wrote: > > > Good morning, > > > This may be slightly off-topic, so apologies in advance. Is there > > > anyone out there who al

Re: Running multiple sync_clients

2010-11-18 Thread Bron Gondwana
On Thu, Nov 18, 2010 at 12:58:10PM -0500, Michael D. Sofka wrote: > Is it safe to run multiple sync_clients? Is there an advantage to doing so? > > I had to restart sync_client once. After later restarting cyrus two > sync_clients were running, and appeared to do well together. Still, I > sto

Re: rename folder problem with 2.4.4

2010-11-18 Thread Bron Gondwana
On Thu, Nov 18, 2010 at 03:59:31PM -0500, Robert Spellman wrote: > If I reconfigure my backend mailstore to remove the murder > configuration (so that it thinks it's a stand alone server), the > rename works, so I think it must have something to do with my > imapd.conf files and the way my backend

Re: rename folder problem with 2.4.4

2010-11-18 Thread Bron Gondwana
On Fri, Nov 19, 2010 at 09:03:22AM +1100, Bron Gondwana wrote: > > A single murder server > > Multiple frontend servers running as imap and lmtp proxy's, where > > the email clients actually connect to. > > It sounds like a missing defaultpartition or something sim

Re: rename folder problem with 2.4.4

2010-11-18 Thread Bron Gondwana
Here's a patch to fix your problem. I've pushed it to master, and will make sure it goes into 2.4.5 :) Bron. >From 1988d5fa96f2df88150ece97838469faf092cba1 Mon Sep 17 00:00:00 2001 From: Bron Gondwana Date: Fri, 19 Nov 2010 16:28:34 +1100 Subject: [PATCH] Bug 3342 - pass the c

Re: Does anyone allow unlimited or extremely large quotas?

2010-11-19 Thread Bron Gondwana
On Fri, Nov 19, 2010 at 05:48:22PM +0100, Michel Sébastien wrote: > > > Our biggest currently is about 30GB I think. > > >> I think the issue you will encounter first is clients will start to fall > >> down when folders exceed a 'reasonable' number of messages. Common IMAP > >> clients I've seen

Re: Running multiple sync_clients

2010-11-19 Thread Bron Gondwana
On Fri, Nov 19, 2010 at 08:11:38PM +0100, Simon Matter wrote: > > Another question I have is what are /var/lib/imap/db/*? File says they > > are Berkeley dbs, but I thought all databases were skiplist in this > > release. I can't find the configuration options associated with this > > That's not

Re: Running multiple sync_clients

2010-11-19 Thread Bron Gondwana
On Fri, Nov 19, 2010 at 12:33:44PM -0500, Michael D. Sofka wrote: > I also noticed that when the child process dies, it tends to take out > the parent. Shouldn't the parent catch the error and fork another > child? This has so far only happened twice, and in both cases appears > to be associat

Re: Running multiple sync_clients

2010-11-20 Thread Bron Gondwana
On Sat, Nov 20, 2010 at 04:56:41PM -0200, Henrique de Moraes Holschuh wrote: > On Sat, 20 Nov 2010, Bron Gondwana wrote: > > More to the point, that's the BDB environment. It gets created even if you > > don't have any BDB files. And every time a sync_client child exist

Re: RFC 5464 : IMAP METADATA extension

2010-11-21 Thread Bron Gondwana
On Sun, Nov 21, 2010 at 07:24:02PM +0100, kael wrote: > Hello, > > I've installed Cyrus 2.4.4 and looking at the METADATA extension, I > realized only draft-daboo-imap-annotatemore-07 is implemented. Yeah, it still does. > There's a patch from the Kolab folks (haven't tried yet), and according

Re: Does anyone allow unlimited or extremely large quotas?

2010-11-22 Thread Bron Gondwana
On Mon, Nov 22, 2010 at 11:03:15AM +0100, Sébastien Michel wrote: > > To be honest - it doesn't actually hurt too badly once it's in memory > > > cache. The cyrus.cache file isn't generally needed to be entirely > > > read, and the secret of mmap is that you only read the bits you need > > > as yo

Re: How to re-sync master/slave?

2010-11-22 Thread Bron Gondwana
On Mon, Nov 22, 2010 at 11:19:26AM +0100, Frank Elsner wrote: > > Hello Cyrus Community, > > what is the recommended procedure or best practice to re-sync master/slave > after failure of synchronization? run sync_client -u for each user. > We are using cyrus-2.3.1x and the synchronization see

Re: Does anyone allow unlimited or extremely large quotas?

2010-11-22 Thread Bron Gondwana
On Mon, Nov 22, 2010 at 03:36:07PM +0100, Sébastien Michel wrote: > > > You have got to be kidding me. Unless there's actually something which > > > requires the files to be rewritten (i.e. an expunge event) then this > > > should not happen. Again, Cyrus 2.4.x will be much more efficient in > >

Re: cyr_expire does not delete files on disk with expunge_mode:delayed?

2010-11-22 Thread Bron Gondwana
On Mon, Nov 22, 2010 at 03:03:05PM -0600, Kenneth Marshall wrote: > We hit the same issue. You will need to run cyr_expire twice to > have items be removed correctly. Once as you are currently doing > and then a second time ignoring the mailbox annotations (the "-a" > option). This will actually ru

Re: Cyrus IMAP 2.4.4 Problem with IPhone

2010-11-22 Thread Bron Gondwana
On Mon, Nov 22, 2010 at 10:08:53PM -0200, Lucas Zinato Carraro wrote: > Exist any problem with Cyrus IMAP 2.4.4 and IPhone Client ( Apple Mail ) ? There were some problems early on with ESEARCH and iPhone, but I got them fixed before the 2.4.0 release. > Any problem with idled function for this

Re: reducing logging/duplicate messages

2010-11-22 Thread Bron Gondwana
On Mon, Nov 22, 2010 at 08:44:52PM -0500, Ron Vachiyer wrote: > > I will check the .spec file of the RPM I used to install Cyrus to see if the > logging facility was modified, however regarding the opening of user_deny.db, > this is version 2.4.4 I am using. I don't see why it would be logging

Re: Does anyone allow unlimited or extremely large quotas?

2010-11-22 Thread Bron Gondwana
m. The first makes Cyrus open the index and cache files O_RDONLY if the index is locked in shared mode (which implies a read-only session). The second patch then makes index EXAMINE commands use a shared lock! Bron. >From 2b358b943677bc50830774e465537fc040917dde Mon Sep 17 00:00:00 2001 From:

Re: Does anyone allow unlimited or extremely large quotas?

2010-11-23 Thread Bron Gondwana
On Tue, Nov 23, 2010 at 10:09:43AM +0100, Sébastien Michel wrote: > > I expect that cyrus.index and cyrus.cache don't change if the client does > nothing in the IMAP session, even after a SELECT. > The same test in an empty mailbox has the same result, Generation Number is > incremented too. Cyrus

Re: cyr_expire does not delete files on disk with expunge_mode:delayed?

2010-11-23 Thread Bron Gondwana
On Tue, Nov 23, 2010 at 03:10:48PM -0200, Henrique de Moraes Holschuh wrote: > On Tue, 23 Nov 2010, Bron Gondwana wrote: > > On Mon, Nov 22, 2010 at 03:03:05PM -0600, Kenneth Marshall wrote: > > > We hit the same issue. You will need to run cyr_expire twice to > > > have

Re: disable IMAP IDLE

2010-11-23 Thread Bron Gondwana
On Tue, Nov 23, 2010 at 10:01:58AM -0500, Ron Vachiyer wrote: > I believe there was an issue as well where POP clients using outlook would > cause mailbox corruption when they popped a mailbox being maintained by a > blackberry connected via IMAP. Not in 2.4.x there shouldn't be. The locking

Re: rsync and cyrusimap.2.4.x

2010-11-24 Thread Bron Gondwana
On Tue, Nov 23, 2010 at 05:13:51PM +0100, Martin Pracht wrote: > > Hello, > > with 2.3.X we were happy by having > a standby-system for our mail server, > keeping the data up to date by a > periodical rsync from the working system. > We did an upgrade to 2.4.X on the > standby-system. With 2.4.X

Re: Removing a mailbox with a very long name

2010-11-24 Thread Bron Gondwana
On Wed, Nov 24, 2010 at 04:13:11PM +0100, Michael Menge wrote: > >We're running Cyrus 2.3.13. Any reason why so old? There were some fixes for this shipped more in the later 2.3 series releases, because we had the same issue at FastMail! > Do you use delete_mode: delayed ? > this will rename the

Re: Updating front-end and master server

2010-11-24 Thread Bron Gondwana
On Wed, Nov 24, 2010 at 11:20:46AM -0500, Michael D. Sofka wrote: > Is there a preferred order for updating the Cyrus master and front-end > servers? The back-end servers are all upgraded from 2.2.12 to 2.2.16. > Should the master be upgraded before or after the front-end servers? > > Also, is

Re: cyr_expire does not delete files on disk with expunge_mode:delayed?

2010-11-24 Thread Bron Gondwana
On Wed, Nov 24, 2010 at 11:15:42AM -0500, Michael D. Sofka wrote: > Henrique de Moraes Holschuh wrote: > > On Tue, 23 Nov 2010, Bron Gondwana wrote: > >> On Mon, Nov 22, 2010 at 03:03:05PM -0600, Kenneth Marshall wrote: > >>> We hit the same issue. You will n

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