lmtp access denied issue
James A. Pattie
james at pcxperience.com
Mon Dec 22 10:47:33 EST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
James Pattie wrote:
| Hi guys,
|
| Twice now in the last 3 days I've had sendmail stop being able to
| deliver
| e-mails to cyrus via the unix lmtp mechanism.
|
| I'm on Debian testing, with sendmail 8.12.9-5, cyrus21 2.1.14-1
| packages.
|
| The other day I found that the /var/run/cyrus/socket/lmtp socket had
| become
| owned by root.root. When I changed it to cyrus.mail then mail started
| flowing
| again. Today, the same thing is happening, except when I re-changed the
| permissions mail is still not flowing. If I manually set the
| permissions to be
| cyrus.mail and then restart cyrus, a couple seconds after cyrus comes
| back up
| the permissions flop back to root.root.
|
| Does anyone have a clue as to why this is happening and how to solve
| this issue
| permanently?
|
| I've double checked all the socket definitions in sendmail.mc and
| cyrus.conf to
| make sure that they are all pointing to the right locations. cyrus is the
| trusted user in sendmail (if that helps).
|
|
| Thanks,
The issue has come back. Doing a netstat doesn't show the socket being listened
on, though the notifyd socket does show up.
I enabled Debugging for lmtpd and had it do an strace and this is what is captured:
09:36:33.169602 waitpid(26406, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0) = 26406
09:36:33.177272 rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
09:36:33.177501 rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
09:36:33.177664 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
09:36:33.177834 --- SIGCHLD (Child exited) ---
09:36:33.177945 time([1072107393]) = 1072107393
09:36:33.178146 getpid() = 26404
09:36:33.178302 rt_sigaction(SIGPIPE, {0x402e6260, [], 0x4000000}, {SIG_DFL}, 8) = 0
09:36:33.178507 send(5, "<23>Dec 22 09:36:33 cyrus/lmtpun"..., 75, 0) = 75
09:36:33.178991 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
09:36:33.179162 time([1072107393]) = 1072107393
09:36:33.179329 getpid() = 26404
09:36:33.179481 rt_sigaction(SIGPIPE, {0x402e6260, [], 0x4000000}, {SIG_DFL}, 8) = 0
09:36:33.179682 send(5, "<23>Dec 22 09:36:33 cyrus/lmtpun"..., 51, 0) = 51
09:36:33.180158 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
09:36:33.180351 fcntl64(4, F_GETFD) = 0
09:36:33.180505 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
09:36:33.180649 fcntl64(3, F_GETFD) = 0
09:36:33.180794 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
09:36:33.180963 getsockopt(4, SOL_SOCKET, SO_TYPE, [1], [4]) = 0
09:36:33.181156 close(5) = 0
09:36:33.181340 geteuid32() = 104
09:36:33.181515 rt_sigaction(SIGHUP, {0x8066dec, [],
SA_RESTART|SA_ONESHOT|0x4000000}, NULL, 8) = 0
09:36:33.181699 rt_sigaction(SIGINT, {0x8066dec, [],
SA_RESTART|SA_ONESHOT|0x4000000}, NULL, 8) = 0
09:36:33.181879 rt_sigaction(SIGQUIT, {0x8066dec, [],
SA_RESTART|SA_ONESHOT|0x4000000}, NULL, 8) = 0
09:36:33.182077 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
09:36:33.182689 open("/usr/lib/sasl2/Cyrus.conf", O_RDONLY) = -1 ENOENT (No such
file or directory)
09:36:33.183065 open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR
(Not a directory)
09:36:33.183243 open("/usr/lib/sasl2",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
09:36:33.183416 fstat64(5, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
09:36:33.183669 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
09:36:33.183857 getdents64(0x5, 0x8112ac0, 0x1000, 0x4033a440) = 1472
09:36:33.184143 open("/usr/lib/sasl2/libsasldb.la", O_RDONLY) = 6
09:36:33.184375 fstat64(6, {st_mode=S_IFREG|0644, st_size=740, ...}) = 0
09:36:33.184601 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
09:36:33.184804 read(6, "# libsasldb.la - a libtool libra"..., 4096) = 740
09:36:33.185072 close(6) = 0
09:36:33.185221 munmap(0x40015000, 4096) = 0
09:36:33.185492 open("/usr/lib/sasl2/libsasldb.so.2", O_RDONLY) = 6
09:36:33.185714 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\370\r\0"..., 512) = 512
09:36:33.185946 fstat64(6, {st_mode=S_IFREG|0644, st_size=13756, ...}) = 0
09:36:33.186181 old_mmap(NULL, 16816, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) =
0x40015000
09:36:33.186381 old_mmap(0x40019000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x3000) = 0x40019000
09:36:33.186617 close(6) = 0
09:36:33.187177 open("/usr/lib/sasl2/libcrammd5.la", O_RDONLY) = 6
09:36:33.187387 fstat64(6, {st_mode=S_IFREG|0644, st_size=738, ...}) = 0
09:36:33.187646 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001a000
09:36:33.187842 read(6, "# libcrammd5.la - a libtool libr"..., 4096) = 738
09:36:33.188066 close(6) = 0
09:36:33.188212 munmap(0x4001a000, 4096) = 0
09:36:33.188388 open("/usr/lib/sasl2/libcrammd5.so.2", O_RDONLY) = 6
09:36:33.188603 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0008\r\0"..., 512) = 512
09:36:33.188827 fstat64(6, {st_mode=S_IFREG|0644, st_size=13832, ...}) = 0
09:36:33.189059 old_mmap(NULL, 12796, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) =
0x40341000
09:36:33.189260 old_mmap(0x40344000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x3000) = 0x40344000
09:36:33.189482 close(6) = 0
09:36:33.189895 open("/usr/lib/sasl2/libdigestmd5.la", O_RDONLY) = 6
09:36:33.190129 fstat64(6, {st_mode=S_IFREG|0644, st_size=761, ...}) = 0
09:36:33.190353 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001a000
09:36:33.190618 read(6, "# libdigestmd5.la - a libtool li"..., 4096) = 761
09:36:33.190845 close(6) = 0
09:36:33.190991 munmap(0x4001a000, 4096) = 0
09:36:33.191168 open("/usr/lib/sasl2/libdigestmd5.so.2", O_RDONLY) = 6
09:36:33.191388 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\22\0"..., 512) = 512
09:36:33.191615 fstat64(6, {st_mode=S_IFREG|0644, st_size=38904, ...}) = 0
09:36:33.191847 old_mmap(NULL, 41964, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) =
0x40345000
09:36:33.192046 old_mmap(0x4034f000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x9000) = 0x4034f000
09:36:33.192274 close(6) = 0
09:36:33.192854 open("/usr/lib/sasl2/libotp.la", O_RDONLY) = 6
09:36:33.193073 fstat64(6, {st_mode=S_IFREG|0644, st_size=726, ...}) = 0
09:36:33.193296 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001a000
09:36:33.193492 read(6, "# libotp.la - a libtool library "..., 4096) = 726
09:36:33.193718 close(6) = 0
09:36:33.193864 munmap(0x4001a000, 4096) = 0
09:36:33.194087 open("/usr/lib/sasl2/libotp.so.2", O_RDONLY) = 6
09:36:33.194309 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\34\0\000"..., 512) = 512
09:36:33.194537 fstat64(6, {st_mode=S_IFREG|0644, st_size=39116, ...}) = 0
09:36:33.194793 old_mmap(NULL, 42176, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) =
0x40350000
09:36:33.194993 old_mmap(0x40358000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x7000) = 0x40358000
09:36:33.195218 close(6) = 0
09:36:33.196290 open("/usr/lib/sasl2/libanonymous.la", O_RDONLY) = 6
09:36:33.196508 fstat64(6, {st_mode=S_IFREG|0644, st_size=752, ...}) = 0
09:36:33.196733 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001a000
09:36:33.196930 read(6, "# libanonymous.la - a libtool li"..., 4096) = 752
09:36:33.197157 close(6) = 0
09:36:33.197303 munmap(0x4001a000, 4096) = 0
09:36:33.197483 open("/usr/lib/sasl2/libanonymous.so.2", O_RDONLY) = 6
09:36:33.197702 read(6,
"\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
09:36:33.197929 fstat64(6, {st_mode=S_IFREG|0644, st_size=10864, ...}) = 0
09:36:33.198161 old_mmap(NULL, 13924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) =
0x4035b000
09:36:33.198362 old_mmap(0x4035e000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x2000) = 0x4035e000
09:36:33.198587 close(6) = 0
09:36:33.198968 open("/usr/lib/sasl2/libplain.la", O_RDONLY) = 6
09:36:33.199173 fstat64(6, {st_mode=S_IFREG|0644, st_size=732, ...}) = 0
09:36:33.199397 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001a000
09:36:33.199593 read(6, "# libplain.la - a libtool librar"..., 4096) = 732
09:36:33.199818 close(6) = 0
09:36:33.199964 munmap(0x4001a000, 4096) = 0
09:36:33.200166 open("/usr/lib/sasl2/libplain.so.2", O_RDONLY) = 6
09:36:33.200382 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\354\v\0"..., 512) = 512
09:36:33.200607 fstat64(6, {st_mode=S_IFREG|0644, st_size=11232, ...}) = 0
09:36:33.200839 old_mmap(NULL, 14292, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) =
0x4035f000
09:36:33.201433 old_mmap(0x40362000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x2000) = 0x40362000
09:36:33.201673 close(6) = 0
09:36:33.201853 open("/etc/ld.so.cache", O_RDONLY) = 6
09:36:33.202031 fstat64(6, {st_mode=S_IFREG|0644, st_size=26256, ...}) = 0
09:36:33.202259 old_mmap(NULL, 26256, PROT_READ, MAP_PRIVATE, 6, 0) = 0x40363000
09:36:33.202449 close(6) = 0
09:36:33.202619 open("/lib/libcrypt.so.1", O_RDONLY) = 6
09:36:33.202808 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\t\0"..., 512) = 512
09:36:33.203039 fstat64(6, {st_mode=S_IFREG|0644, st_size=18348, ...}) = 0
09:36:33.203273 old_mmap(NULL, 181244, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) =
0x4036a000
09:36:33.203475 old_mmap(0x4036f000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x4000) = 0x4036f000
09:36:33.203780 old_mmap(0x40370000, 156668, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40370000
09:36:33.203987 close(6) = 0
09:36:33.204494 munmap(0x40363000, 26256) = 0
09:36:33.204701 open("/usr/lib/sasl2/liblogin.la", O_RDONLY) = 6
09:36:33.204904 fstat64(6, {st_mode=S_IFREG|0644, st_size=732, ...}) = 0
09:36:33.205127 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001a000
09:36:33.205323 read(6, "# liblogin.la - a libtool librar"..., 4096) = 732
09:36:33.205549 close(6) = 0
09:36:33.205695 munmap(0x4001a000, 4096) = 0
09:36:33.205877 open("/usr/lib/sasl2/liblogin.so.2", O_RDONLY) = 6
09:36:33.206095 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\334\v\0"..., 512) = 512
09:36:33.206320 fstat64(6, {st_mode=S_IFREG|0644, st_size=11260, ...}) = 0
09:36:33.206564 old_mmap(NULL, 14320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) =
0x40363000
09:36:33.206769 old_mmap(0x40366000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x2000) = 0x40366000
09:36:33.207003 close(6) = 0
09:36:33.207399 open("/usr/lib/sasl2/libntlm.la", O_RDONLY) = 6
09:36:33.207605 fstat64(6, {st_mode=S_IFREG|0644, st_size=726, ...}) = 0
09:36:33.207828 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001a000
09:36:33.208023 read(6, "# libntlm.la - a libtool library"..., 4096) = 726
09:36:33.208247 close(6) = 0
09:36:33.208392 munmap(0x4001a000, 4096) = 0
09:36:33.208575 open("/usr/lib/sasl2/libntlm.so.2", O_RDONLY) = 6
09:36:33.208789 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\204\r\0"..., 512) = 512
09:36:33.209014 fstat64(6, {st_mode=S_IFREG|0644, st_size=16208, ...}) = 0
09:36:33.209245 old_mmap(NULL, 19268, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) =
0x40397000
09:36:33.209447 old_mmap(0x4039b000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x3000) = 0x4039b000
09:36:33.209671 close(6) = 0
09:36:33.210122 open("/usr/lib/sasl2/libmysql.la", O_RDONLY) = 6
09:36:33.210329 fstat64(6, {st_mode=S_IFREG|0644, st_size=784, ...}) = 0
09:36:33.210552 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001a000
09:36:33.210747 read(6, "# libmysql.la - a libtool librar"..., 4096) = 784
09:36:33.210971 close(6) = 0
09:36:33.211117 munmap(0x4001a000, 4096) = 0
09:36:33.211302 open("/usr/lib/sasl2/libmysql.so.2", O_RDONLY) = 6
09:36:33.211519 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\374\r\0"..., 512) = 512
09:36:33.211743 fstat64(6, {st_mode=S_IFREG|0644, st_size=12552, ...}) = 0
09:36:33.211976 old_mmap(NULL, 15612, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) =
0x4039c000
09:36:33.212180 old_mmap(0x4039f000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x2000) = 0x4039f000
09:36:33.212405 close(6) = 0
09:36:33.212583 open("/etc/ld.so.cache", O_RDONLY) = 6
09:36:33.212758 fstat64(6, {st_mode=S_IFREG|0644, st_size=26256, ...}) = 0
09:36:33.212979 old_mmap(NULL, 26256, PROT_READ, MAP_PRIVATE, 6, 0) = 0x403a0000
09:36:33.213168 close(6) = 0
09:36:33.213335 open("/usr/lib/libmysqlclient.so.10", O_RDONLY) = 6
09:36:33.213650 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\210\200"..., 512) = 512
09:36:33.213880 fstat64(6, {st_mode=S_IFREG|0644, st_size=214344, ...}) = 0
09:36:33.214111 old_mmap(NULL, 213792, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) =
0x403a7000
09:36:33.214328 old_mmap(0x403c3000, 102400, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x1c000) = 0x403c3000
09:36:33.214562 close(6) = 0
09:36:33.214788 open("/usr/lib/libz.so.1", O_RDONLY) = 6
09:36:33.215023 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0D\30\0\000"..., 512) = 512
09:36:33.215254 fstat64(6, {st_mode=S_IFREG|0644, st_size=51352, ...}) = 0
09:36:33.215485 old_mmap(NULL, 50316, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) =
0x403dc000
09:36:33.215686 old_mmap(0x403e7000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0xb000) = 0x403e7000
09:36:33.215979 close(6) = 0
09:36:33.216174 open("/lib/libm.so.6", O_RDONLY) = 6
09:36:33.216362 read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0
5\0\000"..., 512) = 512
09:36:33.216849 fstat64(6, {st_mode=S_IFREG|0644, st_size=137652, ...}) = 0
09:36:33.217084 old_mmap(NULL, 140208, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) =
0x403e9000
09:36:33.217286 old_mmap(0x4040b000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x21000) = 0x4040b000
09:36:33.217515 close(6) = 0
09:36:33.222037 munmap(0x403a0000, 26256) = 0
09:36:33.222301 open("/usr/lib/sasl2/libsasldb.la", O_RDONLY) = 6
09:36:33.222501 close(6) = 0
09:36:33.222661 open("/usr/lib/sasl2/libcrammd5.la", O_RDONLY) = 6
09:36:33.222845 close(6) = 0
09:36:33.223000 open("/usr/lib/sasl2/libdigestmd5.la", O_RDONLY) = 6
09:36:33.223183 close(6) = 0
09:36:33.223339 open("/usr/lib/sasl2/libotp.la", O_RDONLY) = 6
09:36:33.223520 close(6) = 0
09:36:33.223675 open("/usr/lib/sasl2/libplain.la", O_RDONLY) = 6
09:36:33.223855 close(6) = 0
09:36:33.224011 open("/usr/lib/sasl2/libanonymous.la", O_RDONLY) = 6
09:36:33.224193 close(6) = 0
09:36:33.224348 open("/usr/lib/sasl2/liblogin.la", O_RDONLY) = 6
09:36:33.224528 close(6) = 0
09:36:33.224684 open("/usr/lib/sasl2/libntlm.la", O_RDONLY) = 6
09:36:33.224864 close(6) = 0
09:36:33.225334 open("/usr/lib/sasl2/libmysql.la", O_RDONLY) = 6
09:36:33.225528 close(6) = 0
09:36:33.225684 getdents64(0x5, 0x8112ac0, 0x1000, 0x4033a440) = 0
09:36:33.225853 close(5) = 0
09:36:33.226228 open("/var/lib/cyrus/db/DB_CONFIG", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
09:36:33.226445 stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096,
...}) = 0
09:36:33.226768 open("/var/lib/cyrus/db/__db.001", O_RDWR|O_LARGEFILE) = 5
09:36:33.226972 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
09:36:33.227138 fstat64(5, {st_mode=S_IFREG|0600, st_size=8192, ...}) = 0
09:36:33.227380 close(5) = 0
09:36:33.227533 open("/var/lib/cyrus/db/__db.001", O_RDWR|O_LARGEFILE) = 5
09:36:33.227719 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
09:36:33.227889 mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) =
0x4001a000
09:36:33.228056 close(5) = 0
09:36:33.228247 open("/var/lib/cyrus/db/__db.002", O_RDWR|O_LARGEFILE) = 5
09:36:33.228436 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
09:36:33.228589 mmap2(NULL, 270336, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) =
0x4040c000
09:36:33.228755 close(5) = 0
09:36:33.229083 open("/var/lib/cyrus/db/__db.003", O_RDWR|O_LARGEFILE) = 5
09:36:33.229282 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
09:36:33.229436 mmap2(NULL, 98304, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) =
0x4044e000
09:36:33.229601 close(5) = 0
09:36:33.229772 select(0, NULL, NULL, NULL, {0, 1000}) = 0 (Timeout)
09:36:33.230230 select(0, NULL, NULL, NULL, {0, 2000}) = 0 (Timeout)
09:36:33.240144 select(0, NULL, NULL, NULL, {0, 4000}) = 0 (Timeout)
09:36:33.250152 select(0, NULL, NULL, NULL, {0, 8000}) = 0 (Timeout)
09:36:33.260152 select(0, NULL, NULL, NULL, {0, 16000}) = 0 (Timeout)
09:36:33.280162 select(0, NULL, NULL, NULL, {0, 32000}) = 0 (Timeout)
09:36:33.372287 select(0, NULL, NULL, NULL, {0, 64000}) = 0 (Timeout)
09:36:33.440250 select(0, NULL, NULL, NULL, {0, 128000}) = 0 (Timeout)
09:36:33.570319 open("/var/lib/cyrus/db/__db.004", O_RDWR|O_LARGEFILE) = 5
09:36:33.570552 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
09:36:33.570708 mmap2(NULL, 16064512, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) =
0x40466000
09:36:33.570884 close(5) = 0
09:36:33.571059 open("/var/lib/cyrus/db/__db.005", O_RDWR|O_LARGEFILE) = 5
09:36:33.571246 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
09:36:33.571397 mmap2(NULL, 24576, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) =
0x403a0000
09:36:33.571558 close(5) = 0
09:36:33.571963 open("/var/lib/cyrus/db/log.0000000001",
O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 5
09:36:33.572171 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
09:36:33.572461 _llseek(5, 5668925, [5668925], SEEK_SET) = 0
09:36:33.572645 write(5,
"\r\200V\0T\223\275\377>\0\0\0\215\0\0\0\7\0\0\200\0\0\0"..., 62) = 62
09:36:33.572900 fsync(5) = 0
09:36:33.625280 open("/var/lib/cyrus/deliver.db",
O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0664) = -1 EEXIST (File exists)
09:36:33.625513 open("/var/lib/cyrus/db/log.0000000001", O_RDONLY|O_LARGEFILE) = 6
09:36:33.625704 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
09:36:33.625856 _llseek(6, 5668925, [5668925], SEEK_SET) = 0
09:36:33.626038 read(6,
"\r\200V\0T\223\275\377>\0\0\0\215\0\0\0\7\0\0\200\0\0\0"..., 62) = 62
09:36:33.626256 _llseek(6, 5668937, [5668937], SEEK_SET) = 0
09:36:33.626417 read(6,
"\215\0\0\0\7\0\0\200\0\0\0\0\0\0\0\0\32\0\0\0/var/lib/"..., 50) = 50
09:36:33.626641 stat64("/var/lib/cyrus/deliver.db", {st_mode=S_IFREG|0600,
st_size=212992, ...}) = 0
09:36:33.626901 open("/var/lib/cyrus/deliver.db", O_RDWR|O_LARGEFILE) = 7
09:36:33.627081 fcntl64(7, F_SETFD, FD_CLOEXEC) = 0
09:36:33.627225 fstat64(7, {st_mode=S_IFREG|0600, st_size=212992, ...}) = 0
09:36:33.627445 read(7,
"\1\0\0\0\34\303U\0\0\0\0\0b1\5\0\10\0\0\0\0\20\0\0\0\t"..., 72) = 72
09:36:33.627663 close(7) = 0
09:36:33.627841 open("/var/lib/cyrus/deliver.db", O_RDWR|O_LARGEFILE) = 7
09:36:33.628023 fcntl64(7, F_SETFD, FD_CLOEXEC) = 0
09:36:33.628168 fstat64(7, {st_mode=S_IFREG|0600, st_size=212992, ...}) = 0
09:36:33.628389 _llseek(7, 0, [0], SEEK_SET) = 0
09:36:33.628546 read(7,
"\1\0\0\0\34\303U\0\0\0\0\0b1\5\0\10\0\0\0\0\20\0\0\0\t"..., 256) = 256
09:36:33.628765 close(7) = 0
09:36:33.628936 open("/var/lib/cyrus/deliver.db", O_RDWR|O_LARGEFILE) = 7
09:36:33.629120 fcntl64(7, F_SETFD, FD_CLOEXEC) = 0
09:36:33.629264 fstat64(7, {st_mode=S_IFREG|0600, st_size=212992, ...}) = 0
09:36:33.629692 open("/var/lib/cyrus/db/skipstamp", O_RDONLY) = 8
09:36:33.629896 read(8, "?\347\17\200", 4) = 4
09:36:33.630104 close(8) = 0
09:36:33.630266 time(NULL) = 1072107393
09:36:33.630407 getpid() = 26404
09:36:33.630605 open("/var/lib/cyrus/mailboxes.db", O_RDWR) = 8
09:36:33.630790 fcntl64(8, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0,
len=0}) = 0
09:36:33.630982 fstat64(8, {st_mode=S_IFREG|0600, st_size=23764, ...}) = 0
09:36:33.631228 stat64("/var/lib/cyrus/mailboxes.db", {st_mode=S_IFREG|0600,
st_size=23764, ...}) = 0
09:36:33.631503 old_mmap(NULL, 32768, PROT_READ, MAP_SHARED, 8, 0) = 0x413b8000
09:36:33.631729 fcntl64(8, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0,
len=0}) = 0
09:36:33.631967 open("/var/lib/cyrus/socket/lmtpunix-0.lock", O_RDWR|O_CREAT,
0600) = 9
09:36:33.632172 fcntl64(9, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0,
len=0}) = 0
09:36:33.632367 accept(4,
as you can see it seems to stop short of actually accepting on the socket (or
maybe it is, but...)
I've deleted the socket file and restarted cyrus and it re-creates the file but
still doesn't accept connections or show up in netstat.
Any help would be appreciated as mail needs to be delivered locally. :)
- --
James A. Pattie
james at pcxperience.com
Linux -- SysAdmin / Programmer
Xperience, Inc.
http://www.pcxperience.com/
http://www.xperienceinc.com/
GPG Key Available at http://www.pcxperience.com/gpgkeys/james.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQE/5xIVtUXjwPIRLVERAtmtAKC7vtpErxGjBHJA8e9C7ABASffckQCcDiyg
ALudQ8JXs+MseEKc6e8MBv4=
=2Li6
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
More information about the Info-cyrus
mailing list