lmtp deliver failed - strace addon
Dmitry P. Schegolev
dmitry at dgap.mipt.ru
Fri Jan 16 07:03:41 EST 2004
I attached strace to lmtpd process. The output is:
kenwood mail # strace -p 11862
Process 11862 attached - interrupt to quit
accept(4, 0, NULL) = 9
fcntl64(8, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 0
getpid() = 11862
getpeername(9, {sa_family=AF_UNIX, path=""}, [2]) = 0
getpid() = 11862
write(3, "\2\0\0\0V.\0\0", 8) = 8
brk(0) = 0x812d000
brk(0x812f000) = 0x812f000
time([1074254263]) = 1074254263
getpid() = 11862
rt_sigaction(SIGPIPE, {0x403e8a30, [], SA_RESTORER, 0x4033b178}, {SIG_IGN}, 8)
= 0
send(5, "<183>Jan 16 14:57:43 lmtpunix[11"..., 58, 0) = 58
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
dup2(9, 0) = 0
dup2(9, 1) = 1
dup2(9, 2) = 2
close(9) = 0
getpid() = 11862
write(3, "\3\0\0\0V.\0\0", 8) = 8
brk(0) = 0x812f000
brk(0x8133000) = 0x8133000
getpeername(0, {sa_family=AF_UNIX, path=@}, [2]) = 0
brk(0) = 0x8133000
brk(0x8135000) = 0x8135000
time([1074254263]) = 1074254263
getpid() = 11862
rt_sigaction(SIGPIPE, {0x403e8a30, [], SA_RESTORER, 0x4033b178}, {SIG_IGN}, 8)
= 0
send(5, "<183>Jan 16 14:57:43 lmtpunix[11"..., 75, 0) = 75
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
uname({sys="Linux", node="kenwood.dgap.mipt.ru", ...}) = 0
getpid() = 11862
open("/var/imap/log/postman/11862", O_WRONLY|O_APPEND|O_CREAT, 0644) = 9
time(NULL) = 1074254263
write(9, "---------- postman Fri Jan 16 14"..., 45) = 45
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
time([1074254263]) = 1074254263
write(9, ">1074254263>", 12) = 12
write(9, "220 kenwood.dgap.mipt.ru LMTP Cy"..., 50) = 50
write(1, "220 kenwood.dgap.mipt.ru LMTP Cy"..., 50) = 50
time(NULL) = 1074254263
select(1, [0], NULL, NULL, {360, 0}) = 1 (in [0], left {359, 970000})
time(NULL) = 1074254263
read(0, "LHLO kenwood.dgap.mipt.ru\r\n", 4096) = 27
time([1074254263]) = 1074254263
write(9, "<1074254263<", 12) = 12
write(9, "LHLO kenwood.dgap.mipt.ru\r\n", 27) = 27
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
time([1074254263]) = 1074254263
write(9, ">1074254263>", 12) = 12
write(9, "250-kenwood.dgap.mipt.ru\r\n250-8B"..., 127) = 127
write(1, "250-kenwood.dgap.mipt.ru\r\n250-8B"..., 127) = 127
time(NULL) = 1074254263
select(1, [0], NULL, NULL, {360, 0}) = 1 (in [0], left {360, 0})
time(NULL) = 1074254263
read(0, "MAIL FROM:<dmitry at dgap.mipt.ru> "..., 4096) = 85
time([1074254263]) = 1074254263
write(9, "<1074254263<", 12) = 12
write(9, "MAIL FROM:<dmitry at dgap.mipt.ru> "..., 85) = 85
open("/var/imap/msg/shutdown", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/var/imap/msg/shutdown", O_RDONLY) = -1 ENOENT (No such file or
directory)
fcntl64(7, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat64(7, {st_mode=S_IFREG|0600, st_size=304, ...}) = 0
stat64("/var/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=304, ...}) = 0
fcntl64(7, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
fcntl64(7, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat64(7, {st_mode=S_IFREG|0600, st_size=304, ...}) = 0
stat64("/var/imap/mailboxes.db", {st_mode=S_IFREG|0600, st_size=304, ...}) = 0
fcntl64(7, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
open("/var/spool/imap/t/user/test/cyrus.header", O_RDWR) = 10
fstat64(10, {st_mode=S_IFREG|0600, st_size=150, ...}) = 0
mmap2(NULL, 150, PROT_READ, MAP_SHARED, 10, 0) = 0x41673000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 11862 detached
More information about the Info-cyrus
mailing list