Squatter crash with statusdb

2013-06-24 Thread Andy Fiddaman
Hi, I've just upgraded my Cyrus installation to 2.4.17 and squatter is crashing in statuscache_buildkey() because userid is NULL. I'm not sure what the best fix for this is. Should squatter even be using the statuscache or should it populate cyrus as the username when initialising the index, or

Re: Squatter crash with statusdb

2013-06-24 Thread Andy Fiddaman
++] = '%'; key[len++] = '%'; -len += strlcpy(key + len, userid, sizeof(key) - len); +len += strlcpy(key + len, userid ? userid : cyrus, sizeof(key) - len); *keylen = len; On Mon, 24 Jun 2013, Andy Fiddaman wrote: ; ; Hi, ; ; I've just upgraded my Cyrus installation to 2.4.17

Re: Squatter crash with statusdb

2013-06-24 Thread Andy Fiddaman
On Mon, 24 Jun 2013, Simon Matter wrote: ; ; Or, could you check this bug here ; http://bugzilla.cyrusimap.org/show_bug.cgi?id=3757 ; ; The patch below was the fix, could you verify if it also fixes your issue? Yes that patch fixes my issue too. I did search bugzilla but didn't see that one

Re: 2.4.2 on Solaris - Crashes in mailbox_unlock_index

2010-11-01 Thread Andy Fiddaman
On Mon, 1 Nov 2010, Bron Gondwana wrote: ; ; Here's your patch :) Works perfectly, thanks :) Andy Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Re: 2.4.2 on Solaris - Crashes in mailbox_unlock_index

2010-10-31 Thread Andy Fiddaman
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 the stacktrace went any further up than that? I'm ; ; more interested in the call-site of mailbox_close, because

2.4.2 on Solaris - Crashes in mailbox_unlock_index

2010-10-30 Thread Andy Fiddaman
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 #1 0xfd7ffef3a753 in thr_kill () from /lib/64/libc.so.1 #2

Re: 2.4.2 on Solaris - Crashes in mailbox_unlock_index

2010-10-30 Thread Andy Fiddaman
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 dirty mailbox will be being closed. Here are a couple: #0 0xfd7ffef41e4a in _lwp_kill () from

Re: Got cyrus to compile but now it's not working.

2010-10-29 Thread Andy Fiddaman
On Thu, 28 Oct 2010, Frank Pittel wrote: ; ; One last question. Does anyone have any smf methods for master and saslauthd? Here's a manifest that we use for master and sync client. It creates two services: # svcs cyrus STATE STIMEFMRI online Oct_13

Re: Cyrus IMAPd 2.4.0 Released

2010-10-13 Thread Andy Fiddaman
On Tue, 12 Oct 2010, Frank Pittel wrote: ; ; Any chance of getting a package for solaris 10? I've been trying to build 2.3.16 for over ; a week and still haven't gotten it to compile. ; ; I really don't know much about Solaris 10 packaging. I do have a Solaris ; box though... I should

Re: Cyrus IMAPd 2.4.0 Released

2010-10-13 Thread Andy Fiddaman
On Wed, 13 Oct 2010, Frank Pittel wrote: ; Thanks for your build script. I'll give it a try when I get home. Some of the lacations ; of things like sasl and burkleySP? db are in different locations but that shouldn't be ; an issue. I forgot to mention that I'm running sol-10 on x86. btw, now

Attachment corruption when downloading with Thunderbird...

2009-04-20 Thread Andy Fiddaman
Hi, I'm running Cyrus IMAP 2.3.13 on Solaris (about to upgrade to 2.3.14) and a number of my users who use Thunderbird have reported frequent corruption of attachments. This is particularly visible for images where they are obviously truncated. The work-around they are using is to drag the

Re: [OT] m$ activesync with cyrus backend

