Strange problem with timsieved 2.2.12
Lukasz Michalski
lm at zork.pl
Wed Nov 14 14:25:56 EST 2007
Hi,
I am observing strange problem with timsieved daemon.
This is on small mail server running cyrus-imapd 2.2.12.
For most hosts, timsieved does not respond to commands at all. It sits in
select() and never read any data. Data written at start of daemon is not
readed to telnet client too.
But I identified two good hosts for which timsieved works ok. This situation
is perfectly and happens only to timsieved process. Everything else works ok.
I would be grateful for any help, hints org suggestions.
Here is telnet session and strace from bad host. When telnet connects to port
2000 strace outputs first line only. Rest of strace is written when I issue
close command in telnet session.
[root at home ~]# telnet ssl.zork.pl 2000
Trying 195.66.73.37.2000...
Connected to black.zork.pl.
Escape character is '^]'.
test
^]
telnet> cl
11592 20:01:04.807071 select(1, [0], NULL, NULL, {1799, 976000}) = 1 (in [0],
left {1770, 780000})
11592 20:01:34.010422 time(NULL) = 1195066894
11592 20:01:34.010575 read(0, "test\r\n", 4096) = 6
11592 20:01:34.010764 write(1, "NO \"Expected a command. Got some"..., 46) =
46
11592 20:01:34.010924 time(NULL) = 1195066894
11592 20:01:34.011014 select(1, [0], NULL, NULL, {1800, 0}) = 1 (in [0], left
{1795, 764000})
11592 20:01:38.244091 time(NULL) = 1195066898
11592 20:01:38.244222 read(0, "", 4096) = 0
11592 20:01:38.244343 write(1, "OK \"Logout Complete\"\r\n", 22) = 22
11592 20:01:38.244574 munmap(0xb68fb000, 114688) = 0
11592 20:01:38.244703 close(6) = 0
11592 20:01:38.244911 munmap(0xb6942000, 32768) = 0
11592 20:01:38.245034 munmap(0xb7afe000, 98304) = 0
11592 20:01:38.245143 munmap(0xb694a000, 18563072) = 0
11592 20:01:38.245282 munmap(0xb7b16000, 663552) = 0
11592 20:01:38.245397 munmap(0xb7fce000, 8192) = 0
11592 20:01:38.245527 open("/dev/null", O_RDWR) = 6
11592 20:01:38.245679 shutdown(0, 0 /* receive */) = 0
11592 20:01:38.245786 dup2(6, 0) = 0
11592 20:01:38.245874 shutdown(1, 0 /* receive */) = 0
11592 20:01:38.245957 dup2(6, 1) = 1
11592 20:01:38.246042 shutdown(2, 0 /* receive */) = 0
11592 20:01:38.246124 dup2(6, 2) = 2
11592 20:01:38.246274 close(6) = 0
11592 20:01:38.246563 exit_group(0) = ?
Here is telnet session and strace from good host:
[zork at vortex ~]$ telnet ssl.zork.pl 2000
Trying 195.66.73.37.2000...
Connected to black.zork.pl.
Escape character is '^]'.
"IMPLEMENTATION" "Cyrus timsieved v2.2.12"
"SASL" "OTP CRAM-MD5 DIGEST-MD5"
"SIEVE" "fileinto reject envelope vacation imapflags notify subaddress
relational comparator-i;ascii-numeric regex"
"STARTTLS"
OK
test
NO "Expected a command. Got something else."
^]
telnet> cl
Connection closed.
11595 20:01:21.994956 waitpid(11596, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}],
0) = 11596
11595 20:01:21.995386 rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
11595 20:01:21.995493 rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
11595 20:01:21.995582 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
11595 20:01:21.995694 --- SIGCHLD (Child exited) @ 0 (0) ---
11595 20:01:21.995798 time([1195066881]) = 1195066881
11595 20:01:21.995910 stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=976, ...}) = 0
11595 20:01:21.996063 stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=976, ...}) = 0
11595 20:01:21.996195 stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=976, ...}) = 0
11595 20:01:21.996359 send(5, "<183>Nov 14 20:01:21 sieve[11595"..., 68,
MSG_NOSIGNAL) = 68
11595 20:01:21.996777 time([1195066881]) = 1195066881
11595 20:01:21.996876 stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=976, ...}) = 0
11595 20:01:21.997013 stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=976, ...}) = 0
11595 20:01:21.997145 stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=976, ...}) = 0
11595 20:01:21.997290 send(5, "<183>Nov 14 20:01:21 sieve[11595"..., 44,
MSG_NOSIGNAL) = 44
11595 20:01:21.997609 fcntl64(4, F_GETFD) = 0
11595 20:01:21.997697 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
11595 20:01:21.997778 fcntl64(3, F_GETFD) = 0
11595 20:01:21.997857 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
11595 20:01:21.997957 getsockopt(4, SOL_SOCKET, SO_TYPE, [1], [4]) = 0
11595 20:01:21.998238 getuid32() = 76
11595 20:01:21.998348 geteuid32() = 76
11595 20:01:21.998436 getgid32() = 12
11595 20:01:21.998522 getegid32() = 12
11595 20:01:21.998700 open("/etc/sasl/Cyrus.conf", O_RDONLY) = -1 ENOENT (No
such file or directory)
11595 20:01:21.998974 getuid32() = 76
11595 20:01:21.999056 geteuid32() = 76
11595 20:01:21.999133 getgid32() = 12
11595 20:01:21.999208 getegid32() = 12
11595 20:01:21.999323 open("/usr/lib/sasl2", O_RDONLY|O_NONBLOCK|O_LARGEFILE|
O_DIRECTORY) = 6
11595 20:01:21.999438 fstat64(6, {st_mode=S_IFDIR|0755, st_size=4096, ...}) =
0
11595 20:01:21.999561 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
11595 20:01:21.999660 getdents64(6, /* 20 entries */, 4096) = 736
11595 20:01:22.000094 open("/usr/lib/sasl2/libplain.la", O_RDONLY) = -1 ENOENT
(No such file or directory)
11595 20:01:22.000299 open("/usr/lib/sasl2/libplain.so", O_RDONLY) = 11
11595 20:01:22.000425
read(11, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\f\0\000"..., 512)
= 512
11595 20:01:22.000566 fstat64(11, {st_mode=S_IFREG|0755, st_size=13908, ...})
= 0
11595 20:01:22.000701 mmap2(NULL, 12824, PROT_READ|PROT_EXEC, MAP_PRIVATE|
MAP_DENYWRITE, 11, 0) = 0xb687f000
11595 20:01:22.000832 mmap2(0xb6882000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0x3) = 0xb6882000
11595 20:01:22.000987 close(11) = 0
11595 20:01:22.001451 open("/usr/lib/sasl2/libsasldb.la", O_RDONLY) = -1
ENOENT (No such file or directory)
11595 20:01:22.001622 open("/usr/lib/sasl2/libsasldb.so", O_RDONLY) = 11
11595 20:01:22.001745
read(11, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \17\0\000"..., 512)
= 512
11595 20:01:22.001881 fstat64(11, {st_mode=S_IFREG|0755, st_size=18428, ...})
= 0
11595 20:01:22.002011 mmap2(NULL, 21444, PROT_READ|PROT_EXEC, MAP_PRIVATE|
MAP_DENYWRITE, 11, 0) = 0xb6879000
11595 20:01:22.002129 mmap2(0xb687e000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0x4) = 0xb687e000
11595 20:01:22.002275 close(11) = 0
11595 20:01:22.002766 open("/usr/lib/sasl2/libdigestmd5.la", O_RDONLY) = -1
ENOENT (No such file or directory)
11595 20:01:22.002940 open("/usr/lib/sasl2/libdigestmd5.so", O_RDONLY) = 11
11595 20:01:22.003064
read(11, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\22\0"..., 512) =
512
11595 20:01:22.003200 fstat64(11, {st_mode=S_IFREG|0755, st_size=43796, ...})
= 0
11595 20:01:22.003332 mmap2(NULL, 46816, PROT_READ|PROT_EXEC, MAP_PRIVATE|
MAP_DENYWRITE, 11, 0) = 0xb686d000
11595 20:01:22.003445 mmap2(0xb6878000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0xa) = 0xb6878000
11595 20:01:22.003654 close(11) = 0
11595 20:01:22.004247 open("/usr/lib/sasl2/libcrammd5.la", O_RDONLY) = -1
ENOENT (No such file or directory)
11595 20:01:22.004424 open("/usr/lib/sasl2/libcrammd5.so", O_RDONLY) = 11
11595 20:01:22.004546
read(11, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\f\0"..., 512) =
512
11595 20:01:22.004679 fstat64(11, {st_mode=S_IFREG|0755, st_size=15700, ...})
= 0
11595 20:01:22.004809 mmap2(NULL, 18712, PROT_READ|PROT_EXEC, MAP_PRIVATE|
MAP_DENYWRITE, 11, 0) = 0xb6868000
11595 20:01:22.004926 mmap2(0xb686c000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0x3) = 0xb686c000
11595 20:01:22.005066 close(11) = 0
11595 20:01:22.005431 open("/usr/lib/sasl2/liblogin.la", O_RDONLY) = -1 ENOENT
(No such file or directory)
11595 20:01:22.005585 open("/usr/lib/sasl2/liblogin.so", O_RDONLY) = 11
11595 20:01:22.005707
read(11, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\f\0"..., 512) =
512
11595 20:01:22.005840 fstat64(11, {st_mode=S_IFREG|0755, st_size=13908, ...})
= 0
11595 20:01:22.005974 mmap2(NULL, 12824, PROT_READ|PROT_EXEC, MAP_PRIVATE|
MAP_DENYWRITE, 11, 0) = 0xb7f0b000
11595 20:01:22.006086 mmap2(0xb7f0e000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0x3) = 0xb7f0e000
11595 20:01:22.006233 close(11) = 0
11595 20:01:22.006579 open("/usr/lib/sasl2/libotp.la", O_RDONLY) = -1 ENOENT
(No such file or directory)
11595 20:01:22.006766 open("/usr/lib/sasl2/libotp.so", O_RDONLY) = 11
11595 20:01:22.006888
read(11, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200Q\0"..., 512) =
512
11595 20:01:22.007022 fstat64(11, {st_mode=S_IFREG|0755, st_size=59860, ...})
= 0
11595 20:01:22.007152 mmap2(NULL, 62872, PROT_READ|PROT_EXEC, MAP_PRIVATE|
MAP_DENYWRITE, 11, 0) = 0xb6858000
11595 20:01:22.007267 mmap2(0xb6865000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0xc) = 0xb6865000
11595 20:01:22.007449 close(11) = 0
11595 20:01:22.008280 getdents64(6, /* 0 entries */, 4096) = 0
11595 20:01:22.008442 close(6) = 0
11595 20:01:22.008601 open("/var/lib/imap/mailboxes.db", O_RDWR) = 6
11595 20:01:22.008751 fcntl64(6, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET,
start=0, len=0}) = 0
11595 20:01:22.008877 fstat64(6, {st_mode=S_IFREG|0600, st_size=103212, ...})
= 0
11595 20:01:22.009023 stat64("/var/lib/imap/mailboxes.db", {st_mode=S_IFREG|
0600, st_size=103212, ...}) = 0
11595 20:01:22.009181 mmap2(NULL, 114688, PROT_READ, MAP_SHARED, 6, 0) =
0xb683c000
11595 20:01:22.009312 fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET,
start=0, len=0}) = 0
11595 20:01:22.009439 stat64("/usr/lib/cyrus/timsieved", {st_mode=S_IFREG|
0755, st_size=229256, ...}) = 0
11595 20:01:22.009604 open("/var/lib/imap/socket/sieve-1.lock", O_RDWR|
O_CREAT, 0600) = 11
11595 20:01:22.009756 rt_sigaction(SIGALRM, {0x80697e0, [], SA_ONESHOT}, NULL,
8) = 0
11595 20:01:22.009866 rt_sigaction(SIGHUP, {0x80697e0, [], SA_RESTART|
SA_ONESHOT}, NULL, 8) = 0
11595 20:01:22.009966 rt_sigaction(SIGINT, {0x80697e0, [], SA_RESTART|
SA_ONESHOT}, NULL, 8) = 0
11595 20:01:22.010066 rt_sigaction(SIGQUIT, {0x80697e0, [], SA_RESTART|
SA_ONESHOT}, NULL, 8) = 0
11595 20:01:22.010166 fcntl64(11, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET,
start=0, len=0}) = 0
11595 20:01:22.010265 stat64("/usr/lib/cyrus/timsieved", {st_mode=S_IFREG|
0755, st_size=229256, ...}) = 0
11595 20:01:22.010420 accept(4, 0, NULL) = 12
11595 20:01:22.010542 fcntl64(11, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET,
start=0, len=0}) = 0
11595 20:01:22.010648 alarm(0) = 0
11595 20:01:22.010780 write(3, "\2\0\0\0K-\0\0", 8) = 8
11595 20:01:22.011468 time([1195066882]) = 1195066882
11595 20:01:22.011582 stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=976, ...}) = 0
11595 20:01:22.011722 stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=976, ...}) = 0
11595 20:01:22.011854 stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=976, ...}) = 0
11595 20:01:22.012011 send(5, "<183>Nov 14 20:01:22 sieve[11595"..., 55,
MSG_NOSIGNAL) = 55
11595 20:01:22.012581 dup2(12, 0) = 0
11595 20:01:22.012675 dup2(12, 1) = 1
11595 20:01:22.012755 dup2(12, 2) = 2
11595 20:01:22.012848 close(12) = 0
11595 20:01:22.012929 write(3, "\3\0\0\0K-\0\0", 8) = 8
11595 20:01:22.013562 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
11595 20:01:22.013698 geteuid32() = 76
11595 20:01:22.013794 getpeername(0, {sa_family=AF_INET,
sin_port=htons(62956), sin_addr=inet_addr("77.115.196.9")}, [16]) = 0
11595 20:01:22.013998 socket(PF_FILE, SOCK_STREAM, 0) = 12
11595 20:01:22.014119 fcntl64(12, F_GETFL) = 0x2 (flags O_RDWR)
11595 20:01:22.014210 fcntl64(12, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11595 20:01:22.014299 connect(12, {sa_family=AF_FILE,
path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
11595 20:01:22.014464 close(12) = 0
11595 20:01:22.014563 socket(PF_FILE, SOCK_STREAM, 0) = 12
11595 20:01:22.014656 fcntl64(12, F_GETFL) = 0x2 (flags O_RDWR)
11595 20:01:22.014782 fcntl64(12, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11595 20:01:22.014871 connect(12, {sa_family=AF_FILE,
path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
11595 20:01:22.015010 close(12) = 0
11595 20:01:22.015119 open("/etc/nsswitch.conf", O_RDONLY) = 12
11595 20:01:22.015245 fstat64(12, {st_mode=S_IFREG|0644, st_size=277, ...}) =
0
11595 20:01:22.015368 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|
MAP_ANONYMOUS, -1, 0) = 0xb683b000
11595 20:01:22.015493 read(12, "# /etc/nsswitch.conf\n#\n# Example"..., 4096)
= 277
11595 20:01:22.015657 read(12, "", 4096) = 0
11595 20:01:22.015749 close(12) = 0
11595 20:01:22.015846 munmap(0xb683b000, 4096) = 0
11595 20:01:22.016009 open("/etc/ld.so.cache", O_RDONLY) = 12
11595 20:01:22.016123 fstat64(12, {st_mode=S_IFREG|0644, st_size=21964, ...})
= 0
11595 20:01:22.016246 mmap2(NULL, 21964, PROT_READ, MAP_PRIVATE, 12, 0) =
0xb6836000
11595 20:01:22.016350 close(12) = 0
11595 20:01:22.016448 open("/lib/libnss_files.so.2", O_RDONLY) = 12
11595 20:01:22.016568
read(12, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\33\0\000"..., 512)
= 512
11595 20:01:22.016702 fstat64(12, {st_mode=S_IFREG|0755, st_size=34188, ...})
= 0
11595 20:01:22.016839 mmap2(NULL, 37516, PROT_READ|PROT_EXEC, MAP_PRIVATE|
MAP_DENYWRITE, 12, 0) = 0xb682c000
11595 20:01:22.016945 mmap2(0xb6834000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0x7) = 0xb6834000
11595 20:01:22.017113 close(12) = 0
11595 20:01:22.017344 munmap(0xb6836000, 21964) = 0
11595 20:01:22.017474 gettimeofday({1195066882, 17520}, NULL) = 0
11595 20:01:22.017576 open("/etc/resolv.conf", O_RDONLY) = 12
11595 20:01:22.017693 fstat64(12, {st_mode=S_IFREG|0644, st_size=36, ...}) = 0
11595 20:01:22.017814 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|
MAP_ANONYMOUS, -1, 0) = 0xb683b000
11595 20:01:22.017915 read(12, "domain zork.pl\nnameserver localh"..., 4096) =
36
11595 20:01:22.018077 read(12, "", 4096) = 0
11595 20:01:22.018166 close(12) = 0
11595 20:01:22.018254 munmap(0xb683b000, 4096) = 0
11595 20:01:22.018352 open("/etc/host.conf", O_RDONLY) = 12
11595 20:01:22.018457 fstat64(12, {st_mode=S_IFREG|0644, st_size=26, ...}) = 0
11595 20:01:22.018577 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|
MAP_ANONYMOUS, -1, 0) = 0xb683b000
11595 20:01:22.018671 read(12, "order hosts,bind\nmulti on\n", 4096) = 26
11595 20:01:22.018822 read(12, "", 4096) = 0
11595 20:01:22.018908 close(12) = 0
11595 20:01:22.018995 munmap(0xb683b000, 4096) = 0
11595 20:01:22.019117 open("/etc/hosts", O_RDONLY) = 12
11595 20:01:22.019244 fcntl64(12, F_GETFD) = 0
11595 20:01:22.019327 fcntl64(12, F_SETFD, FD_CLOEXEC) = 0
11595 20:01:22.019422 fstat64(12, {st_mode=S_IFREG|0644, st_size=238, ...}) =
0
11595 20:01:22.019544 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|
MAP_ANONYMOUS, -1, 0) = 0xb683b000
11595 20:01:22.019641 read(12, "# /etc/hosts\n127.0.0.1\tlocalhost"..., 4096)
= 238
11595 20:01:22.019808 read(12, "", 4096) = 0
11595 20:01:22.019912 close(12) = 0
11595 20:01:22.020002 munmap(0xb683b000, 4096) = 0
11595 20:01:22.020189 open("/etc/ld.so.cache", O_RDONLY) = 12
11595 20:01:22.020297 fstat64(12, {st_mode=S_IFREG|0644, st_size=21964, ...})
= 0
11595 20:01:22.020419 mmap2(NULL, 21964, PROT_READ, MAP_PRIVATE, 12, 0) =
0xb6836000
11595 20:01:22.020520 close(12) = 0
11595 20:01:22.020618 open("/lib/libnss_dns.so.2", O_RDONLY) = 12
11595 20:01:22.020736
read(12, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\r\0"..., 512) =
512
11595 20:01:22.020869 fstat64(12, {st_mode=S_IFREG|0755, st_size=17764, ...})
= 0
11595 20:01:22.021002 mmap2(NULL, 20616, PROT_READ|PROT_EXEC, MAP_PRIVATE|
MAP_DENYWRITE, 12, 0) = 0xb6826000
11595 20:01:22.021115 mmap2(0xb682a000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0x3) = 0xb682a000
11595 20:01:22.021279 close(12) = 0
11595 20:01:22.021484 munmap(0xb6836000, 21964) = 0
11595 20:01:22.021761 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 12
11595 20:01:22.021922 connect(12, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("0.0.0.0")}, 28) = 0
11595 20:01:22.022054 fcntl64(12, F_GETFL) = 0x2 (flags O_RDWR)
11595 20:01:22.022144 fcntl64(12, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11595 20:01:22.022238 gettimeofday({1195066882, 22284}, NULL) = 0
11595 20:01:22.022345 poll([{fd=12, events=POLLOUT, revents=POLLOUT}], 1, 0) =
1
11595 20:01:22.022464
send(12, "/9\1\0\0\1\0\0\0\0\0\0\0019\003196\003115\00277\7in-ad"..., 43, 0)
= 43
11595 20:01:22.023517 poll([{fd=12, events=POLLIN, revents=POLLIN}], 1, 5000)
= 1
11595 20:01:22.023688 ioctl(12, FIONREAD, [166]) = 0
11595 20:01:22.023839
recvfrom(12, "/9\201\200\0\1\0\1\0\4\0\0\0019\003196\003115\00277\7i"...,
1024, 0, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 166
11595 20:01:22.024112 close(12) = 0
11595 20:01:22.024382 getsockname(0, {sa_family=AF_INET, sin_port=htons(2000),
sin_addr=inet_addr("195.66.73.37")}, [16]) = 0
11595 20:01:22.024752 chdir("/tmp/") = 0
11595 20:01:22.025085 select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
11595 20:01:22.025224 write(1, "\"IMPLEMENTATION\" \"Cyrus timsieve"..., 211)
= 211
11595 20:01:22.025431 time(NULL) = 1195066882
11595 20:01:22.025516 select(1, [0], NULL, NULL, {1800, 0}) = 1 (in [0], left
{1790, 600000})
11595 20:01:31.424967 time(NULL) = 1195066891
11595 20:01:31.425103 read(0, "test\r\n", 4096) = 6
11595 20:01:31.425280 write(1, "NO \"Expected a command. Got some"..., 46) =
46
11595 20:01:31.425443 time(NULL) = 1195066891
11595 20:01:31.425529 select(1, [0], NULL, NULL, {1800, 0}) = 1 (in [0], left
{1800, 0})
11595 20:01:31.425643 time(NULL) = 1195066891
11595 20:01:31.425727 read(0, "", 4096) = 0
11595 20:01:31.425819 write(1, "OK \"Logout Complete\"\r\n", 22) = 22
11595 20:01:31.425963 munmap(0xb683c000, 114688) = 0
11595 20:01:31.426068 close(6) = 0
11595 20:01:31.426278 munmap(0xb6883000, 32768) = 0
11595 20:01:31.426398 munmap(0xb7a3f000, 98304) = 0
11595 20:01:31.426504 munmap(0xb688b000, 18563072) = 0
11595 20:01:31.426643 munmap(0xb7a57000, 663552) = 0
11595 20:01:31.426759 munmap(0xb7f0f000, 8192) = 0
11595 20:01:31.426886 open("/dev/null", O_RDWR) = 6
11595 20:01:31.427035 shutdown(0, 0 /* receive */) = 0
11595 20:01:31.427135 dup2(6, 0) = 0
11595 20:01:31.427222 shutdown(1, 0 /* receive */) = 0
11595 20:01:31.427326 dup2(6, 1) = 1
11595 20:01:31.427413 shutdown(2, 0 /* receive */) = 0
11595 20:01:31.427494 dup2(6, 2) = 2
11595 20:01:31.427646 close(6) = 0
11595 20:01:31.427961 exit_group(0) = ?
My cyrus.conf:
[root at black /tmp]# cat /etc/cyrus.conf
# standard standalone server implementation
START {
# do not delete these entries!
mboxlist cmd="ctl_mboxlist -r"
deliver cmd="ctl_deliver -r"
# this is only necessary if using idled for IMAP IDLE
# idled cmd="idled"
}
# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
# add or remove based on preferences
imap cmd="imapd -C /etc/imapd-noplaintext.conf" listen="imap"
prefork=0
imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d -C /etc/imapd-noplaintext.conf" listen="pop3"
prefork=0
pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved -D -C /etc/imapd-noplaintext.conf"
listen="sieve" prefork=0
# at least one LMTP is required for delivery
#lmtp cmd="lmtpd -a" listen="lmtp" prefork=0
lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=0
}
EVENTS {
# this is required
checkpoint cmd="ctl_cyrusdb -c" period=30
# this is only necessary if using duplicate delivery suppression
delprune cmd="ctl_deliver -E 3" period=1440
}
and imapd-noplaintext.conf:
[root at black /tmp]# cat /etc/imapd-noplaintext.conf
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: root
allowanonymouslogin: no
allowplaintext: 0
sieveuserhomedir: no
sievedir: /var/lib/imap/sieve
hashimapspool: yes
umask: 077
quotawarn: 90
timeout: 30
poptimeout: 10
defaultacl: anyone lrs
autocreatequota: 16000
sasl_pwcheck_method: auxprop
unixhierarchysep: yes
altnamespace: yes
defaultdomain: black.zork.pl
virtdomains: userid
debug_command: /usr/bin/strace -f -tt -o /tmp/strace.cyrus.%s.%d -p %2$d <&-
2>&1 &
#OE bug: Cannot subscribe to "Other Users" because Other Users are not
subscriable
allowallsubscribe: 1
# turn on only if server is inaccessable for users!
allowusermoves: 0
#SSL
<paths to certs here>
Regards,
Lukasz Michalski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20071114/482f3336/attachment-0001.bin
More information about the Info-cyrus
mailing list