> For confirmation, the problem I had a couple of weeks ago with Cyrus 2.3.10 on a Redhat 8 derived system is fixed by forcing HAVE_GETGROUPLIST to be undefined (I did it by deleting getgrouplist from the list of functions checked for in configure --- there's presumably a cleaner way). Begin forwarded message: > From: Ian G Batten <ian.batten@xxxxxxxxxxxxxx> > Date: Thu 25 Oct 07 12:30:57 BDT > To: Ken Murchison <murch@xxxxxxxxxxxxxx> > Cc: cyrus-devel@xxxxxxxxxxxxxxxxxxxx, Cyrus Mailing List <info- > cyrus@xxxxxxxxxxxxxxxxxxxx> > Subject: Re: Cyrus IMAPd 2.3.10 Released > > > > I've just compiled 2.3.10 on batten.eu.org (my private x86 servers) > and although it looks OK on the Solaris 10 system, it's in deep > trouble on the elderly Linux machine. Both are upgrades from 2.3.7, > the Solaris box is a replication target, the Linux box is a > replication master that handles deliver and reading. The intent is > to swap them over, and that intent might come sooner than I planned. > > LSUB produces expected output, LIST doesn't (to put it mildly) and > examine/select can't select anything. strace on the running imapd > shows it's doing roughly sensible things: finding the correct > partition and metapartition from the mailbox database, opening the > metadata files correctly, but then it says NO. I've reconstructed > the mailbox, dumped and reloaded (ctl_mboxlist -d // ctl_mboxlist -u) > the mailboxes file and run reconstruct -G ``in case it makes any > odds''. No joy. And nothing useful in the logs, either... > > read(0, ". examine INBOX\r\n", 4096) = 17 > fcntl64(6, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) > = 0 > fstat64(6, {st_mode=S_IFREG|0600, st_size=3520, ...}) = 0 > stat64("/var/imap/mailboxes.db", {st_mode=S_IFREG|0600, > st_size=3520, ...}) = 0 > fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) > = 0 > fcntl64(6, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) > = 0 > fstat64(6, {st_mode=S_IFREG|0600, st_size=3520, ...}) = 0 > stat64("/var/imap/mailboxes.db", {st_mode=S_IFREG|0600, > st_size=3520, ...}) = 0 > fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) > = 0 > open("/var/imap/metadata/user/igb/cyrus.header", O_RDWR) = 11 > fstat64(11, {st_mode=S_IFREG|0600, st_size=250, ...}) = 0 > mmap2(NULL, 250, PROT_READ, MAP_SHARED, 11, 0) = 0x40ee1000 > open("/var/imap/metadata/user/igb/cyrus.index", O_RDWR) = 12 > fstat64(12, {st_mode=S_IFREG|0600, st_size=204784, ...}) = 0 > mmap2(NULL, 212992, PROT_READ, MAP_SHARED, 12, 0) = 0x40ef3000 > open("/var/imap/metadata/user/igb/cyrus.cache", O_RDWR) = 13 > fstat64(13, {st_mode=S_IFREG|0600, st_size=2753804, ...}) = 0 > mmap2(NULL, 2768896, PROT_READ, MAP_SHARED, 13, 0) = 0x40f27000 > fstat64(12, {st_mode=S_IFREG|0600, st_size=204784, ...}) = 0 > close(11) = 0 > munmap(0x40ee1000, 250) = 0 > close(12) = 0 > munmap(0x40ef3000, 212992) = 0 > close(13) = 0 > munmap(0x40f27000, 2768896) = 0 > write(1, ". NO Mailbox does not exist\r\n", 29) = 29 > > > > > * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=CRAM-MD5 > AUTH=DIGEST-MD5 AUTH=LOGIN AUTH=PLAIN AUTH=OTP SASL-IR] > offsite.batten.eu.org Cyrus IMAP4 v2.3.10 server ready > . login igb XXXXXXXXXXXXX > . OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=CRAM-MD5 > AUTH=DIGEST-MD5 AUTH=LOGIN AUTH=PLAIN AUTH=OTP SASL-IR ACL > RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS > NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT > SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE > CATENATE CONDSTORE IDLE URLAUTH] User logged in > . list "" * > * LIST (\HasNoChildren) "." "INBOX" > . OK Completed (0.020 secs 2 calls) > . lsub "" * > * LSUB (\HasChildren) "." "INBOX" > * LSUB () "." "INBOX.2003" > * LSUB () "." "INBOX.2004" > * LSUB () "." "INBOX.2005" > * LSUB () "." "INBOX.2006" > * LSUB () "." "INBOX.Drafts" > * LSUB () "." "INBOX.Holidays" > * LSUB () "." "INBOX.Junk" > * LSUB () "." "INBOX.Sent" > * LSUB () "." "INBOX.Trash" > * LSUB () "." "INBOX.clamav" > * LSUB () "." "INBOX.macos" > * LSUB () "." "INBOX.pre-2003" > * LSUB () "." "INBOX.twonky" > * LSUB () "." "INBOX.xtension" > . OK Completed (0.030 secs 16 calls) > . examine INBOX > . NO Mailbox does not exist > > > > > > > ---- > 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 ---- 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