Re: Blacklisting destination addresses

2010-06-19 Thread Bron Gondwana
On Sat, Jun 19, 2010 at 10:35:46AM +0200, Luka Mrovlje wrote: > Hi, > > Please provide me some pointers on how to configure cyrus so that it will > reject sending any e-mails to foreign destination (example: > name.surn...@some-other-comany.com) > This is very important to me, because I do not wan

Re: Live backup

2010-06-16 Thread Bron Gondwana
On Wed, Jun 16, 2010 at 06:27:34PM +0300, Elver Loho wrote: > Hey Bron, > > I'm running Cyrus on Fedora 12, with the version number being > 2.3.16-3.fc12 according to yum. That's about as modern as it gets for now :) > By the way, how can I verify that replication is working and is up-to-date?

Re: Live backup

2010-06-16 Thread Bron Gondwana
On Wed, Jun 16, 2010 at 05:19:25PM +0300, Elver Loho wrote: > Replication looks to be the solution. Surprisingly I hadn't discovered > it on my own. Many thanks to everyone for pointing it out! > > However, while setting it up, I noticed a really weird thing. When > authentication fails on the mas

Re: Live backup

2010-06-16 Thread Bron Gondwana
On Wed, Jun 16, 2010 at 11:45:10AM +0200, Roland Baum wrote: > For non-HA situations, you can do a 2-stage rsync-backup once a day: > > 1 ) copy all cyrus-folders (/var/spool/cyrus, /var/lib/cyrus etc) via rsync > to > a backup-folder > 2 a) shutdown cyrus > 2 b) rsync the same folders to comple

Re: cyrus replication and RENAME problem

2010-06-01 Thread Bron Gondwana
On Tue, Jun 01, 2010 at 11:46:38AM +0200, Sebastian Hagedorn wrote: > --On 1. Juni 2010 19:31:54 +1000 Bron Gondwana wrote: > > >Is it common to rename mailboxes across partitions once they're created? > > Speaking for myself: very much so! It's how we balance disk

Re: cyrus replication and RENAME problem

2010-06-01 Thread Bron Gondwana
On Tue, Jun 01, 2010 at 11:14:02AM +0200, Rudy Gevaert wrote: > On 05/31/2010 03:31 PM, Bron Gondwana wrote: > > On Mon, May 31, 2010 at 12:58:57PM +0200, Rudy Gevaert wrote: > >>> Renaming forth and back is a way, but not a really good solution to this > >&g

Re: cyrus replication and RENAME problem

2010-05-31 Thread Bron Gondwana
On Mon, May 31, 2010 at 12:58:57PM +0200, Rudy Gevaert wrote: > > Renaming forth and back is a way, but not a really good solution to this > > problem. > > Hi Mark, > > Have you been able to fix this? It seems a bug to me. Sorry, yes - it's a bug. It will be fixed in 2.4 (as in, I've already c

Re: Cyrus active-active cluster checklist

2010-05-12 Thread Bron Gondwana
On Wed, May 12, 2010 at 02:17:18PM -0300, Andre Nathan wrote: > * Change the append_newstage() function in imap/append.c to add some > host information to the "stage." file names, to avoid PID clashes > between the two cluster nodes; I've got no problem with adding this upstream by the way.

Re: bootstrapping replication

2010-05-10 Thread Bron Gondwana
On Mon, May 10, 2010 at 05:43:57PM -0400, Wesley Craig wrote: > On 10 May 2010, at 14:46, Eric Doutreleau wrote: > > i have 13 partitions on the master server. > > can i have only one on the replica or should i have the same number > > of partition? > > cyrus doesn't actually know about "partiti

Re: bootstrapping replication

2010-05-10 Thread Bron Gondwana
On Mon, May 10, 2010 at 08:46:50PM +0200, Eric Doutreleau wrote: > thanks for the advice > > gfor the bail out i hadn't the same number of partition in the master > and in the replica. > > then i have another question > i have 13 partitions on the master server. > can i have only one on the repl

Re: cvt_cyrusdb flat to skiplist fails

2010-05-06 Thread Bron Gondwana
On Thu, May 06, 2010 at 12:33:17PM +0200, Thorsten Glaser wrote: > On Thu, 6 May 2010, Bron Gondwana wrote: > > > I use cyr_dbtool to edit skiplists - you can dump just some lines > > and then restore just those lines. > > Thanks, that won’t help though… cyr_d

Re: cvt_cyrusdb flat to skiplist fails

2010-05-05 Thread Bron Gondwana
On Wed, May 05, 2010 at 09:15:10AM +, Thorsten Glaser wrote: > Bernhard Reiter intevation.de> writes: > > > annotations.db is in the skiplist format. > > Now cvt_cyrusdb seems to fail a simple back and forth conversion test > > to flat and back. How can that be? > > > > cvt_cyrusdb /tmp/anno

FastMail, Opera, Cyrus work

2010-04-30 Thread Bron Gondwana
Hi Everyone, Just thought I'd point this out: http://blog.fastmail.fm/2010/04/30/fastmail-fm-has-been-acquired-by-opera-software/ http://www.opera.com/press/releases/2010/04/30/ And assure you that nothing's going to change with my work on Cyrus! In fact, a lot of the cross-datacentre and optim

