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,