segfault after upgrade

Steffen Vinther Sørensen svinther at gmail.com
Mon Nov 3 15:45:30 EST 2008


I recently updated a CentOS 4 installation using the CentOS package
manager "yum". the cyrus imapd and the dbd packages was upgraded along
with several other packages. After that there seems to be an issue
with the Cyrus imapd "shared" mailboxes (the ones where users needs to
subscribe in order to use)

I already tried rebuilding mailboxes.db, by dumping it as text and
restoring it, but with no luck. Any further advice would be very
welcome:


Here is all the info I can think of:

cyradm version request:
mail.somecompany.dk> version
name       : Cyrus IMAPD
version    : v2.2.12-Invoca-RPM-2.2.12-9.RHEL4 2005/02/14 16:43:51
vendor     : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os         : Linux
os-version : 2.6.9-78.0.5.ELsmp
environment: Built w/Cyrus SASL 2.1.19
             Running w/Cyrus SASL 2.1.19
             Built w/Sleepycat Software: Berkeley DB 4.2.52: (July 14, 2007)
             Running w/Sleepycat Software: Berkeley DB 4.2.52: (July 14, 2007)
             Built w/OpenSSL 0.9.7a Feb 19 2003
             Running w/OpenSSL 0.9.7a Feb 19 2003
             CMU Sieve 2.2
             TCP Wrappers
             mmap = shared
             lock = fcntl
             nonblock = fcntl
             auth = unix
             idle = poll


/var/log/messages gets this every time a user tries to connect:
mail kernel: imapd[13804]: segfault at 0000000000000000 rip
00000030d36705f2 rsp 0000007fbfffcc88 error 4



/var/log/maillog
Nov  3 21:34:05 mail imap[14118]: accepted connection
Nov  3 21:34:05 mail master[14144]: about to exec /usr/lib64/cyrus-imapd/imapd
Nov  3 21:34:05 mail imap[14144]: executed
Nov  3 21:34:05 mail imap[14118]: login: svs.somecompany.dk
[192.168.1.20] svs plaintext User logged in
Nov  3 21:34:05 mail master[31849]: process 14118 exited, signaled to
death by 11
Nov  3 21:34:05 mail master[31849]: service imap pid 14118 in BUSY
state: terminated abnormally



strace for imapd process having the segfault, using strace -ff -p
<pid> on the cyrus-master pid:
close(6)         = 0
setuid(76)                      = 0
dup2(16, 3)   = 3
dup2(14, 4) = 4
fcntl(3, F_GETFD)                               = 0
fcntl(3, F_SETFD, 0)         = 0
fcntl(4, F_GETFD)                      = 0
fcntl(3, F_SETFD, 0)   = 0
close(11) = 0
close(12)                               = 0
close(13)    = 0
close(17)                             = 0
close(18) = 0
close(19) = 0
close(23) = 0
close(24) = 0
close(25) = 0
close(29) = 0
close(30) = 0
close(31) = 0
close(35) = 0
close(36) = 0
close(37) = 0
close(41) = 0
close(42) = 0
close(43) = 0
close(14) = 0
close(15) = 0
close(16) = 0
close(20) = 0
close(21) = 0
close(22) = 0
close(26) = 0
close(27) = 0
close(28) = 0
close(32) = 0
close(33) = 0
close(34) = 0
close(38) = 0
close(39) = 0
close(40) = 0
setrlimit(RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
sendto(5, "<23>Nov  3 20:14:39 master[2634]"..., 76, MSG_NOSIGNAL, NULL, 0) = 76
execve("/usr/lib64/cyrus-imapd/imapd", ["imapd"...], [/* 8 vars */])      = 0
uname({sys="Linux", node="mail.somecompany.dk", ...}) = 0
brk(0)                               = 0x6f1000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)                                = 0x2a95556000
access("/etc/ld.so.preload", R_OK)                               = -1
ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=28401, ...}) = 0
mmap(NULL, 28401, PROT_READ, MAP_PRIVATE, 5, 0)
       = 0x2a95557000
close(5)                                = 0
open("/usr/lib64/libsasl2.so.2", O_RDONLY)                               = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360D\260\3230\0\0\0"...,
832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=97424, ...}) = 0
mmap(0x30d3b00000, 1141936, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0)           = 0x30d3b00000
mprotect(0x30d3b16000, 1051824, PROT_NONE)                         = 0
mmap(0x30d3c16000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x16000) = 0x30d3c16000
close(5)                             = 0
open("/lib64/libssl.so.4", O_RDONLY) = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\343@\3250\0\0\0"...,
832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=244288, ...}) = 0
mmap(0x30d5400000, 1291880, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0)              = 0x30d5400000
mprotect(0x30d5436000, 1070696, PROT_NONE) = 0
mmap(0x30d5536000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x36000)
        = 0x30d5536000
mmap(0x30d553b000, 1640, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x30d553b000
close(5)                               = 0
open("/lib64/libcrypto.so.4", O_RDONLY) = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\311\324\3240\0\0\0"...,
832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=1234328, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)                              = 0x2a9555e000
mmap(0x30d4d00000, 2295992, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0)                               =
0x30d4d00000
mprotect(0x30d4e0f000, 1185976, PROT_NONE)              = 0
mmap(0x30d4f0f000, 122880, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x10f000) = 0x30d4f0f000
mmap(0x30d4f2d000, 14520, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0)
 = 0x30d4f2d000