Re: Get cyrus-imap folder size without "du" tool

2010-04-02 Thread Bron Gondwana
On Fri, Apr 02, 2010 at 01:40:38PM -0400, Wesley Craig wrote: > On 02 Apr 2010, at 08:59, Bron Gondwana wrote: > >Anyway, the quota system works fine. Just give each user a quota > >bigger > >than your disk and use it for the used value! > > It's a shame that the

Re: Get cyrus-imap folder size without "du" tool

2010-04-02 Thread Bron Gondwana
On Thu, Apr 01, 2010 at 01:54:47PM -0700, Andrew Morgan wrote: > On Thu, 1 Apr 2010, Adam Tauno Williams wrote: > > > On Thu, 2010-04-01 at 19:13 +0200, David Touzeau wrote: > >> Joe Vieira wrote: > >>> if they are all on one partition and nothing else is on that you could > >>> just use df >

Re: Building an interface to unexpunge for users

2010-03-29 Thread Bron Gondwana
On Mon, Mar 29, 2010 at 09:17:08PM -0400, Wesley Craig wrote: > On 29 Mar 2010, at 18:18, Bron Gondwana wrote: > >>https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=3008 > > > >Yeah, that should be the default. Search form is not for presentation > >to users! > &g

Re: Nested "INBOX" folders - hard to delete

2010-03-29 Thread Bron Gondwana
On Mon, Mar 29, 2010 at 10:25:09PM +0300, Jukka Huhta wrote: > On Mon, 29 Mar 2010, Brian Awood wrote: > > > What version of cyrus are you running? If it's a version 2.3 with > > delayed delete enabled, you are likely running into a bug in cyrus. > > The newest, 2.3.16. This certainly feels lik

Re: Building an interface to unexpunge for users

2010-03-29 Thread Bron Gondwana
On Mon, Mar 29, 2010 at 12:12:42PM -0400, Matt Selsky wrote: > On Mar 29, 2010, at 11:22 AM, David Mayo wrote: > > > My biggest concern is the interface will be relying on the info from > > "unexpunge" which removes all the punctuation and spaces from the > > fields[1] which will look naff to th

Re: Building an interface to undelete for users

2010-03-29 Thread Bron Gondwana
On Mon, Mar 29, 2010 at 11:28:50AM +0100, David Mayo wrote: > > We have recently upgraded to Cyrus 2.3 and are making full use of the > "delayed delete" feature, and we are considering writing an interface to > allow users to undelete their own messages and mailboxes. > > Before I start work on

Re: Not possible to replicate from 2.3.7 to 2.3.16?

2010-03-29 Thread Bron Gondwana
On Sun, Mar 28, 2010 at 08:53:12PM -0400, Wesley Craig wrote: > On 27 Mar 2010, at 20:55, Jason L Tibbitts III wrote: > > I had guessed, though perhaps I had hoped that something would simply > > tell me that instead of giving odd errors that made me think that I > > had > > misconfigured somethi

Re: local mailbox %s wrong in mailbox list in cyrus 2.3.15

2010-03-27 Thread Bron Gondwana
On Sat, Mar 27, 2010 at 05:45:13PM -0500, Dan White wrote: > On 28/03/10 11:29 +1300, karen turner wrote: > >Has anyone else had this message in their cyrus logs? > > > >Mar 23 14:56:41 zysv01 mupdate[19515]: local mailbox user.zykdt0 wrong in > >mailbox list > > > >I have identified the section o

Re: Not possible to replicate from 2.3.7 to 2.3.16?

2010-03-27 Thread Bron Gondwana
On Sat, Mar 27, 2010 at 12:19:06AM -0500, Jason L Tibbitts III wrote: > So, is it expected to be generally possible to replicate from 2.3.7 to > 2.3.16? If so, would anyone have any idea what I might be doing wrong > here? If it's not possible, would it be reasonable to migrate initially > using

Re: Nginx configuration for imap

2010-03-22 Thread Bron Gondwana
On Mon, Mar 22, 2010 at 01:52:55PM +, Naresh V wrote: > Bron Gondwana fastmail.fm> writes: > > [...] > > > > Why does the auth fail on the backend server? It never should. If it does > > that means you've screwed up pretty badly. You can give the failur

Re: Nginx configuration for imap

2010-03-18 Thread Bron Gondwana
On Thu, Mar 18, 2010 at 04:19:37PM +0530, ram wrote: > One more issue with nginx 0.8.34 is that when auth-fails on the real > server the nginx returns "BAD: internal server error" > The email clients are not able to interpret this error. > > Can I configure nginx to pass on the actual message f

Re: Metapartitions

2010-03-17 Thread Bron Gondwana
On Wed, Mar 17, 2010 at 09:17:49PM -0300, Diego Ventrice wrote: > Thanks Mark, > > Thats what I guessed. I suppose these files make use of the .seen and > .sub files under also, right ? .seen and .sub files are always in your "configdir" - where the mailboxes.db and related things are. It's act

