Cyrus IMAPd 2.3.13 Released

Scott Likens damm at yazzy.org
Thu Oct 30 00:29:50 EDT 2008


Hi,

Recently updated to Cyrus IMAPd 2.3.13 with Gentoo, and ahem i'm  
having a unreliable connection on 1 account getting in with sieveshell.

There is no decent way for me to debug this at this time except strace  
(gdb was not very useful).

One account that has an active sieve script can login, however an  
account with a no sieve script... cannot login

Dirty fix, copy the sieve.bc and sieve script from that user, ln -sf  
defaultbc it... login it works.

Otherwise, it just sits there hanging at the prompt...

Thanks,

Scott M. Likens

syslog here.

Oct 29 21:25:27 desolation master[28464]: about to exec /usr/lib/cyrus/ 
timsieved
Oct 29 21:25:27 desolation sieve[28464]: executed
Oct 29 21:25:27 desolation sieve[28464]: accepted connection
Oct 29 21:25:27 desolation perl: DIGEST-MD5 client step 2
Oct 29 21:25:39 desolation sieve[28464]: login: localhost[127.0.0.1]  
scott DIGEST-MD5 User logged in
Oct 29 21:25:39 desolation perl: DIGEST-MD5 client step 3


I did try and nuke my mailboxes.db thinking that was related, nah...  
not even close.

//

