Re: Cyrus IMAPd 2.3.13 Released

2008-10-29 Thread Scott Likens
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.

//

[EMAIL PROTECTED] /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,  
96})
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\@ 
\0\0\0\0\0\0@..., 832) = 832
fstat(12, {st_mode=S_IFREG|0755, st_size=108430, ...}) = 0
mmap(NULL, 219, 

Re: Cyrus IMAPd 2.3.13 Released

2008-10-24 Thread Bron Gondwana
On Mon, Oct 20, 2008 at 09:02:38AM -0400, 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.

  * Changed the list of valid characters in mailbox names, which is
  interesting because it means that when you upgrade a master and
not the associated replica, and then someone creates a mailbox
with those characters and replication breaks.  Bah.

Bron ( at least the fix was easy! Just upgrade the replica )

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 IMAPd 2.3.13 Released

2008-10-20 Thread Ken Murchison
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@lists.andrew.cmu.edu (public list), or [EMAIL PROTECTED]

-- 
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