Re: Any interest to implement RFC4978 (IMAP COMPRESS)?

2010-02-19 Thread Bron Gondwana
AP COMPRESS)? > > X-Spam-Score: 0.0 (/) > > > > >From the 2.3.15 Changelog: > > > > * Added support for MUPDATE COMPRESS and IMAP COMPRESS commands which > > help speed up bulk data commands over slow links. > > > > It actually already _is

Re: Backup strategy for large mailbox stores

2010-02-15 Thread Bron Gondwana
On Mon, Feb 15, 2010 at 10:28:13AM +, Gavin McCullagh wrote: > Hi, > > I'm a relative newbie with cyrus, but I'm interested in this discussion... Hehe - you should read through the mailing list archives for how FastMail does backups for a really complex but _FAST_ solution :) > > Things hav

Re: Setting TCP keepalive for Cyrus daemons

2010-02-13 Thread Bron Gondwana
On Sat, Feb 13, 2010 at 08:58:50PM -0500, Wesley Craig wrote: > On 13 Feb 2010, at 09:50, Brian Awood wrote: > > I've had a patch against lmptd in bugzilla for a while; > > https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=3158 > > I think the code probably just needs to be audited, to find the > >

Re: ability to disable shared namespace?

2010-02-13 Thread Bron Gondwana
On Sat, Feb 13, 2010 at 08:50:04PM -0500, Wesley Craig wrote: > Isn't this what "foolstupidclients" does? I think Blackberry might > meet the criteria... Probably! That said, Mozilla Thunderbird checks the namespaces and gets: "INBOX", "shared", "" - and proceeds to list all three of them, he

Re: Setting TCP keepalive for Cyrus daemons

2010-02-13 Thread Bron Gondwana
On Sun, Feb 14, 2010 at 08:38:34AM +1100, Bron Gondwana wrote: > > One thing to watch is that only SO_KEEPALIVE is standard. The other > > three symbols: TCP_KEEPCNT, TCP_KEEPIDLE, and TCP_KEEPINTVL only exist > > in some operating systems. They have global settings but don

Re: Setting TCP keepalive for Cyrus daemons

2010-02-13 Thread Bron Gondwana
On Sat, Feb 13, 2010 at 10:00:52AM -0600, Gary Mills wrote: > On Sat, Feb 13, 2010 at 09:09:05PM +1100, Bron Gondwana wrote: > > On Fri, Feb 12, 2010 at 09:45:02AM -0600, Gary Mills wrote: > > > I'm willing to add a `keepalive' option to Cyrus master along with the &g

Re: Setting TCP keepalive for Cyrus daemons

2010-02-13 Thread Bron Gondwana
On Fri, Feb 12, 2010 at 09:45:02AM -0600, Gary Mills wrote: > I'm willing to add a `keepalive' option to Cyrus master along with the > setsockopt() system call to enable that setting. This option could be > added to the cyrus.conf file for any services that could benefit from > it. Would this be a

Re: Setting TCP keepalive for Cyrus daemons

2010-02-12 Thread Bron Gondwana
On Fri, Feb 12, 2010 at 09:45:02AM -0600, Gary Mills wrote: > I've been noticing idle pop3d processes on our Cyrus front end server > for some time. These should be transient. One that was several days > old had an established TCP connection to a wireless client that had > disappeared. Presumabl

Re: Sieve and encoded Headers

2010-02-12 Thread Bron Gondwana
On Fri, Feb 12, 2010 at 10:18:02AM -0500, Ken Murchison wrote: > Bron Gondwana wrote: > >On Mon, Feb 08, 2010 at 11:29:22AM -0500, Ken Murchison wrote: > >> > >>Bron Gondwana wrote: > >>>On Mon, Feb 08, 2010 at 07:53:21AM +0100, Garry wrote: > >>&g

Re: Sieve and encoded Headers

2010-02-11 Thread Bron Gondwana
On Mon, Feb 08, 2010 at 11:29:22AM -0500, Ken Murchison wrote: > > > Bron Gondwana wrote: > >On Mon, Feb 08, 2010 at 07:53:21AM +0100, Garry wrote: > >>Hi, > >> > >>after wondering for a while why occasionally my sieve script rules > >>would

Re: cyrus and 500k to >1M mails per inbox

2010-02-11 Thread Bron Gondwana
On Fri, Feb 12, 2010 at 07:37:20AM +1100, Rob Mueller wrote: > > >>> It's quite likely, that these mailboxes will grow to 50 or > >>even > more then > >>> 1M mails per mailbox. > >>> > >>> Does anybody have experience with such big mailboxes? > >> > >>Is the I/O cost of message adding relativ

Re: cyrus and 500k to >1M mails per inbox