close(5) = 0
open("/lib64/tls/libdb-4.2.so", O_RDONLY)                              = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\0\302\3250\0\0\0"...,
832) = 832
lseek(5, 826144, SEEK_SET)              = 826144
read(5, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0\24\0\0\0",
32) = 32
fstat(5, {st_mode=S_IFREG|0755, st_size=912488, ...}) = 0
mmap(0x30d5c00000, 1957656, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x30d5c00000
mprotect(0x30d5cdb000, 1060632, PROT_NONE)                              = 0
mmap(0x30d5dda000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0xda000)
        = 0x30d5dda000
close(5)              = 0
open("/lib64/libcom_err.so.2", O_RDONLY) = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\fp\3240\0\0\0"...,
832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=10384, ...}) = 0
mmap(0x30d4700000, 1055000, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0)                               =
0x30d4700000
mprotect(0x30d4702000, 1046808, PROT_NONE) = 0
mmap(0x30d4801000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x1000)
     = 0x30d4801000
close(5) = 0
open("/usr/lib64/libwrap.so.0", O_RDONLY)                              = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240/`\3260\0\0\0"...,
832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=35880, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a9555f000
mmap(0x30d6600000, 1082592, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0)   = 0x30d6600000
mprotect(0x30d6608000, 1049824, PROT_NONE) = 0
mmap(0x30d6707000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x7000)
     = 0x30d6707000
mmap(0x30d6708000, 1248, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x30d6708000
close(5)                              = 0
open("/lib64/libnsl.so.1", O_RDONLY)                               = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`MP\3240\0\0\0"...,
832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=115016, ...}) = 0
mmap(0x30d4500000, 1145936, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0)                               =
0x30d4500000
mprotect(0x30d4515000, 1059920, PROT_NONE)                         = 0
mmap(0x30d4614000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x14000)
         = 0x30d4614000