cyrus at desolation /usr/lib/cyrus $ strace -p 28464
Process 28464 attached - interrupt to quit
select(1, [0], NULL, NULL, {215992, 633000}) = 1 (in [0], left  
{215987, 975000})
read(0, "{352+}\r\n"..., 4096)          = 8
select(1, [0], NULL, NULL, {216000, 0}) = 1 (in [0], left {215999,  
960000})
read(0, "dXNlcm5hbWU9InNjb3R0IixyZWFsbT0iZ"..., 4096) = 354
open("/etc/sasl2/sasldb2", O_RDONLY)    = 12
fstat(12, {st_mode=S_IFREG|0600, st_size=12398, ...}) = 0
flock(12, LOCK_SH|LOCK_NB)              = 0
read(12, "\316\232W\23\0\20\0\0\0\20\0\0\0\0\0\0\0\20\0\0\t 
\0\0\0\0\20\0\0\246\0\0\0\0"..., 72) = 72
read(12,  
"\0 
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,  
4024) = 4024
lseek(12, 4096, SEEK_SET)               = 4096
read(12, "\0 \0\0\0\0\0\0\0 \0\0\0\0\0\0\0 \0\0\0\0\0\0\0  
\0\0\0\0\0\0\0"..., 4096) = 4096
brk(0x734000)                           = 0x734000
brk(0x755000)                           = 0x755000
brk(0x776000)                           = 0x776000
lseek(12, 8192, SEEK_SET)               = 8192
read(12,  
"\1 
\0\0\0\0\0\0\0\222\17\0\0\0\0\0\0n0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,  
4096) = 4096
lseek(12, 12324, SEEK_SET)              = 12324
read(12, "scott\0desolation\0userPasswordjade"..., 37) = 37
flock(12, LOCK_UN)                      = 0
close(12)                               = 0
brk(0x72b000)                           = 0x72b000
brk(0x729000)                           = 0x729000
brk(0x728000)                           = 0x728000
open("/etc/sasl2/sasldb2", O_RDONLY)    = 12
fstat(12, {st_mode=S_IFREG|0600, st_size=12398, ...}) = 0
flock(12, LOCK_SH|LOCK_NB)              = 0
read(12, "\316\232W\23\0\20\0\0\0\20\0\0\0\0\0\0\0\20\0\0\t 
\0\0\0\0\20\0\0\246\0\0\0\0"..., 72) = 72
read(12,  
"\0 
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,  
4024) = 4024
lseek(12, 4096, SEEK_SET)               = 4096
read(12, "\0 \0\0\0\0\0\0\0 \0\0\0\0\0\0\0 \0\0\0\0\0\0\0  
\0\0\0\0\0\0\0"..., 4096) = 4096
brk(0x749000)                           = 0x749000
brk(0x76a000)                           = 0x76a000
brk(0x78b000)                           = 0x78b000
lseek(12, 8192, SEEK_SET)               = 8192
read(12,  
"\1 
\0\0\0\0\0\0\0\222\17\0\0\0\0\0\0n0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,  
4096) = 4096
flock(12, LOCK_UN)                      = 0
close(12)                               = 0
brk(0x72b000)                           = 0x72b000
brk(0x729000)                           = 0x729000
brk(0x728000)                           = 0x728000
socket(PF_FILE, SOCK_STREAM, 0)         = 12
fcntl(12, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
connect(12, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110)  
= -1 ENOENT (No such file or directory)
close(12)                               = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 12
fcntl(12, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
connect(12, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110)  
= -1 ENOENT (No such file or directory)
close(12)                               = 0
open("/etc/ld.so.cache", O_RDONLY)      = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=102465, ...}) = 0
mmap(NULL, 102465, PROT_READ, MAP_PRIVATE, 12, 0) = 0x7fa5e4099000
close(12)                               = 0
open("/lib/libnss_compat.so.2", O_RDONLY) = 12
read(12, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0> 
\0\1\0\0\0\320\22\0\0\0\0\0\0@"..., 832) = 832
fstat(12, {st_mode=S_IFREG|0755, st_size=40294, ...}) = 0
mmap(NULL, 2127088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,  
12, 0) = 0x7fa5dea74000
mprotect(0x7fa5dea7b000, 2093056, PROT_NONE) = 0
mmap(0x7fa5dec7a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
MAP_DENYWRITE, 12, 0x6000) = 0x7fa5dec7a000
close(12)                               = 0
open("/lib/libnsl.so.1", O_RDONLY)      = 12
read(12, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000@ 
\0\0\0\0\0\0@"..., 832) = 832
fstat(12, {st_mode=S_IFREG|0755, st_size=108430, ...}) = 0
mmap(NULL, 2190000, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,  
12, 0) = 0x7fa5de85d000
mprotect(0x7fa5de871000, 2093056, PROT_NONE) = 0
mmap(0x7fa5dea70000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
MAP_DENYWRITE, 12, 0x13000) = 0x7fa5dea70000
mmap(0x7fa5dea72000, 6832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
MAP_ANONYMOUS, -1, 0) = 0x7fa5dea72000
close(12)                               = 0
mprotect(0x7fa5dea70000, 4096, PROT_READ) = 0
mprotect(0x7fa5dec7a000, 4096, PROT_READ) = 0
munmap(0x7fa5e4099000, 102465)          = 0
open("/etc/ld.so.cache", O_RDONLY)      = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=102465, ...}) = 0
mmap(NULL, 102465, PROT_READ, MAP_PRIVATE, 12, 0) = 0x7fa5e4099000
close(12)                               = 0
open("/lib/libnss_nis.so.2", O_RDONLY)  = 12
read(12, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P  
\0\0\0\0\0\0@"..., 832) = 832
fstat(12, {st_mode=S_IFREG|0755, st_size=50714, ...}) = 0
mmap(NULL, 2135256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,  
12, 0) = 0x7fa5de653000
mprotect(0x7fa5de65c000, 2093056, PROT_NONE) = 0
mmap(0x7fa5de85b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| 
MAP_DENYWRITE, 12, 0x8000) = 0x7fa5de85b000
close(12)                               = 0
mprotect(0x7fa5de85b000, 4096, PROT_READ) = 0
munmap(0x7fa5e4099000, 102465)          = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 12
fcntl(12, F_GETFD)                      = 0x1 (flags FD_CLOEXEC)
lseek(12, 0, SEEK_CUR)                  = 0
fstat(12, {st_mode=S_IFREG|0644, st_size=2392, ...}) = 0
mmap(NULL, 2392, PROT_READ, MAP_SHARED, 12, 0) = 0x7fa5e4174000
lseek(12, 2392, SEEK_SET)               = 2392
munmap(0x7fa5e4174000, 2392)            = 0
close(12)                               = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 12
fcntl(12, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
connect(12, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110)  
= -1 ENOENT (No such file or directory)
close(12)                               = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 12
fcntl(12, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
connect(12, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110)  
= -1 ENOENT (No such file or directory)
close(12)                               = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 12
lseek(12, 0, SEEK_CUR)                  = 0
fstat(12, {st_mode=S_IFREG|0644, st_size=997, ...}) = 0
mmap(NULL, 997, PROT_READ, MAP_SHARED, 12, 0) = 0x7fa5e4174000
lseek(12, 997, SEEK_SET)                = 997
fstat(12, {st_mode=S_IFREG|0644, st_size=997, ...}) = 0
munmap(0x7fa5e4174000, 997)             = 0
close(12)                               = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 12
lseek(12, 0, SEEK_CUR)                  = 0
fstat(12, {st_mode=S_IFREG|0644, st_size=997, ...}) = 0
mmap(NULL, 997, PROT_READ, MAP_SHARED, 12, 0) = 0x7fa5e4174000
lseek(12, 997, SEEK_SET)                = 997
munmap(0x7fa5e4174000, 997)             = 0
close(12)                               = 0
fcntl(6, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(6, {st_mode=S_IFREG|0600, st_size=4240, ...}) = 0
stat("/var/imap/mailboxes.db", {st_mode=S_IFREG|0600,  
st_size=4240, ...}) = 0
fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
chdir("/var/imap/sieve/s/scott")        = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
sendto(5, "<181>Oct 29 21:25:39 sieve[28464]"..., 95, MSG_NOSIGNAL,  
NULL, 0) = 95
write(1, "OK (SASL \"cnNwYXV0aD1jNTZkYjVkZTV"..., 70) = 70
open("/var/imap/log/scott/28464", O_WRONLY|O_CREAT|O_APPEND, 0644) = 12
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0
write(12, "---------- scott Wed Oct 29 21:25"..., 43) = 43
select(1, [0], NULL, NULL, {216000, 0}


//



On Oct 20, 2008, at 6:02 AM, Ken Murchison wrote:

> I am pleased to announce the release of Cyrus IMAPd 2.3.13.  This
> release should be considered production quality.
>
>
> Noteworthy changes:
>
> * Added an experimental "sql" backend for cyrusdb.  Currently MySQL,
>   PostgreSQL, and SQLite are supported.
> * Added support for IMAP [CAPABILITY] response code to client-side
>   of Murder proxies.
> * Added support for ManageSieve auto-capability response after
>   STARTTLS and after AUTH with a SASL security layer.
> * Made MAXWORD and MAXQUOTED sizes configurable via imapd.conf
> * Rewrote cyrusdb_quotalegacy.c to use readir()
>   rather than glob.c.  This avoids a potential crash due to
>   conflicts between glibc and Heimdal implementations of glob().
> * Added support for fulldirhash to 'ctl_mboxlist -v'
> * Several skiplist transaction bugfixes.
> * cyr_expire no longer has a default of 0 (zero) for -X and -D.
>   These options must be used explicitly in order to have the desired
>   effect.
> * Added sieve_utf8fileinto option.
> * Added sieve_sasl_send_unsolicited_capability and
>   sieve_sasl_expect_unsolicited_capability options.
> * Several 32/64-bit compatibility fixes.
>
>
> For full details, please see doc/changes.html and
> doc/install-upgrade.html which are included in the distribution.
>
> URLs for this release:
> ftp://ftp.andrew.cmu.edu/pub/cyrus/cyrus-imapd-2.3.13.tar.gz
> or
> http://ftp.andrew.cmu.edu/pub/cyrus/cyrus-imapd-2.3.13.tar.gz
>
>
> Questions and comments can be directed to
> info-cyrus at lists.andrew.cmu.edu (public list), or cyrus-bugs at andrew.cmu.edu 
> .
>
> -- 
> Kenneth Murchison
> Systems Programmer
> Project Cyrus Developer/Maintainer
> Carnegie Mellon University
>
>
>
>
>
>
>
>
>
>
>
>
> ----
> 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
>
>
> !DSPAM:48fc855a44983451810515!
>
>



More information about the Info-cyrus mailing list