2010-02-11 Thread Bron Gondwana
On Thu, Feb 11, 2010 at 04:39:25PM +0100, Eric Luyten wrote: > On Thu, February 11, 2010 4:23 pm, Carsten Hoeger wrote: > > > > > we have a customer running cyrus imap on RHEL5 cluster with a few thousand > > mailboxes. Every single mail is sent to a second host acting as a read-only > > archive (

Re: understanding fields in cyrus.header file

2010-02-09 Thread Bron Gondwana
On Wed, Feb 10, 2010 at 12:00:04AM +, Gavin McCullagh wrote: > Hi, > > On Wed, 10 Feb 2010, Bron Gondwana wrote: > > > > > > Junk NonJunk $Forwarded Old > > > > Check out mailbox_read_header and mailbox_read_header_acl from > > imap/mailbox.c i

Re: understanding fields in cyrus.header file

2010-02-09 Thread Bron Gondwana
On Tue, Feb 09, 2010 at 06:21:21PM +, Gavin McCullagh wrote: > Hi, > > I'm looking at some cyrus.header files while migrating from an old to a new > cyrus-based mail server. I think I understand it in general, except for > the second last line. A couple of examples follow: > > -

Re: Sieve, disable duplicate suppression.

2010-02-09 Thread Bron Gondwana
On Tue, Feb 09, 2010 at 11:22:01AM +0100, Carles Xavier Munyoz Baldó wrote: > Hello, > I have disabled the duplicatesuppression option in the imapd.conf file of my > Cyrus IMAP server. Nevertheless I have seen in the logs that the > duplicatesuppression mechanism is still on for users with a siev

Re: Sieve and encoded Headers

2010-02-08 Thread Bron Gondwana
On Mon, Feb 08, 2010 at 01:03:30PM +0100, Garry wrote: > On 08.02.2010 08:28, Bron Gondwana wrote: > > I've CC'd Ken on this - I wonder if it's worth going back and doing a > > "minimal still compatible" set of patches that fixes charset encoding in > &g

Re: Sieve and encoded Headers

2010-02-07 Thread Bron Gondwana
On Mon, Feb 08, 2010 at 07:53:21AM +0100, Garry wrote: > Hi, > > after wondering for a while why occasionally my sieve script rules > wouldn't work, I just found the reason (I guess) - Sieve doesn't > (correctly?) decode utf encoded header lines which e.g. are in a format > like this: > > Subject

Re: Reconstruct removes @domain from mboxlist

2010-02-05 Thread Bron Gondwana
On Fri, Feb 05, 2010 at 02:33:13PM -0600, Dan White wrote: > On 04/02/10 12:46 +0530, Ramprasad wrote: > >Hi, > > > > I have a cyrus-imapd 2.3.7 on RHEL 5 with multiple domains > > > >When I reconstruct a user mailbox on the primary domain it works fine > >, but when any secondary domain mailb

Re: Information about your Cyrus installation

2010-02-02 Thread Bron Gondwana
On Tue, Feb 02, 2010 at 02:13:45PM +0200, Jukka Huhta wrote: > Sorry to answer off-list, but... Taking it back to the list, because it's not secret - I'm pretty sure I've posted most of it in bits and pieces before... > On Thu, 28 Jan 2010, Bron Gondwana wrote: > > &

Re: Information about your Cyrus installation

2010-01-27 Thread Bron Gondwana
On Wed, Jan 27, 2010 at 06:53:47PM -0500, Dave McMurtrie wrote: > Hello Cyrus users, > > First, please allow me to apologize for this slightly off-topic message. > I'll ask that all replies be sent directly to me so the list doesn't > become too cluttered. > > I'm scheduled to do a presentati

Re: Future Ideas wiki page

2010-01-13 Thread Bron Gondwana
On Wed, Jan 13, 2010 at 04:02:43PM -0800, Wil Cooley wrote: > Bron Gondwana wrote: > > > Anyway, I'd love feedback on any or all of it, and if there > > are other things that you feel are really important for the > > future viability of Cyrus I'd love to hear abo

Re: Future Ideas wiki page

2010-01-13 Thread Bron Gondwana
essage > numbers, this is being done in a backwards compatible manner so that the > client > can use either one, and a server can support both. The problem is you keep paying a higher and higher complexity cost at the server end. Once you start talking not having a folder selected, tha

Re: Future Ideas wiki page

2010-01-13 Thread Bron Gondwana
On Wed, 13 Jan 2010 16:26 -0800, "David Lang" wrote: > On Sat, 9 Jan 2010, Bron Gondwana wrote: > > > On Sat, 09 Jan 2010 15:10 +0100, "Alexey Melnikov" > > wrote: > >> Bron Gondwana wrote: > >>> While we're at it, I&#

Re: Question about reconstruct

2010-01-12 Thread Bron Gondwana
On Tue, Jan 12, 2010 at 08:57:28AM -0800, wcoo...@nakedape.cc wrote: > > On Mon, 2010-01-04 at 16:24 -0200, Sergio Belkin wrote: > > >>From the Cyrus chapter of WMOGAG: > > > > The most important options for reconstruct are -r and -k. The > > -r > > option causes reconstruct to reindex the specif

Re: Future Ideas wiki page

2010-01-09 Thread Bron Gondwana
On Sat, 09 Jan 2010 15:10 +0100, "Alexey Melnikov" wrote: > Bron Gondwana wrote: > >While we're at it, I'm much more interested in cross-folder searching with > >sort > >order that doesn't require folder as the first item, but that's

Re: Future Ideas wiki page

2010-01-08 Thread Bron Gondwana
ng the documents into it rather than building an entire buffer at once. There's already code that does that just using a standard buffer and sending it to the squatter callback whenever it reaches a fixed size, then resetting it. Easy enough to do. Regards, Bron. -- Bron Gondwana br...@f

Re: Future Ideas wiki page

2010-01-07 Thread Bron Gondwana
On Thu, Jan 07, 2010 at 11:31:18PM -0500, Ken Murchison wrote: > Thanks for adding this to the wiki. As I've said before, I'm > comfortable with most, if not all, of this. Excellent. It's good to document things anyway, because it refreshes the ideas in my mind and provides a clear reference p

Future Ideas wiki page

2010-01-07 Thread Bron Gondwana
Hi All, I've set up a new wiki page here: http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/FutureIdeas Linked from the roadmap: http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/RoadMap I've updated the Roadmap with the items I have ready right now for 2.4, and put everything else into the br

Re: Cyrus IMAPd 2.3.16 Released

2010-01-04 Thread Bron Gondwana
On Mon, Jan 04, 2010 at 09:11:10AM +0100, Simon Matter wrote: > > Or you can use a dummy backend. It's a backend which always says « OK > > » when you try to write in it, and always says « not in db » when you > > read in it. This backend was never committed into cyrus-imapd... Here > > is an up-to

Re: Urgent help required

2009-12-18 Thread Bron Gondwana
On Fri, Dec 18, 2009 at 09:54:10AM +0100, Denis BUCHER wrote: > Hello, > > Sorry for submitting so many questions to the list, now I have a HUGE > problem ! > > I did /usr/sbin/ctl_mboxlist -d -x -p default and it destroyed my *.seen > (read/unread database) files ! > > I took the files from bac

Re: Strange bug in cyrus (missing folders with reconstruct !)

2009-12-17 Thread Bron Gondwana
cyrus.header and cyrus.index files, and copy them into place - then reconstruct. That way you'll get the flags for the messages that are there, and possibly even the seen state. Copying a cyrus.header from somewhere else really isn't a good idea due to the way cyrus does uni

Re: Strange bug in cyrus (missing folders with reconstruct !)

2009-12-17 Thread Bron Gondwana
REALLY CONFUSING seen state handling. Bron. -- Bron Gondwana br...@fastmail.fm Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: Having two replica servers

2009-12-15 Thread Bron Gondwana
On Mon, Dec 14, 2009 at 10:45:47AM +0100, Milos Gmail wrote: > Hi, > > > > I have atm 1 master server and 1 replica server. > > All works great, but is there an option to have 1 master server and 2 > replica servers ? I have a plan... there will be support for multiple replicas soon. It's

Re: cyrus replication over a WAN

2009-12-10 Thread Bron Gondwana
On Thu, Dec 10, 2009 at 12:37:51AM -0800, Jon . wrote: > In the past I found that if Cyrus is restarted on the replica, the > sync_client on the master server fails. I also saw instances of sync_client > failing on the master if the replica isn't available. The lower levels > pertaining to why I do

Re: proxyd cpu usage

2009-12-07 Thread Bron Gondwana
On Mon, Dec 07, 2009 at 01:37:28PM -0800, Andrew Morgan wrote: > On Mon, 7 Dec 2009, John Madden wrote: > > >> At a guess, it sounds like load from LIST. You should be able to see > >> what's causing the load if you have several seconds. For example, > >> enable telemetry and look for long turn

Re: Replica mailboxes changing partitions during delayed deletes

2009-11-23 Thread Bron Gondwana
On Mon, Nov 23, 2009 at 02:59:47PM -0600, Paul Engle wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > All, > > We've just upgraded our first replicated pair of cyrus servers > to 2.3.15, and I'm seeing what I consider odd behavior on the > replica of the pair. > > A brief rundow

Re: ANNOTATEMORE => METADATA and rfc 5464

2009-11-18 Thread Bron Gondwana
On Tue, Nov 17, 2009 at 06:37:13PM -0500, Ken Murchison wrote: > Bron Gondwana wrote: > >On Tue, Nov 17, 2009 at 04:17:51PM -0500, Ken Murchison wrote: > >>Bron Gondwana wrote: > >>>On Tue, Nov 17, 2009 at 09:03:11AM -0500, Ken Murchison wrote: > >>>>Wh

Re: ANNOTATEMORE => METADATA and rfc 5464

2009-11-17 Thread Bron Gondwana
On Tue, Nov 17, 2009 at 04:17:51PM -0500, Ken Murchison wrote: > Bron Gondwana wrote: > >On Tue, Nov 17, 2009 at 09:03:11AM -0500, Ken Murchison wrote: > >>What is your new format proposal? > > > >I'll see :) Not sure yet - but mainly not sizeof(unsigned long)!

Re: ANNOTATEMORE => METADATA and rfc 5464

2009-11-17 Thread Bron Gondwana
On Tue, Nov 17, 2009 at 09:03:11AM -0500, Ken Murchison wrote: > What is your new format proposal? I'll see :) Not sure yet - but mainly not sizeof(unsigned long)! Bron. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: htt

ANNOTATEMORE => METADATA and rfc 5464

2009-11-17 Thread Bron Gondwana
I'm in the process of implementing rfc 5464, which is what the ANNOTATEMORE drafts turned into. Unfortunately, Cyrus' support is an early draft, before the paths to everything were changed and the commands were renamed. It would be great to be complient, and there is software out there like Kolab

Re: Exec'ing a script from Cyrus when imapd has a client

2009-11-13 Thread Bron Gondwana
On Fri, Nov 13, 2009 at 03:07:00PM -0500, Greg A. Woods wrote: > I believe those of you who are trying to defend the OP's scheme are also > failing to understand and even define the actual problem at hand. That would be everyone else on this list I believe. Because we realise that the real world

Re: VMware for Cyrus?

2009-11-09 Thread Bron Gondwana
On Mon, Nov 09, 2009 at 09:23:18AM -0500, John Madden wrote: > FWIW, I won't run anything on hardware anymore unless I absolutely have > to. To me, the benefits of running virtualized outweigh the pitfalls -- > dealing with real OS installs on real hardware, dealing with > multipathing and SAN

Re: Exec'ing a script from Cyrus when imapd has a client

2009-11-07 Thread Bron Gondwana
On Sat, Nov 07, 2009 at 11:08:31AM -0500, Greg A. Woods wrote: > At Tue, 3 Nov 2009 17:07:04 -0500, "Anthony Tibbs" > wrote: > Subject: Re: Exec'ing a script from Cyrus when imapd has a client > > > > > > You know, I don't know if I agree with all the objections over this > > person's > > req

Re: painful mupdate syncs between front-ends and database server

2009-10-30 Thread Bron Gondwana
On Fri, Oct 30, 2009 at 03:24:25PM -0400, Michael Bacon wrote: > I haven't had the guts to roll the patched, CVS version into > production as our primary mupdate server, but I did put it in on a > test machine in replica mode. My measurement was on a clean server > (no pre-existing mailboxes.db),

Re: Exec'ing a script from Cyrus when imapd has a client

2009-10-27 Thread Bron Gondwana
On Tue, Oct 27, 2009 at 08:18:17AM +0100, Rudy Gevaert wrote: > > Citeren David Lang : > > > what do you consider a 'modern IMAP client' that is actually reasonably > > efficiant to use? > > I can't help you answer that question. But I can share my setup. > > I'm using the offlineimap client s

Re: Exec'ing a script from Cyrus when imapd has a client

2009-10-27 Thread Bron Gondwana
On Tue, Oct 27, 2009 at 12:15:08AM -0400, Greg A. Woods wrote: > Too bad, so sad. Seriously. If you really want to use e-mail address > at some antique domain where IMAP access is still not available, and > where e-mail forwarding is also not available, then you can still just > set up your MUA s

Re: lmtp trickery

2009-10-26 Thread Bron Gondwana
he message via IMAP. As for mapping messages to files... well, we have the auditlog patch, which helps considerably :) Bron. -- Bron Gondwana br...@fastmail.fm Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: cyrus replication : master to replica and replica to master