2008-09-16 Thread Andy Fiddaman
On Tue, 16 Sep 2008, lartc wrote: ; ; is there a way to mimic exchange server in the linux environment where i ; can keep my cyrus/postfix/amavis install -- is there a linux app that ; speaks exchange? Z-Push (http://z-push.sourceforge.net/) does the job nicely. I use that for my iPhone with

Re: sync_server crashing..

2008-05-24 Thread Andy Fiddaman
On Mon, 19 May 2008, Bron Gondwana wrote: ; On Sun, 18 May 2008, Bron Gondwana wrote: ; ; ; You have a corrupted cache file. Various things could have caused ; this, ; ; it isn´t easy to know what it was. ; ; Hmm.. by corrupted cache file it could actually be the cache base pointers ; from

Re: sync_server crashing..

2008-05-18 Thread Andy Fiddaman
On Sun, 18 May 2008, Bron Gondwana wrote: ; You have a corrupted cache file. Various things could have caused this, ; it isn´t easy to know what it was. Thanks. I can't find the corrupted mailbox so I've run reconstruct on everything, rsyncd the master to replica again and I'll see if the

sync_server crashing..

2008-05-16 Thread Andy Fiddaman
Hi, I'm hoping that someone who is familiar with the replication code can help me with a problem I'm seeing with Cyrus 2.3.12. I have a two server replicated setup and sync_server is occasionally crashing. Once it's crashed once it keeps on crashing until I completely reset replication by

Re: Backscatter solutions

2008-05-09 Thread Andy Fiddaman
; Marc Grober wrote: ; I am getting pounded by backscatter as a result of one of my addresses ; being used by some major spammers. Are there any solutions available to ; address all the Delivery failure and bounce notices. I would at least ; like to be able to sort between such responses from

Re: Backscatter solutions

2008-05-09 Thread Andy Fiddaman
On Fri, 9 May 2008, Mike Cathey wrote: ; On May 9, 2008, at 3:05 AM, Andy Fiddaman wrote: ; Pretty much the only way to stop this is to use something like BATV to ; tweak your envelope sender address outbound. That still doesn't stop ; everything as out-of-office replies are usually sent from

Re: Cyrus IMAPd 2.3.12 Released

2008-04-23 Thread Andy Fiddaman
On Wed, 23 Apr 2008, Thomas Robers - TuTech Innovation GmbH wrote: ; Hello, ; ; I'm getting a segmentation fault when I try to start the master process. ; Compiling went fine on Debian etch (2.6.18-5-xen-amd64) with gcc version ; (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Take a look at

Re: Cyrus IMAPd 2.3.12 Released (fwd)

2008-04-23 Thread Andy Fiddaman
; On Wed, 23 Apr 2008, Thomas Robers - TuTech Innovation GmbH wrote: ; ; Hello, ; ; ; ; I'm getting a segmentation fault when I try to start the master process. ; ; Compiling went fine on Debian etch (2.6.18-5-xen-amd64) with gcc version ; ; (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) ; ;

Re: Cyrus IMAPd 2.3.12 Released

2008-04-23 Thread Andy Fiddaman
On Wed, 23 Apr 2008, Thomas Robers wrote: ; Ken Murchison schrieb: ; Can you try this patch: ; ; https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/libconfig.c.diff?r1=1.18;r2=1.18.2.1 ; ; I tried the patch. Compiling is ok, but the master segfaults when I try to start: ; 347

Restricting admin logins

2007-11-29 Thread Andy Fiddaman
At the moment we patch the Cyrus IMAP server source so that administrators (admins in the config file) can only log in from certain IP addresses. I was wondering if there is a better way to do this or whether some means of achieving this is planned for future releases? We have two patches we

Re: Setting the location of proc independent of configdir

2007-11-15 Thread Andy Fiddaman
On Thu, 15 Nov 2007, Ian G Batten wrote: ; I was interested to see someone suggesting putting proc into tmpfs. ; That's slightly painful if /var/imap is in ZFS: the order in which ; mounts take place means you can't just put /var/imap/proc tmpfs into / ; etc/vfstab if /var/imap is coming in

Re: tools/migrate-metadata problem

2007-10-08 Thread Andy Fiddaman
On Mon, 8 Oct 2007, Rudy Gevaert wrote: ; ; I tried your patch and it doesn't really recurse here. It does recurse if I ; match on subdir !~ /^\./ You are matching on every character at the beginning ; of the line. Yes, I spotted the missing backslash when I used the script on my replica..

Re: Quick Utilities for getting into user mail file

2007-09-19 Thread Andy Fiddaman
On Wed, 19 Sep 2007, Rick Kunkel wrote: ; Currently, I'm modifying a pinerc file and running PC-Pine to do this if ; necessary. Are there any other tools available for this kind of quick and ; dirty mailbox manipulation? Modifying config files on a per-user basis is ; kind of a pain, and

Re: 64-bit alignment problems.

2007-09-18 Thread Andy Fiddaman
On Mon, 17 Sep 2007, Ken Murchison wrote: ; ; I didn't like the way that the macro looked in the code, so I just typedef'd ; it instead. Here is my current patch. If it works, I'll commit it. Seems fine, no crashes with my test suite. Thanks! (for the other crash bug in the perl XS, would you

Crash in perl XS module.

2007-09-18 Thread Andy Fiddaman
I'm seeing a crash whenever a perl process exits that uses the Cyrus IMAP.pm perl module. The cleanup function in the IMAP.xs checks the reference count post decrement rather than pre, therefore it double frees memory and ends up calling imclient_destroy() twice for the same object. The

Re: 64-bit alignment problems.

2007-09-17 Thread Andy Fiddaman
On Mon, 17 Sep 2007, Ken Murchison wrote: ; Good point. I'm wondering if we need the struct at all, and can just use a ; union. You're right, I've just tested the following and it works fine: #define ALIGNBUF(buf, size) \ union { \ bit64 align8; \ char

Re: 64-bit alignment problems.

2007-09-16 Thread Andy Fiddaman
On Fri, 14 Sep 2007, Ken Murchison wrote: ; This patch tries to force the entire buffer to be aligned, rather than ; aligning each 64-bit field individually. Don't know if this will work or not. The concept seems to work fine. There are some other places that the same trick needs to be done -

Re: 64-bit alignment problems.

2007-09-14 Thread Andy Fiddaman
On Fri, 14 Sep 2007, Ken Murchison wrote: ; ; Before I commit your patch, would you be willing to see if the attached ; alternate patch works? ; ; This patch tries to force the entire buffer to be aligned, rather than ; aligning each 64-bit field individually. Don't know if this will work or

Re: Cyrus lagging accepting IMAP connections

2007-09-11 Thread Andy Fiddaman
On Tue, 11 Sep 2007, Rick Kunkel wrote: ; # telnet mail 143 ; Trying xxx.xxx.xxx.xxx... ; Connected to mail. ; Escape character is '^]'. ; ; And then it just kinda sits. Sometimes, after 30 seconds or so ; ; * OK mail Cyrus IMAP4 v2.2.13-Debian-2.2.13-10 server ready Generally this kind of

Re: 64-bit alignment problems.

2007-09-09 Thread Andy Fiddaman
On Fri, 7 Sep 2007, Ken Murchison wrote: ; We have been running 2.3.x code on 64-bit sparcv9 kernels (Solaris 8 on Sun ; Fire V240) without any problem. What is your hardware and OS? The test server is a Sun V210 running SunOS xxx 5.10 Generic_125100-10 sun4u sparc SUNW,Sun-Fire-V210 (Solaris

Re: 64-bit alignment problems.

2007-09-05 Thread Andy Fiddaman
On Tue, 4 Sep 2007, Andy Fiddaman wrote: ; I'm finally getting around to upgrading my 2.3.7 system to 2.3.9. When I ; put in 2.3.7 I had to patch a few things to make it work properly on ; 64-bit SPARC, mainly unaligned dereferences causing BUS faults due to ; the SPARC MMU. Sorry to follow up

Re: Replication and single instance store

2007-09-04 Thread Andy Fiddaman
On Tue, 4 Sep 2007, Bron Gondwana wrote: ; Does this mean there is no way to get single-instance-store on a replica ; if you're rebuilding it from scratch? I've always used rsync to initialise the replica since that will preserve the hard links - so rsync followed by shutdown, rsync again and

64-bit alignment problems.

2007-09-04 Thread Andy Fiddaman
I'm finally getting around to upgrading my 2.3.7 system to 2.3.9. When I put in 2.3.7 I had to patch a few things to make it work properly on 64-bit SPARC, mainly unaligned dereferences causing BUS faults due to the SPARC MMU. Thankfully 2.3.9 has most of these sorted, mainly through using

Re: using address-extensions for storing in special folders

2007-08-07 Thread Andy Fiddaman
On Tue, 7 Aug 2007, Stefan Palme wrote: ; My question is: is there a way to configure the IMAP server, so that ; mails to [EMAIL PROTECTED] are automatically stored ; in the INBOX/internal folder of user kleiner? Yes, the IMAP server does this natively. You just need to make sure that

Re: optimization for delivery to multiple recipients

2007-07-07 Thread Andy Fiddaman
On Sat, 7 Jul 2007, Alain Spineux wrote: ; Hi ; ; When I make a copy of an email, (using imap command copy) I can see that ; cyrus just created a new link on the file system. ; ; But when delivering the same mail to multiple user, cyrus create ; multiple identical copy ; of the mail, why ? If

Re: Header rewriting within existing mailstore - Disposition-Notification-To

2007-07-06 Thread Andy Fiddaman
On Thu, 5 Jul 2007, Bob Bob wrote: ; ; I don't know enough about Cyrus internal workings to know if this will ; cause any index or other issue. I have seen Disposition lines inside the ; cyrus.cache file for example. I have used the tools to recover corrupt ; stores in the past but don't

Re: Cyrus ZFS performance

2007-07-04 Thread Andy Fiddaman
On Tue, 3 Jul 2007, Dale Ghent wrote: ; On Jul 3, 2007, at 7:05 PM, Vincent Fox wrote: ; ; We currently have 27,323 accounts on it, and it is performing ; very well, with atime=off and compression=on. ; ; Sorry for the double reply, but by the way, what sort of compression ; ratio are you

Re: ZFS compression?

2007-04-26 Thread Andy Fiddaman
On Tue, 24 Apr 2007, Vincent Fox wrote: ; Has anyone attempted using ZFS compression on mail spools? Yes, we use it here on some servers. The servers were originally IO bound but since enabling compression (and delayed expunge...) they are coping fine. The CPU utilisation went up a bit as a

Re: Recomendations for a 15000 Cyrus Mailboxes

2007-04-10 Thread Andy Fiddaman
On Tue, 10 Apr 2007, Timo Schoeler wrote: ; ; Best: ZFS on Solaris ;) Or now on MacOSX (Leopard) or on FreeBSD (7.0)! (although Solaris is likely to remain the most stable implementation for the moment) Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ:

Re: unexpunge and subfolders

2006-10-17 Thread Andy Fiddaman
On Tue, 17 Oct 2006, Leena Heino wrote: ; If user has not deleted the whole subfolder only some of the messages then is ; there any way to restore those messages with unexpunge? ; ; It seems that if any subfolders is specified as an argument then then unexpuge ; segfaults eg.: unexpunge -a

Re: master / slave replication (sync_server / sync_client)

2006-10-04 Thread Andy Fiddaman
On Wed, 4 Oct 2006, Martin Schweizer wrote: ; Hello ; ; I use cyrus imapd 2.3.7 and have to servers 192.168.10.6 and ; 192.168.20.3. The subnet is separated by a firewall (port 2005/tcp is ; open for both sites). I see no action anywhere (also not in the log). ; What do I wrong? The master

Re: master / slave replication (sync_server / sync_client)

2006-10-04 Thread Andy Fiddaman
On Wed, 4 Oct 2006, Martin Schweizer wrote: ; Hello Andy ; ; Thank you for the hint. I change it as you desribed. ; ; Now after waiting some time I see no replication on both site. Is the ; firewall the problem (only open 2005/tcp)? Or what do I wrong again? ; ; Regards, ; Martin Try telnet

Re: Can't get cyrus imapd 2.2.12 to work on a sparc

2005-11-12 Thread Andy Fiddaman
On Sat, 12 Nov 2005, Matthijs Mohlmann wrote: ; Hi, ; ; I'm running FreeBSD 6.0-RELEASE on a Ultra Sparc (500Mhz with 512Mb RAM). ; ; I have setup cyrus with postfix and saslauthd. All components are ; completely working except cyrus. ; ; What I discovered is that I can create mailboxes in cyrus

Re: Can't get cyrus imapd 2.2.12 to work on a sparc

2005-11-12 Thread Andy Fiddaman
On Sun, 13 Nov 2005, Matthijs Mohlmann wrote: ; Hi, ; ; Andy Fiddaman wrote: ; On Sat, 12 Nov 2005, Matthijs Mohlmann wrote: ; ; Thanks a lot, that did the trick. Where can I read more about that bug ? It's been discussed on this list before and others, try: http://lists.freebsd.org

Squatter BUS error.

2004-06-30 Thread Andy Fiddaman
I am running Cyrus IMAP 2.2.6 as a 64-bit binary on Solaris 9. I don't know whether this is officially supported but it is running perfectly apart from one small problem; that squatter crashes when indexing mailboxes due to an address alignment error. The crash is being caused by the ntohl()