replication

2010-11-12 Thread Ron Vachiyer
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 balancing or otherwise. We have a pool of inbound MX servers that handle email

disable IMAP IDLE

2010-11-22 Thread Ron Vachiyer
Hello, I thought it was possible in Cyrus to disable the IDLE functionality, either with imapidlepoll: 0 in imapd.conf, or by commenting idled in cyrus.conf. However, having both disabled, clients still connect and maintain their socket open on tcp 143. Is it not possible or am I going abou

reducing logging/duplicate messages

2010-11-22 Thread Ron Vachiyer
Hello, Is it possible to either reduce logging in Cyrus (CYRUS_VERBOSE=1 or 0 currently) to log less chatter? Everything seems to go to the MAIL facility, and there are alot of messages on a idle test system :-0 Also, the user_deny feature seems to log twice? Or 3 times even? Nov 22 20:09:3

RE: reducing logging/duplicate messages

2010-11-22 Thread Ron Vachiyer
0 > From: dwh...@olp.net > To: prout...@hotmail.com > CC: info-cyrus@lists.andrew.cmu.edu > Subject: Re: reducing logging/duplicate messages > > On 22/11/10 20:14 -0500, Ron Vachiyer wrote: > >Hello, > > > >Is it possible to either reduce logging in Cyrus (CY

RE: disable IMAP IDLE

2010-11-23 Thread Ron Vachiyer
>From how I understand the RFC, if no IMAP IDLE capability is advertised, the >client should not attempt to use it and should close the TCP socket after >every operation. Backberry connections to courier-imap and dovecot will not >maintain a TCP session, they seem to when Cyrus is the IMAP ser

RE: disable IMAP IDLE

2010-11-23 Thread Ron Vachiyer
Date: Tue, 23 Nov 2010 08:57:52 -0400 From: bouti...@ednet.ns.ca To: info-cyrus@lists.andrew.cmu.edu Subject: Re: disable IMAP IDLE On 11/23/2010 08:52 AM, Ron Vachiyer wrote: > >From how I understand the RFC, if no IMAP IDLE capability is > advertised, the client should not attempt

RE: disable IMAP IDLE

2010-11-23 Thread Ron Vachiyer
> Date: Tue, 23 Nov 2010 14:44:34 + > From: i...@sussex.ac.uk > To: prout...@hotmail.com; info-cyrus@lists.andrew.cmu.edu > Subject: Re: disable IMAP IDLE > > > > --On 22 November 2010 18:40:37 -0500 Ron Vachiyer > wrote: > > > > > Hello, >

RE: disable IMAP IDLE

2010-11-26 Thread Ron Vachiyer
Well after a number of tests, it seems that without IDLE, Blackberries are "smart" and disconnect. iPhones and mail clients (Outlook, Thunderbird) remain connected. This is consistent with what they are doing now so they will have to live with it. Unsure what the real reason behind IDLE-less

migration from 2.1.x to 2.4.5

2010-12-01 Thread Ron Vachiyer
Hello, I am pretty much done testing a 2.4.5 Cyrus setup to replace an aging (2.1.x) installation. I have about 36GB of spool, 11,000 accounts or so. I have done some small-scale testing of using imapsync to fetch the contents of the legacy imap folders which seem to work successfully. My qu

IOERROR: index record 543384900 for user.pfoo past end of file

2010-12-10 Thread Ron Vachiyer
Hello, On my Cyrus 2.4.5 test system, I get this error on what seems to be an otherwise functioning mailbox; Dec 10 13:37:41 pop pop3[7635]: IOERROR: index record 543384900 for user.pfoo past end of file I have done a reconstruct that reports nothing, and still the error persists. I can POP

FUD?

2011-05-11 Thread Ron Vachiyer
Hello, We have a small tool we were using in an earlier version of Cyrus, using fud-client to check the last-seen time of a mailbox; user: ronvach mbox: user.ronvach Number of Recent 1 Last read: Wed Dec 31 19:00:00 1969 Last arrived: Tue May 10 12:27:16 2011 Since we upgraded to 2.4.8 (Invo

RE: FUD?

2011-05-11 Thread Ron Vachiyer
> Really? I've never gotten anything but epoch on any Cyrus version (2.1, > 2.2, 2.3) or OS (Fedora 3, 5, CentOS5) that I've tried. I brought it up > on the list a long time ago (2006) and it never got any interest, and > others have brought it up since (2009) with no interest, so I > implemented

migration and seen flag

2012-01-05 Thread Ron Vachiyer
I am to work on migrating a very (very) old install using 2.1.17. The seen information seems to be stored in a /var/lib/imap/user/xx/xxx/xxx.seen file. How can I migrate this seen info to a 2.4.13 install? I thought of using imapsync to move the mailspool, which works, however some mailboxes a

RE: migration and seen flag

2012-01-06 Thread Ron Vachiyer
> Do you know what format the seen files are in on the old server? I think > you should be able to copy them across with the rest of the mail spool > using rsync, but the default database format for seen might have changed. > The default in 2.4 appears to be skiplist. > > Check the setting

RE: migration and seen flag

2012-01-06 Thread Ron Vachiyer
> Seen data is only stored in .seen files for shared or other user > mailboxes. The seen data for the mailbox owner is stored in the > cyrus.index. This has two benefits: > > 1) lower IO for the most common case. We need to update the >cyrus.index file anyway to record the new MODSEQ. >

RE: migration and seen flag

2012-01-06 Thread Ron Vachiyer
> Oh, if you've already moved the mailbox and the seen file hasn't > been moved yet... yeah, that's messy :( > > The main problem is that the seen file is indexed by UNIQUEID > rather than mailbox name, otherwise you could just copy-paste > the sequence out and run > > TAG UID STORE +Flags \

4096 file descriptors

2012-08-22 Thread Ron Vachiyer
Quick question about filedescriptors. On Centos6, cyrus 2.3.16 seems to be able to open 4096 FDs ; master[27121]: retrying with 4096 (current max) ulimit -a says 1024; open files (-n) 1024 I am looking to increase this, and have found some documentation saying to increse

optimized mode for empty maildrop...

2012-08-24 Thread Ron Vachiyer
Hello, I just installed a 2.3 system, and am looking to decrease the syslog verbosity. This system has mostly POP accounts, and the log message "optimized mode for empty maildrop" is all the eye can see, hundreds of them per minute. Is there a way to limit the logging to success/fail/delive

simple php sieve script

2012-08-29 Thread Ron Vachiyer
Hello, I am looking for a rather simple php script to connect to the sieve server, list any active script, and download one if it is active, and print its contents as output. I have been looking at various libraries, but I have come up short of examples. Pear's NetSieve seems particularily pow