2009-10-22 Thread Bron Gondwana
On Thu, Oct 22, 2009 at 02:43:35PM -0700, David Lang wrote: > implementing this should not be that hard > > allow non-local bind in /etc/sysctl > > heartbeat (linux-ha.org) can handle moving the service IP and fencing (up to > and > including turning a box off if the cluster decides that it has

Re: cyrus replication : master to replica and replica to master

2009-10-22 Thread Bron Gondwana
On Thu, Oct 22, 2009 at 12:56:03AM -0700, Jon . wrote: > On Wed, Oct 21, 2009 at 9:20 PM, Rob Mueller wrote: > ... > > > The difference between "in theory this would work" and the practice of > > actually doing it are huge. Basically it works only if you are 100% sure > > that only one side is ev

Re: cyrus replication : master to replica and replica to master

2009-10-21 Thread Bron Gondwana
On Wed, Oct 21, 2009 at 08:45:11PM +0200, David Touzeau wrote: > Dear > > I have set cyrus-imap with master and replica. > This configuration is a kind of cluster Active/passive > > I would like to know if it is possible to SET the replica has the master > too > > in order to replicate new mail

Re: Exec'ing a script from Cyrus when imapd has a client

2009-10-20 Thread Bron Gondwana
On Tue, Oct 20, 2009 at 10:56:42PM +0200, Xavier Bestel wrote: > Hi, > > Le mardi 20 octobre 2009 à 22:22 +0200, steff...@gmx.de a écrit : > > maybe logsurfer (or something similar) would be of help, you could > > monitor your cyrus logs with it and run fetchmail accordingly: > > > > http://www.c

Re: painful mupdate syncs between front-ends and database server

2009-10-19 Thread Bron Gondwana
ilboxes.db every 256 changes and then closes the transaction, which means that things that were queued waiting for the lock should get a chance to run before you update the next 256 records. The patch is against current CVS (well, against my git clone of current CVS anyway) Bron. -- Bron Gond

Re: Fastmail on Slashdot

2009-10-04 Thread Bron Gondwana
-With-Jeremy-Howard-of-FastMailfm As I posted somewhere in that thread. "I haven't been paged yet (fingers crossed)" :) Bron. -- Bron Gondwana br...@fastmail.fm Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archiv

