Cyrus IMAPd 2.3.10 Released

Ian G Batten ian.batten at uk.fujitsu.com
Thu Oct 25 08:04:51 EDT 2007




On 25 Oct 07, at 1248, Ken Murchison wrote:

> What does imapd.conf look like?

See second mail.

>
> Does the output of 'ctl_mboxlist -d' look reasonable?

Yes.

ctl_mboxlist -d > /tmp/foo
ctl_mboxlist -u < /tmp/foo
ctl_mboxlist -d | diff -c - /tmp/foo

comes up clean, too.

>
> Does 'mbexamine user.igb' look reasonable?

I don't know what reasonable looks like, I get this.   At first blush  
the Index Header info looks the same as running the same command on  
the Solaris replica, which seems much healthier.

I can flip between 2.3.7 and 2.3.10 (2.3.7 works, 2.3.10 doesn't) so  
I'm fairly certain there's nothing overly toxic about the mailboxes.

ian

[root at offsite cyrus-imapd-2.3.10]# /usr/cyrus/bin/mbexamine user.igb
Examining user.igb...
  Mailbox Header Info:
   Path to mailbox: /var/imap/messages/user/igb
   Mailbox ACL: igb      lrswipcda
   Unique ID: 3ab028613d99c597
   User Flags: Junk NonJunk $MDNSent $NotJunk $Junk JunkRecorded  
$Forwarded $Label1 $Label2 $Label3 $Label4 $Label5

  Index Header Info:
   Generation Number: -1040070997
   Format: NORMAL
   Minor Version: 10
   Header Size: 96 bytes  Record Size: 88 bytes
   Number of Messages: 2326  Mailbox Size: 57125014 bytes
   Last Append Date: (1193308980) Thu Oct 25 11:43:00 2007
   UIDValidity: 1033487767  Last UID: 17662
   Deleted: 0  Answered: 464  Flagged: 0
   Mailbox Options: POP3_NEW_UIDL
   Last POP3 Login: (0) Thu Jan  1 01:00:00 1970
   Highest Mod Sequence: 1

  Message Info:
000001> UID:00008642   INT_DATE:1151761881 SENTDATE:1151751600 SIZE: 
32648
       > HDRSIZE:2855   LASTUPD :1193311454 SYSFLAGS:00000000   LINES: 
535
       > CACHEVER:2  GUID: 0000000000000000000000000000000000000000  
MODSEQ:1
       > USERFLAGS: 00000000 00000000 00000000 00000008
  Envel>{314}("Sat, 01 Jul 2006 08:50:25 -0500 (CDT)" "Returned mail:  
User unknown" ((NIL NIL "postoffice" "batten.eu.org")) ((NIL NIL  
"postoffice" "batten.eu.org")) ((NIL NIL "postoffice"  
"batten.eu.org")) (("Mail Delivery Subsystem" NIL "MAILER-DAEMON"  
"batten.eu.org")) NIL NIL NIL "<0J1Q00FCV940T233 at vms046.mailsrvcs.net>")

and then a lot more of the same.

>
>
> Ian G Batten wrote:
>> 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
>
>
> -- 
> Kenneth Murchison
> Systems Programmer
> Project Cyrus Developer/Maintainer
> Carnegie Mellon University



More information about the Info-cyrus mailing list