mmap(0x30d4616000, 7248, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0)  = 0x30d4616000
close(5) = 0
open("/lib64/tls/libc.so.6", O_RDONLY)                              = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\304a\3230\0\0\0"...,
832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=1636504, ...}) = 0
mmap(0x30d3600000, 2326568, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x30d3600000
mprotect(0x30d372f000, 1085480, PROT_NONE) = 0
mmap(0x30d382f000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x12f000) = 0x30d382f000
mmap(0x30d3834000, 16424, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x30d3834000
close(5) = 0
open("/lib64/libdl.so.2", O_RDONLY) = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\17\220\3230\0\0\0"...,
832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=19816, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a95560000
mmap(0x30d3900000, 1056968, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x30d3900000
mprotect(0x30d3902000, 1048776, PROT_NONE) = 0
mmap(0x30d3a01000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x1000) = 0x30d3a01000
close(5) = 0
open("/lib64/libresolv.so.2", O_RDONLY) = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\24060\3240\0\0\0"...,
832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=93568, ...}) = 0
mmap(0x30d4300000, 1133256, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x30d4300000
mprotect(0x30d4311000, 1063624, PROT_NONE) = 0
mmap(0x30d4411000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x11000) = 0x30d4411000
mmap(0x30d4413000, 6856, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x30d4413000
close(5) = 0
open("/lib64/libcrypt.so.1", O_RDONLY) = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\v\360\3230\0\0\0"...,
832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=45488, ...}) = 0
mmap(0x30d3f00000, 1270208, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x30d3f00000
mprotect(0x30d3f08000, 1237440, PROT_NONE) = 0
mmap(0x30d4007000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x7000) = 0x30d4007000
mmap(0x30d4009000, 184768, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x30d4009000
close(5) = 0
open("/usr/lib64/libgssapi_krb5.so.2", O_RDONLY) = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340i\0\3250\0\0\0"...,
832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=93832, ...}) = 0
mmap(0x30d5000000, 1138224, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x30d5000000
mprotect(0x30d5015000, 1052208, PROT_NONE) = 0
mmap(0x30d5115000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x15000) = 0x30d5115000
close(5) = 0
open("/usr/lib64/libkrb5.so.3", O_RDONLY) = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340m!\3250\0\0\0"...,
832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=464040, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a95561000
mmap(0x30d5200000, 1509024, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x30d5200000
mprotect(0x30d526d000, 1062560, PROT_NONE) = 0
mmap(0x30d536d000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x6d000) = 0x30d536d000
close(5) = 0
open("/usr/lib64/libk5crypto.so.3", O_RDONLY) = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 at Q\260\3240\0\0\0"...,
832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=145456, ...}) = 0
mmap(0x30d4b00000, 1191432, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x30d4b00000
mprotect(0x30d4b22000, 1052168, PROT_NONE) = 0
mmap(0x30d4c21000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x21000) = 0x30d4c21000
close(5) = 0
open("/usr/lib64/libz.so.1", O_RDONLY) = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0
\37\320\3230\0\0\0"..., 832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=79336, ...}) = 0
mmap(0x30d3d00000, 1123752, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x30d3d00000
mprotect(0x30d3d13000, 1045928, PROT_NONE) = 0
mmap(0x30d3e12000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x12000) = 0x30d3e12000
close(5) = 0
open("/lib64/tls/libpthread.so.0", O_RDONLY) = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0
V\220\3240\0\0\0"..., 832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=130112, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a95562000
mmap(0x30d4900000, 1131384, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x30d4900000
mprotect(0x30d4910000, 1065848, PROT_NONE) = 0
mmap(0x30d4a0f000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0xf000) = 0x30d4a0f000
mmap(0x30d4a11000, 13176, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x30d4a11000
close(5) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a95563000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a95564000
mprotect(0x30d4614000, 4096, PROT_READ) = 0
mprotect(0x30d382f000, 12288, PROT_READ) = 0
mprotect(0x30d3a01000, 4096, PROT_READ) = 0
mprotect(0x30d4411000, 4096, PROT_READ) = 0
mprotect(0x30d4007000, 4096, PROT_READ) = 0
mprotect(0x30d4a0f000, 4096, PROT_READ) = 0
mprotect(0x30d3514000, 4096, PROT_READ) = 0
arch_prctl(ARCH_SET_FS, 0x2a95563b40) = 0
munmap(0x2a95557000, 28401) = 0
set_tid_address(0x2a95563bd0) = 2634
rt_sigaction(SIGRTMIN, {0x30d4905190, [], SA_RESTORER|SA_SIGINFO,
0x30d490c5b0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x30d4905210, [],
SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x30d490c5b0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0x7fbffffa90, 34, (nil), 0}) = 0
brk(0) = 0x6f1000
brk(0x712000)                               = 0x712000
open("/etc/imapd.conf", O_RDONLY)                      = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=379, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)                             = 0x2a95557000
read(5, "configdirectory: /var/imap\nparti"..., 4096) = 379
read(5, "", 4096) = 0
close(5) = 0
munmap(0x2a95557000, 4096) = 0
umask(077)            = 022
open("/etc/mtab", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=305, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a95557000
read(5, "/dev/sda3 / ext3 rw 0 0\nnone /pr"..., 4096) = 305
close(5)                              = 0
munmap(0x2a95557000, 4096)                              = 0
open("/proc/stat", O_RDONLY)                               = 5
fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)            = 0x2a95557000
read(5, "cpu  18958 6703 15569 400999 286"..., 1024) = 708
read(5, "", 1024)                     = 0
close(5) = 0
munmap(0x2a95557000, 4096)                              = 0
stat("/var/imap/db/DB_CONFIG", 0x7fbfffdbf0)                   = -1
ENOENT (No such file or directory)
open("/var/imap/db/DB_CONFIG", O_RDONLY)              = -1 ENOENT (No
such file or directory)
stat("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
stat("/var/imap/db/__db.001", {st_mode=S_IFREG|0600, st_size=16384, ...}) = 0
open("/var/imap/db/__db.001", O_RDWR)                = 5
fcntl(5, F_SETFD, FD_CLOEXEC) = 0
fstat(5, {st_mode=S_IFREG|0600, st_size=16384, ...}) = 0
close(5)                                = 0
open("/var/imap/db/__db.001", O_RDWR)   = 5
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) = 0x2a95557000
close(5)                                = 0
stat("/var/imap/db/__db.002", {st_mode=S_IFREG|0600, st_size=663552, ...}) = 0
open("/var/imap/db/__db.002", O_RDWR)   = 5
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
mmap(NULL, 663552, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) = 0x2a95565000
close(5)                                = 0
stat("/var/imap/db/__db.003", {st_mode=S_IFREG|0600, st_size=98304, ...}) = 0
open("/var/imap/db/__db.003", O_RDWR)   = 5
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
mmap(NULL, 98304, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) = 0x2a95607000
close(5)                                = 0
stat("/var/imap/db/__db.004", {st_mode=S_IFREG|0600, st_size=33628160, ...}) = 0
open("/var/imap/db/__db.004", O_RDWR)   = 5
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
mmap(NULL, 33628160, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) = 0x2a9561f000
close(5)                                = 0
stat("/var/imap/db/__db.005", {st_mode=S_IFREG|0600, st_size=32768, ...}) = 0
open("/var/imap/db/__db.005", O_RDWR)   = 5
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) = 0x2a97631000
close(5)                                = 0
open("/var/imap/db/skipstamp", O_RDONLY) = 5
read(5, "I\17L+", 4)                    = 4
close(5)                                = 0
open("/etc/localtime", O_RDONLY)        = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97639000
read(5, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0\0\0\0"...,
4096) = 766
close(5)                                = 0
munmap(0x2a97639000, 4096)              = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 5
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
connect(5, {sa_family=AF_FILE, path="/dev/log"}, 16) = 0
sendto(5, "<23>Nov  3 20:14:39 imap[2634]: "..., 40, MSG_NOSIGNAL, NULL, 0) = 40
fcntl(4, F_GETFD)                       = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
fcntl(3, F_GETFD)           = 0
fcntl(3, F_SETFD, FD_CLOEXEC)                      = 0
getsockopt(4, SOL_SOCKET, SO_TYPE, [17179869185], [4]) = 0
geteuid()                             = 76
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
getuid()                                = 76
geteuid() = 76
getgid() = 12
getegid()                               = 12
open("/usr/lib64/sasl2", O_RDONLY|O_NONBLOCK|O_DIRECTORY)            = 6
fstat(6, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(6, F_SETFD, FD_CLOEXEC) = 0
getdents64(6, /* 27 entries */, 4096)       = 1008
open("/usr/lib64/sasl2/libanonymous.la", O_RDONLY) = 11
fstat(11, {st_mode=S_IFREG|0755, st_size=903, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)                              = 0x2a97639000
read(11, "# libanonymous.la - a libtool li"..., 4096) = 903
close(11)                               = 0
munmap(0x2a97639000, 4096)              = 0
futex(0x30d3a020c4, FUTEX_WAKE, 2147483647)            = 0
open("/usr/lib64/sasl2/libanonymous.so.2", O_RDONLY) = 11
read(11, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\20\0\0\0\0\0\0"...,
832) = 832
fstat(11, {st_mode=S_IFREG|0755, st_size=15992, ...}) = 0
mmap(NULL, 1062736, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
11, 0)                  = 0x2a97639000
mprotect(0x2a9763d000, 1046352, PROT_NONE)                              = 0
mmap(0x2a9773c000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0x3000) = 0x2a9773c000
close(11) = 0
open("/usr/lib64/sasl2/libsasldb.la", O_RDONLY) = 11
close(11)                              = 0
open("/usr/lib64/sasl2/libanonymous.la", O_RDONLY) = 11
close(11) = 0
open("/usr/lib64/sasl2/libsasldb.la", O_RDONLY) = 11
fstat(11, {st_mode=S_IFREG|0755, st_size=948, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)      = 0x2a9773d000
read(11, "# libsasldb.la - a libtool libra"..., 4096) = 948
close(11)   = 0
munmap(0x2a9773d000, 4096)              = 0
open("/usr/lib64/sasl2/libsasldb.so.2", O_RDONLY) = 11
read(11, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\305\1\0\0\0\0\0"...,
832) = 832
fstat(11, {st_mode=S_IFREG|0755, st_size=827752, ...}) = 0
mmap(NULL, 1874512, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
11, 0) = 0x2a9773d000
mprotect(0x2a97804000, 1059408, PROT_NONE) = 0
mmap(0x2a97904000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0xc7000) = 0x2a97904000
close(11)                               = 0
open("/usr/lib64/sasl2/libcrammd5.la", O_RDONLY)
        = 11
fstat(11, {st_mode=S_IFREG|0755, st_size=891, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)          = 0x2a97907000
read(11, "# libcrammd5.la - a libtool libr"..., 4096) = 891
close(11)                = 0
munmap(0x2a97907000, 4096)                = 0
open("/usr/lib64/sasl2/libcrammd5.so.2", O_RDONLY) = 11
read(11, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\21\0\0\0\0\0\0"...,
832) = 832
fstat(11, {st_mode=S_IFREG|0755, st_size=19216, ...}) = 0
mmap(NULL, 1065968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
11, 0)                             = 0x2a97907000
mprotect(0x2a9790b000, 1049584, PROT_NONE)                               = 0
mmap(0x2a97a0b000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0x4000)          =
0x2a97a0b000
close(11)                        = 0
open("/usr/lib64/sasl2/libdigestmd5.la", O_RDONLY) = 11
fstat(11, {st_mode=S_IFREG|0755, st_size=912, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97a0c000
read(11, "# libdigestmd5.la - a libtool li"..., 4096) = 912
close(11) = 0
munmap(0x2a97a0c000, 4096) = 0
open("/usr/lib64/sasl2/libdigestmd5.so.2", O_RDONLY) = 11
read(11, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\33\0\0\0\0\0\0"...,
832) = 832
fstat(11, {st_mode=S_IFREG|0755, st_size=46552, ...}) = 0
mmap(NULL, 1093312, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
11, 0) = 0x2a97a0c000
mprotect(0x2a97a17000, 1048256, PROT_NONE) = 0
mmap(0x2a97b16000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0xa000) = 0x2a97b16000
close(11) = 0
open("/usr/lib64/sasl2/liblogin.la", O_RDONLY) = 11
close(11) = 0
open("/usr/lib64/sasl2/libcrammd5.la", O_RDONLY) = 11
close(11) = 0
open("/usr/lib64/sasl2/liblogin.la", O_RDONLY) = 11
fstat(11, {st_mode=S_IFREG|0755, st_size=879, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)             = 0x2a97b17000
read(11, "# liblogin.la - a libtool librar"..., 4096) = 879
close(11)                             = 0
munmap(0x2a97b17000, 4096) = 0
open("/usr/lib64/sasl2/liblogin.so.2", O_RDONLY)
       = 11
read(11, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\20\0\0\0\0\0\0"...,
832) = 832
fstat(11, {st_mode=S_IFREG|0755, st_size=16528, ...}) = 0
mmap(NULL, 1063280, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
11, 0)              = 0x2a97b17000
mprotect(0x2a97b1b000, 1046896, PROT_NONE)                                 = 0
mmap(0x2a97c1a000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0x3000)        = 0x2a97c1a000
close(11)                             = 0
open("/usr/lib64/sasl2/libplain.la", O_RDONLY)                              = 11
close(11)                              = 0
open("/usr/lib64/sasl2/libplain.la", O_RDONLY)
      = 11
fstat(11, {st_mode=S_IFREG|0755, st_size=879, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97c1b000
read(11, "# libplain.la - a libtool librar"..., 4096) = 879
close(11)                      = 0
munmap(0x2a97c1b000, 4096)          = 0
open("/usr/lib64/sasl2/libplain.so.2", O_RDONLY)
      = 11
read(11, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\20\0\0\0\0\0\0"...,
832) = 832
fstat(11, {st_mode=S_IFREG|0755, st_size=16560, ...}) = 0
mmap(NULL, 1063312, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
11, 0)                              = 0x2a97c1b000
mprotect(0x2a97c1f000, 1046928, PROT_NONE)                               = 0
mmap(0x2a97d1e000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0x3000)              =
0x2a97d1e000
close(11)      = 0
open("/usr/lib64/sasl2/libdigestmd5.la", O_RDONLY) = 11
close(11)                               = 0
getdents64(6, /* 0 entries */, 4096) = 0
close(6)                              = 0
getuid()                             = 76
geteuid() = 76
getgid() = 12
getegid() = 12
open("/usr/lib64/sasl2/Cyrus.conf", O_RDONLY)
     = -1 ENOENT (No such file or directory)
getuid() = 76
geteuid()             = 76
getgid() = 12
getegid() = 12
open("/usr/lib64/sasl2", O_RDONLY|O_NONBLOCK|O_DIRECTORY)                = 6
fstat(6, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(6, F_SETFD, FD_CLOEXEC)                = 0
getdents64(6, /* 27 entries */, 4096) = 1008
open("/usr/lib64/sasl2/libanonymous.la", O_RDONLY) = 11
fstat(11, {st_mode=S_IFREG|0755, st_size=903, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97d1f000
read(11, "# libanonymous.la - a libtool li"..., 4096) = 903
close(11) = 0
munmap(0x2a97d1f000, 4096) = 0
open("/usr/lib64/sasl2/libsasldb.la", O_RDONLY) = 11
close(11) = 0
open("/usr/lib64/sasl2/libanonymous.la", O_RDONLY) = 11
close(11) = 0
open("/usr/lib64/sasl2/libsasldb.la", O_RDONLY) = 11
fstat(11, {st_mode=S_IFREG|0755, st_size=948, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97d1f000
read(11, "# libsasldb.la - a libtool libra"..., 4096) = 948
close(11) = 0
munmap(0x2a97d1f000, 4096) = 0
open("/usr/lib64/sasl2/libcrammd5.la", O_RDONLY) = 11
fstat(11, {st_mode=S_IFREG|0755, st_size=891, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97d1f000
read(11, "# libcrammd5.la - a libtool libr"..., 4096) = 891
close(11) = 0
munmap(0x2a97d1f000, 4096) = 0
open("/usr/lib64/sasl2/libdigestmd5.la", O_RDONLY) = 11
fstat(11, {st_mode=S_IFREG|0755, st_size=912, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97d1f000
read(11, "# libdigestmd5.la - a libtool li"..., 4096) = 912
close(11) = 0
munmap(0x2a97d1f000, 4096) = 0
open("/usr/lib64/sasl2/liblogin.la", O_RDONLY) = 11
close(11) = 0
open("/usr/lib64/sasl2/libcrammd5.la", O_RDONLY) = 11
close(11) = 0
open("/usr/lib64/sasl2/liblogin.la", O_RDONLY) = 11
fstat(11, {st_mode=S_IFREG|0755, st_size=879, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97d1f000
read(11, "# liblogin.la - a libtool librar"..., 4096) = 879
close(11) = 0
munmap(0x2a97d1f000, 4096) = 0
open("/usr/lib64/sasl2/libplain.la", O_RDONLY) = 11
close(11) = 0
open("/usr/lib64/sasl2/libplain.la", O_RDONLY) = 11
fstat(11, {st_mode=S_IFREG|0755, st_size=879, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97d1f000
read(11, "# libplain.la - a libtool librar"..., 4096) = 879
close(11) = 0
munmap(0x2a97d1f000, 4096) = 0
open("/usr/lib64/sasl2/libdigestmd5.la", O_RDONLY) = 11
close(11) = 0
getdents64(6, /* 0 entries */, 4096) = 0
close(6) = 0
open("/var/imap/mailboxes.db", O_RDWR) = 6
fcntl(6, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(6, {st_mode=S_IFREG|0600, st_size=113472, ...}) = 0
stat("/var/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=113472, ...}) = 0
mmap(NULL, 122880, PROT_READ, MAP_SHARED, 6, 0) = 0x2a97d1f000
fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
stat("/var/imap", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
open("/var/imap/annotations.db", O_RDWR) = 11
fcntl(11, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(11, {st_mode=S_IFREG|0600, st_size=144, ...}) = 0
stat("/var/imap/annotations.db", {st_mode=S_IFREG|0600, st_size=144, ...}) = 0
mmap(NULL, 16384, PROT_READ, MAP_SHARED, 11, 0) = 0x2a97d3d000
fcntl(11, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
stat("/usr/lib64/cyrus-imapd/imapd", {st_mode=S_IFREG|0755,
st_size=988672, ...}) = 0
open("/var/imap/socket/imap-1.lock", O_RDWR|O_CREAT, 0600) = 12
rt_sigaction(SIGALRM, {0x43b6e0, [], SA_RESTORER|SA_ONESHOT,
0x30d362e300}, NULL, 8) = 0
rt_sigaction(SIGHUP, {0x43b6e0, [], SA_RESTORER|SA_RESTART|SA_ONESHOT,
0x30d362e300}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x43b6e0, [], SA_RESTORER|SA_RESTART|SA_ONESHOT,
0x30d362e300}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x43b6e0, [],
SA_RESTORER|SA_RESTART|SA_ONESHOT, 0x30d362e300}, NULL, 8) = 0
fcntl(12, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
stat("/usr/lib64/cyrus-imapd/imapd", {st_mode=S_IFREG|0755,
st_size=988672, ...}) = 0
accept(4, 0, NULL) = 13
fcntl(12, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 0
getpeername(13, {sa_family=AF_INET, sin_port=htons(36806),
sin_addr=inet_addr("192.168.1.20")}, [16]) = 0
getpeername(13, {sa_family=AF_INET, sin_port=htons(36806),
sin_addr=inet_addr("192.168.1.20")}, [16]) = 0
getsockname(13, {sa_family=AF_INET, sin_port=htons(143),
sin_addr=inet_addr("83.95.34.26")}, [16]) = 0
open("/etc/hosts.allow", O_RDONLY) = 14
fstat(14, {st_mode=S_IFREG|0644, st_size=372, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97d41000
read(14, "#\n# hosts.allow\tThis file contai"..., 4096) = 372
read(14, "", 4096) = 0
close(14) = 0
munmap(0x2a97d41000, 4096) = 0
open("/etc/hosts.deny", O_RDONLY) = 14
fstat(14, {st_mode=S_IFREG|0644, st_size=643, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97d41000
read(14, "#\n# hosts.deny\tThis file contain"..., 4096) = 643
read(14, "", 4096) = 0
close(14)                               = 0
munmap(0x2a97d41000, 4096) = 0
write(3, "\2\0\0\0J\n\0\0", 8)                             = 8
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
sendto(5, "<23>Nov  3 20:14:40 imap[2634]: "..., 51, MSG_NOSIGNAL,
NULL, 0)              = 51
dup2(13, 0) = 0
dup2(13, 1)                              = 1
dup2(13, 2)                             = 2
close(13) = 0
write(3, "\3\0\0\0J\n\0\0", 8) = 8
getpeername(0, {sa_family=AF_INET, sin_port=htons(36806),
sin_addr=inet_addr("192.168.1.20")}, [16]) = 0
socket(PF_FILE, SOCK_STREAM, 0)                               = 13
fcntl(13, F_GETFL)                      = 0x2 (flags O_RDWR)
fcntl(13, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
connect(13, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) =
-1 ENOENT (No such file or directory)
close(13) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 13
fcntl(13, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(13, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) =
-1 ENOENT (No such file or directory)
close(13) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 13
fstat(13, {st_mode=S_IFREG|0644, st_size=1623, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97d41000
read(13, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1623
read(13, "", 4096) = 0
close(13) = 0
munmap(0x2a97d41000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 13
fstat(13, {st_mode=S_IFREG|0644, st_size=28401, ...}) = 0
mmap(NULL, 28401, PROT_READ, MAP_PRIVATE, 13, 0) = 0x2a97d41000
close(13) = 0
open("/lib64/libnss_files.so.2", O_RDONLY)                               = 13
read(13, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\"\0\0\0\0\0\0"...,
832) = 832
fstat(13, {st_mode=S_IFREG|0755, st_size=58888, ...}) = 0
mmap(NULL, 1094952, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
13, 0)                               = 0x2a97d48000
mprotect(0x2a97d52000, 1053992, PROT_NONE)                               = 0
mmap(0x2a97e52000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 13, 0xa000)
        = 0x2a97e52000
close(13)                               = 0
mprotect(0x2a97e52000, 4096, PROT_READ)                               = 0
munmap(0x2a97d41000, 28401)                               = 0
open("/etc/resolv.conf", O_RDONLY)                               = 13
fstat(13, {st_mode=S_IFREG|0644, st_size=48, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)                               = 0x2a97d41000
read(13, "nameserver 192.168.1.52\nnameserv"..., 4096) = 48
read(13, "", 4096)                       = 0
close(13)                               = 0
munmap(0x2a97d41000, 4096)              = 0
uname({sys="Linux", node="mail.somecompany.dk", ...}) = 0
open("/etc/host.conf", O_RDONLY) = 13
fstat(13, {st_mode=S_IFREG|0644, st_size=17, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97d41000
read(13, "order hosts,bind\n", 4096) = 17
read(13, "", 4096) = 0
close(13) = 0
munmap(0x2a97d41000, 4096) = 0
futex(0x30d3836aa0, FUTEX_WAKE, 2147483647) = 0
open("/etc/hosts", O_RDONLY) = 13
fcntl(13, F_GETFD) = 0
fcntl(13, F_SETFD, FD_CLOEXEC) = 0
fstat(13, {st_mode=S_IFREG|0644, st_size=167, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97d41000
read(13, "# Do not remove the following li"..., 4096) = 167
read(13, "", 4096) = 0
close(13) = 0
munmap(0x2a97d41000, 4096)              = 0
open("/etc/ld.so.cache", O_RDONLY)                               = 13
fstat(13, {st_mode=S_IFREG|0644, st_size=28401, ...}) = 0
mmap(NULL, 28401, PROT_READ, MAP_PRIVATE, 13, 0) = 0x2a97d41000
close(13) = 0
open("/lib64/libnss_dns.so.2", O_RDONLY) = 13
read(13, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\22\0\0\0\0\0\0"...,
832) = 832
fstat(13, {st_mode=S_IFREG|0755, st_size=24640, ...}) = 0
mmap(NULL, 1065224, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
13, 0) = 0x2a97e54000
mprotect(0x2a97e58000, 1048840, PROT_NONE) = 0
mmap(0x2a97f57000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 13, 0x3000) = 0x2a97f57000
close(13)                               = 0
mprotect(0x2a97f57000, 4096, PROT_READ) = 0
munmap(0x2a97d41000, 28401)             = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 13
connect(13, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("192.168.1.52")}, 28) = 0
fcntl(13, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0
poll([{fd=13, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
sendto(13, "\10K\1\0\0\1\0\0\0\0\0\0\00220\0011\003168\003192\7in-add"...,
43, MSG_NOSIGNAL, NULL, 0) = 43
poll([{fd=13, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(13, FIONREAD, [107])                      = 0
recvfrom(13, "\10K\205\200\0\1\0\1\0\1\0\1\00220\0011\003168\003192\7in-add"...,
1024, 0, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("192.168.1.52")}, [16]) = 107
close(13)                              = 0
getsockname(0, {sa_family=AF_INET, sin_port=htons(143),
sin_addr=inet_addr("83.95.34.26")}, [3328785957196398608]) = 0
open("/var/imap/proc/2634", O_RDWR|O_CREAT|O_TRUNC, 0666)              = 13
fstat(13, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)                             = 0x2a97d41000
lseek(13, 0, SEEK_SET) = 0
write(13, "svs.somecompany.dk [192.168.1.20]\n", 29)
           = 29
lseek(13, 0, SEEK_CUR)                               = 29
ftruncate(13, 29)              = 0
open("/var/imap/msg/motd", O_RDONLY) = -1 ENOENT (No such file or directory)
select(1, [0], NULL, NULL, {0, 0})                               = 0 (Timeout)
write(1, "* OK mail.somecompany.dk Cyrus IMAP4 "..., 80) = 80
select(1, [0], NULL, NULL, {1800, 0})                               =
1 (in [0], left {1799, 999000})
read(0, "1 capability\r\n", 4096) = 14
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
write(1, "* CAPABILITY IMAP4 IMAP4rev1 ACL"..., 265)
            = 265
select(1, [0], NULL, NULL, {1800, 0})     = 1 (in [0], left {1799, 997000})
read(0, "2 login \"svs\" \"xxxxxxxx\"\r\n", 4096) = 26
open("/etc/mtab", O_RDONLY) = 14
fstat(14, {st_mode=S_IFREG|0644, st_size=305, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97d42000
read(14, "/dev/sda3 / ext3 rw 0 0\nnone /pr"..., 4096) = 305
close(14)                                = 0
munmap(0x2a97d42000, 4096) = 0
open("/proc/stat", O_RDONLY)                               = 14
fstat(14, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97d42000
read(14, "cpu  18965 6703 15585 401045 286"..., 1024) = 708
read(14, "", 1024) = 0
close(14)                                = 0
munmap(0x2a97d42000, 4096)  = 0
stat("/etc/sasldb2", {st_mode=S_IFREG|0640, st_size=12288, ...}) = 0
open("/etc/sasldb2", O_RDONLY) = 14
fcntl(14, F_SETFD, FD_CLOEXEC) = 0
read(14, "\0\0\0\0\0\0\0\0\0\0\0\0a\25\6\0\7\0\0\0\0\20\0\0\0\10\0\0\0\0\0\0"...,
512) = 512
close(14) = 0
stat("DB_CONFIG", 0x7fbfffaaa0) = -1 ENOENT (No such file or directory)
open("DB_CONFIG", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
stat("__db.002", 0x7fbfffab40)                  = -1 ENOENT (No such
file or directory)
mmap(NULL, 274432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x2a97f59000
open("/etc/sasldb2", O_RDONLY) = 14
fcntl(14, F_SETFD, FD_CLOEXEC) = 0
fstat(14, {st_mode=S_IFREG|0640, st_size=12288, ...}) = 0
pread(14, "\0\0\0\0\0\0\0\0\0\0\0\0a\25\6\0\7\0\0\0\0\20\0\0\0\10\0\0\0\0\0\0"...,
4096, 0) = 4096
pread(14, "\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0L\0\240\t\0\2\336\17\331\17\270\17"...,
4096, 4096) = 4096
close(14) = 0
munmap(0x2a97f59000, 274432) = 0
open("/etc/mtab", O_RDONLY) = 14
fstat(14, {st_mode=S_IFREG|0644, st_size=305, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97f59000
read(14, "/dev/sda3 / ext3 rw 0 0\nnone /pr"..., 4096) = 305
close(14) = 0
munmap(0x2a97f59000, 4096) = 0
open("/proc/stat", O_RDONLY) = 14
fstat(14, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97f59000
read(14, "cpu  18965 6703 15586 401045 286"..., 1024) = 708
read(14, "", 1024)                       = 0
close(14)                              = 0
munmap(0x2a97f59000, 4096) = 0
stat("/etc/sasldb2", {st_mode=S_IFREG|0640, st_size=12288, ...}) = 0
open("/etc/sasldb2", O_RDONLY) = 14
fcntl(14, F_SETFD, FD_CLOEXEC)                                = 0
read(14, "\0\0\0\0\0\0\0\0\0\0\0\0a\25\6\0\7\0\0\0\0\20\0\0\0\10\0\0\0\0\0\0"...,
512) = 512
close(14)                               = 0
stat("DB_CONFIG", 0x7fbfffaaa0)                  = -1 ENOENT (No such
file or directory)
open("DB_CONFIG", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
stat("__db.002", 0x7fbfffab40) = -1 ENOENT (No such file or directory)
mmap(NULL, 274432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x2a97f59000
open("/etc/sasldb2", O_RDONLY) = 14
fcntl(14, F_SETFD, FD_CLOEXEC)                                = 0
fstat(14, {st_mode=S_IFREG|0640, st_size=12288, ...}) = 0
pread(14, "\0\0\0\0\0\0\0\0\0\0\0\0a\25\6\0\7\0\0\0\0\20\0\0\0\10\0\0\0\0\0\0"...,
4096, 0) = 4096
pread(14, "\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0L\0\240\t\0\2\336\17\331\17\270\17"...,
4096, 4096) = 4096
close(14) = 0
munmap(0x2a97f59000, 274432) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 14
fcntl(14, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(14, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(14, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) =
-1 ENOENT (No such file or directory)
close(14) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 14
fcntl(14, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(14, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(14, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) =
-1 ENOENT (No such file or directory)
close(14) = 0
open("/etc/passwd", O_RDONLY) = 14
fcntl(14, F_GETFD) = 0
fcntl(14, F_SETFD, FD_CLOEXEC) = 0
fstat(14, {st_mode=S_IFREG|0644, st_size=1676, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97f59000
read(14, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1676
read(14, "", 4096) = 0
close(14) = 0
munmap(0x2a97f59000, 4096) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 14
fcntl(14, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(14, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(14, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) =
-1 ENOENT (No such file or directory)
close(14) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 14
fcntl(14, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(14, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(14, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) =
-1 ENOENT (No such file or directory)
close(14) = 0
open("/etc/group", O_RDONLY) = 14
fcntl(14, F_GETFD)                               = 0
fcntl(14, F_SETFD, FD_CLOEXEC)                               = 0
fstat(14, {st_mode=S_IFREG|0644, st_size=699, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)              = 0x2a97f59000
lseek(14, 0, SEEK_CUR)        = 0
read(14, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 699
read(14, "", 4096) = 0
close(14) = 0
munmap(0x2a97f59000, 4096) = 0
open("/etc/group", O_RDONLY) = 14
fcntl(14, F_GETFD) = 0
fcntl(14, F_SETFD, FD_CLOEXEC) = 0
fstat(14, {st_mode=S_IFREG|0644, st_size=699, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97f59000
lseek(14, 0, SEEK_CUR) = 0
read(14, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 699
read(14, "", 4096) = 0
close(14) = 0
munmap(0x2a97f59000, 4096) = 0
open("/etc/group", O_RDONLY) = 14
fcntl(14, F_GETFD) = 0
fcntl(14, F_SETFD, FD_CLOEXEC) = 0
fstat(14, {st_mode=S_IFREG|0644, st_size=699, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97f59000
read(14, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 699
close(14)         = 0
munmap(0x2a97f59000, 4096)   = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
sendto(5, "<21>Nov  3 20:14:40 imap[2634]: "..., 96, MSG_NOSIGNAL, NULL, 0) = 96
open("/etc/passwd", O_RDONLY) = 14
fcntl(14, F_GETFD) = 0
fcntl(14, F_SETFD, FD_CLOEXEC) = 0
fstat(14, {st_mode=S_IFREG|0644, st_size=1676, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)      = 0x2a97f59000
read(14, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1676
read(14, "", 4096)                       = 0
close(14)                                = 0
munmap(0x2a97f59000, 4096)                               = 0
open("/etc/group", O_RDONLY) = 14
fcntl(14, F_GETFD) = 0
fcntl(14, F_SETFD, FD_CLOEXEC) = 0
fstat(14, {st_mode=S_IFREG|0644, st_size=699, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97f59000
lseek(14, 0, SEEK_CUR)                             = 0
read(14, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 699
read(14, "", 4096)                      = 0
close(14)                               = 0
munmap(0x2a97f59000, 4096)              = 0
open("/etc/group", O_RDONLY) = 14
fcntl(14, F_GETFD)                      = 0
fcntl(14, F_SETFD, FD_CLOEXEC) = 0
fstat(14, {st_mode=S_IFREG|0644, st_size=699, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97f59000
lseek(14, 0, SEEK_CUR) = 0
read(14, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 699
read(14, "", 4096) = 0
close(14)                               = 0
munmap(0x2a97f59000, 4096)              = 0
open("/etc/group", O_RDONLY)            = 14
fcntl(14, F_GETFD)                      = 0
fcntl(14, F_SETFD, FD_CLOEXEC)          = 0
fstat(14, {st_mode=S_IFREG|0644, st_size=699, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a97f59000
read(14, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 699
close(14) = 0
munmap(0x2a97f59000, 4096) = 0
open("/var/imap/log/svs/2634", O_WRONLY|O_CREAT|O_APPEND, 0644) = -1
ENOENT (No such file or directory)
open("/var/imap/msg/shutdown", O_RDONLY) = -1 ENOENT (No such file or directory)
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
write(1, "2 OK User logged in\r\n", 21) = 21
select(1, [0], NULL, NULL, {1800, 0}) = 1 (in [0], left {1800, 0})
read(0, "3 select \"user.ecivrese-fejl\"\r\n", 4096) = 31
fcntl(6, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(6, {st_mode=S_IFREG|0600, st_size=113472, ...}) = 0
stat("/var/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=113472, ...}) = 0
fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 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=113472, ...}) = 0
stat("/var/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=113472, ...}) = 0
fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
open("/var/spool/imap/user/ecivrese-fejl/cyrus.header", O_RDWR) = 14
fstat(14, {st_mode=S_IFREG|0600, st_size=182, ...}) = 0
mmap(NULL, 182, PROT_READ, MAP_SHARED, 14, 0) = 0x2a97f59000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---


More information about the Info-cyrus mailing list