Re: Implement Cyrus IMAPD in High Load Enviromment

2009-09-29 Thread Bron Gondwana
On Wed, Sep 30, 2009 at 01:01:28AM -0400, Brian Awood wrote: > On Tuesday 29 September 2009 @ 18:41, Bron Gondwana wrote: > > > > Possibly the secret is that we use IPAddr2 from linux-ha to force > > ARP flushes, and we transfer the primary IP address between > > machine

Statistics on message sizes, folders, etc

2009-09-29 Thread Bron Gondwana
shift; return undef unless $array; my $buf = pack($Self->{format}{RecordPack}, @$array); if ($Self->{version} >= 11) { my $Record = $Self->{format}{RecordFields}[$Self->{format}{RecordNames}{RecordCrc}]; my $crc = crc32(substr($buf, 0, $Record->[4]));

Re: deliver.db in /dev/shm

2009-09-29 Thread Bron Gondwana
On Tue, Sep 29, 2009 at 04:29:30PM +0200, Carles Xavier Munyoz Baldó wrote: > Hello, > May I put the database file deliver.db in the /dev/shm partition. > > I have disabled duplicatesuppression and I believe that I will save lot of > I/O > requests to my hard drives if I put this file in memory.

Re: Implement Cyrus IMAPD in High Load Enviromment

2009-09-29 Thread Bron Gondwana
On Tue, Sep 29, 2009 at 09:19:13AM -0400, Brian Awood wrote: > > > On Tuesday 29 September 2009 @ 06:59, Bernd Petrovitsch wrote: > > On Mon, 2009-09-28 at 15:33 -0700, Vincent Fox wrote: > > [...] > > > > > Really I've looked at fsck too many times in my life and > > > don't ever want to again.

Re: Implement Cyrus IMAPD in High Load Enviromment

2009-09-29 Thread Bron Gondwana
On Tue, Sep 29, 2009 at 12:59:39PM +0200, Bernd Petrovitsch wrote: > Does anyone has scripts/tools to - at least - simulate 1000s of > (semi-realistic) parallel IMAP clients on a big setup? Yeah, I've got one. I need to tidy it up a bit more though, and they're a bit less realistic than I'd like.

Re: Implement Cyrus IMAPD in High Load Enviromment

2009-09-29 Thread Bron Gondwana
On Tue, Sep 29, 2009 at 09:45:53AM +0200, Simon Matter wrote: > What I'm really wondering, what filesystem disasters have others seen? How > many times was it fsck only, how many times was it really broken. I'm not > talking about laptop and desktop users but about production systems in a > product

Re: Implement Cyrus IMAPD in High Load Enviromment

2009-09-28 Thread Bron Gondwana
On Mon, Sep 28, 2009 at 03:33:44PM -0700, Vincent Fox wrote: > Bron Gondwana wrote: > >I assume you mean 500 gigs! We're switching from 300 to 500 on new > >filesystems because we have one business customer that's over > >150Gb now and we want to keep all their us

Re: Implement Cyrus IMAPD in High Load Enviromment

2009-09-28 Thread Bron Gondwana
On Mon, Sep 28, 2009 at 08:59:43AM -0700, Vincent Fox wrote: > Lucas Zinato Carraro wrote: > > > >- Exist a recommended size to a Backend server ( Ex: 1 Tb )? > > > Hardware-wise your setup is probably overkill. > Nothing wrong with that. Yeah, that's a fair few machines! Nice to have space for i

Re: reconstruct problem

2009-09-27 Thread Bron Gondwana
On Sun, Sep 27, 2009 at 05:56:00PM +0200, Luca Tolomelli wrote: > I have this problem with the /usr/lib/cyrus-imapd/reconstruct -r -f > user.username > > If I try to restore a mail that was saved on the cyrus server all work > as intended. > > If I try to restore a mail that was saved on a NTFS (

Re: delete_mode: delayed not always working?

2009-09-23 Thread Bron Gondwana
On Wed, Sep 23, 2009 at 01:04:47PM +0200, Sebastian Hagedorn wrote: > Hi, > > we're running 2.3.14 with "delete_mode: delayed" in /etc/imapd.conf > (actually it's the default in Simon Matter's RPM). It's generally > working fine, and I have restored a few accidentally deleted > mailboxes this way.

Re: Same mailbox with different logins

2009-09-18 Thread Bron Gondwana
On Fri, Sep 18, 2009 at 06:06:52PM -0500, Scott Lambert wrote: > On Fri, Sep 18, 2009 at 11:24:08PM +1000, Bron Gondwana wrote: > > On Fri, Sep 18, 2009 at 03:43:20PM +0300, Evgeniy Arbatov wrote: > > > Hello, > > > > > > A question: I want users authent

Re: Same mailbox with different logins

2009-09-18 Thread Bron Gondwana
On Fri, Sep 18, 2009 at 03:23:49PM +0200, Torsten Schlabach wrote: > 1. Names of people may change over time or just need a correction. But > renaming a mailbox in Cyrus is non trivial! Really? telnet $hostname 143 . login admin . rename user.olduser user.newuser Doesn't tickle my "non trivia

Re: Same mailbox with different logins

2009-09-18 Thread Bron Gondwana
On Fri, Sep 18, 2009 at 03:43:20PM +0300, Evgeniy Arbatov wrote: > Hello, > > A question: I want users authenticating with two different usernames > to Cyrus IMAP to be able to access the same mailbox. > > For example, I wish this to be the case ("login name" -> "mailbox"): > > username -> user/

Re: v2.3.15 IMAP connection hangs

2009-09-16 Thread Bron Gondwana
On Wed, Sep 16, 2009 at 07:04:05PM +0200, Simon Matter wrote: > >> From: Simon Matter [mailto:simon.mat...@invoca.ch] > >>... > >> >> Long shot - but you might want to try it with the attached patch > >> >> applied. > >> >> It rewrites the zlib handling logic quite a lot, though it wasn't > >> >> o

Re: v2.3.15 IMAP connection hangs

2009-09-16 Thread Bron Gondwana
On Tue, Sep 15, 2009 at 02:35:48PM -0400, Rosenbaum, Larry M. wrote: > > From: Bron Gondwana [mailto:br...@fastmail.fm] > > > >... > > That's kind of pointless, sorry. I really need a trace of the imapd > > process, since that's what's locking up.

Re: Cyrus IMAPd 2.3.15 - cvt_cyrusdb changes owner of seen-file

2009-09-13 Thread Bron Gondwana
On Sun, Sep 13, 2009 at 01:43:45PM +0200, Per Steinar Iversen wrote: > All works well so far, except for one new strangeness: We have a script, > run by root, that counts the number of unread mails in inboxes. To be able > to parse this information easily the seen-files are converted from > skip

Re: v2.3.15 IMAP connection hangs

2009-09-11 Thread Bron Gondwana
On Fri, Sep 11, 2009 at 09:22:47AM -0400, Rosenbaum, Larry M. wrote: > > From: Bron Gondwana [mailto:br...@fastmail.fm] > > On Thu, Sep 10, 2009 at 04:11:37PM -0400, Rosenbaum, Larry M. wrote: > > > I have just installed v2.3.15 on Solaris 9 Sparc with Cyrus-SASL > > 2.

Re: v2.3.15 IMAP connection hangs

2009-09-10 Thread Bron Gondwana
On Thu, Sep 10, 2009 at 04:11:37PM -0400, Rosenbaum, Larry M. wrote: > I have just installed v2.3.15 on Solaris 9 Sparc with Cyrus-SASL 2.1.24rc1. > When I connect to the IMAP port, I get a banner message but there is no > response to any command I give it (including "0 logout"). I am able to g

Re: Cyrus IMAPd 2.2.13p1 & 2.3.15 Released

2009-09-10 Thread Bron Gondwana
On Thu, Sep 10, 2009 at 09:59:32AM +0200, Simon Matter wrote: > > On Wed, Sep 09, 2009 at 10:20:33PM +0200, Simon Matter wrote: > >> 2) Old (ancient) zlib doesn't have the deflateBound() function. Looks > >> like > >> at least zlib >= 1.2.x is needed. Maybe the zlib detection could also > >> check

Re: Cyrus IMAPd 2.2.13p1 & 2.3.15 Released

2009-09-10 Thread Bron Gondwana
On Wed, Sep 09, 2009 at 10:20:33PM +0200, Simon Matter wrote: > 2) Old (ancient) zlib doesn't have the deflateBound() function. Looks like > at least zlib >= 1.2.x is needed. Maybe the zlib detection could also > check the version of the deflateBound() function? Try this patch (attached) and see i

Re: Cyrus IMAPd 2.2.13p1 & 2.3.15 Released

2009-09-09 Thread Bron Gondwana
ntains several other non-critical > > bugfixes and feature enhancements. For full details, please see > > doc/changes.html and doc/install-upgrade.html which are included in the > > distribution. > > > > I'd personally like to thank Bron Gondwana of Fastmail.fm for findi

Re: Cyrus IMAPd 2.2.13p1 & 2.3.15 Released

2009-09-09 Thread Bron Gondwana
On Wed, Sep 09, 2009 at 07:31:51PM +0200, Sebastian Hagedorn wrote: > -- David R Bosso is rumored to > have mumbled on 9. September 2009 10:07:31 -0700 regarding Re: Cyrus > IMAPd 2.2.13p1 & 2.3.15 Released: > > >Is there a specific reason the patch for bug #3159 wasn't included? I've > >been ad

<    4   5   6   7   8   9   10   11   12   13   >