strace output is attached.
[EMAIL PROTECTED]:/etc/init.d# strace /usr/sbin/dovecot execve("/usr/sbin/dovecot", ["/usr/sbin/dovecot"], [/* 26 vars */]) = 0 uname({sys="Linux", node="ml330", ...}) = 0 brk(0) = 0x8067ffc access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=34292, ...}) = 0 mmap2(NULL, 34292, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220T\1"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1177116, ...}) = 0 mmap2(NULL, 1186964, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40021000 mmap2(0x40139000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x117) = 0x40139000 mmap2(0x40141000, 7316, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40141000 close(3) = 0 mprotect(0x40139000, 20480, PROT_READ) = 0 munmap(0x40018000, 34292) = 0 time(NULL) = 1151800889 brk(0) = 0x8067ffc brk(0x8088ffc) = 0x8088ffc brk(0x8089000) = 0x8089000 uname({sys="Linux", node="ml330", ...}) = 0 getpid() = 10844 geteuid32() = 0 open("/etc/dovecot/dovecot.conf", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0600, st_size=39348, ...}) = 0 pread64(3, "## Dovecot configuration file\n\n#"..., 2048, 0) = 2048 pread64(3, "fix). This however\n# means that "..., 1992, 2048) = 1992 pread64(3, "bout permissions. Note that\n# ev"..., 2001, 4040) = 2001 pread64(3, "m number of users\n# logging in a"..., 1988, 6041) = 1988 pread64(3, "is simply done by having a\n# nam"..., 2000, 8029) = 2000 pread64(3, "ped = yes.\n#mail_read_mmaped = n"..., 1979, 10029) = 1979 pread64(3, "retty high.\n#mail_process_size ="..., 1986, 12008) = 1986 pread64(3, "them.\n#\n# Usually you should jus"..., 2030, 13994) = 2030 pread64(3, "e.\n# If you care about performan"..., 1971, 16024) = 1971 pread64(3, "irty_syncs = no\n\n# Delay writing"..., 2036, 17995) = 2036 pread64(3, "ary for\n # clients to request i"..., 1978, 20031) = 1978 pread64(3, " it doesn\'t move files\n # from "..., 1996, 22009) = 1996 pread64(3, " plugins. mail_plugins is a spac"..., 2012, 24005) = 2012 pread64(3, "Note that bsdauth, PAM and vpopm"..., 2046, 26017) = 2046 pread64(3, "rator character here. The format"..., 2005, 28063) = 2005 pread64(3, "the destination user to be looke"..., 2020, 30068) = 2020 pread64(3, "ervice (ie. IMAP, POP3) must mat"..., 2019, 32088) = 2019 pread64(3, " static settings generated from "..., 2045, 34107) = 2045 pread64(3, "ssible to export the authenticat"..., 2037, 36152) = 2037 pread64(3, "n. Multiple backends are support"..., 2033, 38189) = 1159 pread64(3, "", 874, 39348) = 0 close(3) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(3) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(3) = 0 open("/etc/nsswitch.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 read(3, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 465 read(3, "", 4096) = 0 close(3) = 0 munmap(0x40018000, 4096) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=34292, ...}) = 0 mmap2(NULL, 34292, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libnss_compat.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\20"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=30428, ...}) = 0 mmap2(NULL, 29296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40143000 mmap2(0x40149000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0x40149000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libnsl.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3405\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=76792, ...}) = 0 mmap2(NULL, 88096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4014b000 mmap2(0x4015d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0x4015d000 mmap2(0x4015f000, 6176, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4015f000 close(3) = 0 munmap(0x40018000, 34292) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=34292, ...}) = 0 mmap2(NULL, 34292, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libnss_nis.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\34\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=34324, ...}) = 0 mmap2(NULL, 37424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40161000 mmap2(0x40169000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0x40169000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libnss_files.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\33"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=38376, ...}) = 0 mmap2(NULL, 41624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4016b000 mmap2(0x40174000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0x40174000 close(3) = 0 munmap(0x40018000, 34292) = 0 open("/etc/passwd", O_RDONLY) = 3 fcntl64(3, F_GETFD) = 0 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 _llseek(3, 0, [0], SEEK_CUR) = 0 fstat64(3, {st_mode=S_IFREG|0644, st_size=1639, ...}) = 0 mmap2(NULL, 1639, PROT_READ, MAP_SHARED, 3, 0) = 0x40018000 _llseek(3, 1639, [1639], SEEK_SET) = 0 munmap(0x40018000, 1639) = 0 close(3) = 0 access("/usr/lib/dovecot/imap", X_OK) = 0 access("/etc/ssl/certs/dovecot.pem", R_OK) = 0 access("/etc/ssl/private/dovecot.pem", R_OK) = 0 mkdir("/var/run/dovecot", 0777) = -1 EEXIST (File exists) lstat64("/var/run/dovecot", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 mkdir("/var/lib/dovecot", 0750) = -1 EEXIST (File exists) lstat64("/var/run/dovecot/login", {st_mode=S_IFDIR|0750, st_size=1024, ...}) = 0 open("/var/run/dovecot/login", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFDIR|0750, st_size=1024, ...}) = 0 close(3) = 0 lstat64("/var/run/dovecot/login", {st_mode=S_IFDIR|0750, st_size=1024, ...}) = 0 open("/var/run/dovecot/login", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3 fstat64(3, {st_mode=S_IFDIR|0750, st_size=1024, ...}) = 0 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 getdents64(3, /* 3 entries */, 4096) = 88 lstat64("/var/run/dovecot/login/ssl-parameters.dat", {st_mode=S_IFREG|0644, st_size=230, ...}) = 0 getdents64(3, /* 0 entries */, 4096) = 0 close(3) = 0 access("/usr/lib/dovecot/imap-login", X_OK) = 0 open("/etc/passwd", O_RDONLY) = 3 fcntl64(3, F_GETFD) = 0 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 _llseek(3, 0, [0], SEEK_CUR) = 0 fstat64(3, {st_mode=S_IFREG|0644, st_size=1639, ...}) = 0 mmap2(NULL, 1639, PROT_READ, MAP_SHARED, 3, 0) = 0x40018000 _llseek(3, 1639, [1639], SEEK_SET) = 0 munmap(0x40018000, 1639) = 0 close(3) = 0 access("/usr/lib/dovecot/pop3", X_OK) = 0 access("/etc/ssl/certs/dovecot.pem", R_OK) = 0 access("/etc/ssl/private/dovecot.pem", R_OK) = 0 mkdir("/var/run/dovecot", 0777) = -1 EEXIST (File exists) lstat64("/var/run/dovecot", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 mkdir("/var/lib/dovecot", 0750) = -1 EEXIST (File exists) lstat64("/var/run/dovecot/login", {st_mode=S_IFDIR|0750, st_size=1024, ...}) = 0 open("/var/run/dovecot/login", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFDIR|0750, st_size=1024, ...}) = 0 close(3) = 0 lstat64("/var/run/dovecot/login", {st_mode=S_IFDIR|0750, st_size=1024, ...}) = 0 open("/var/run/dovecot/login", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3 fstat64(3, {st_mode=S_IFDIR|0750, st_size=1024, ...}) = 0 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 getdents64(3, /* 3 entries */, 4096) = 88 lstat64("/var/run/dovecot/login/ssl-parameters.dat", {st_mode=S_IFREG|0644, st_size=230, ...}) = 0 getdents64(3, /* 0 entries */, 4096) = 0 close(3) = 0 access("/usr/lib/dovecot/pop3-login", X_OK) = 0 open("/etc/passwd", O_RDONLY) = 3 fcntl64(3, F_GETFD) = 0 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 _llseek(3, 0, [0], SEEK_CUR) = 0 fstat64(3, {st_mode=S_IFREG|0644, st_size=1639, ...}) = 0 mmap2(NULL, 1639, PROT_READ, MAP_SHARED, 3, 0) = 0x40018000 _llseek(3, 1639, [1639], SEEK_SET) = 0 munmap(0x40018000, 1639) = 0 close(3) = 0 access("/usr/lib/dovecot/dovecot-auth", X_OK) = 0 open("/dev/null", O_RDONLY|O_LARGEFILE) = 3 fcntl64(3, F_GETFD) = 0 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 dup(3) = 4 fcntl64(4, F_GETFD) = 0 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 5 setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 setsockopt(5, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 bind(5, {sa_family=AF_INET, sin_port=htons(143), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 getsockname(5, {sa_family=AF_INET, sin_port=htons(143), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0 listen(5, 8) = 0 fcntl64(5, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl64(5, F_GETFD) = 0 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6 setsockopt(6, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 setsockopt(6, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 bind(6, {sa_family=AF_INET, sin_port=htons(993), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 getsockname(6, {sa_family=AF_INET, sin_port=htons(993), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0 listen(6, 8) = 0 fcntl64(6, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl64(6, F_GETFD) = 0 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 7 setsockopt(7, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 setsockopt(7, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 bind(7, {sa_family=AF_INET, sin_port=htons(110), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 getsockname(7, {sa_family=AF_INET, sin_port=htons(110), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0 listen(7, 8) = 0 fcntl64(7, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl64(7, F_GETFD) = 0 fcntl64(7, F_SETFD, FD_CLOEXEC) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 8 setsockopt(8, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 setsockopt(8, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 bind(8, {sa_family=AF_INET, sin_port=htons(995), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 getsockname(8, {sa_family=AF_INET, sin_port=htons(995), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0 listen(8, 8) = 0 fcntl64(8, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(8, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl64(8, F_GETFD) = 0 fcntl64(8, F_SETFD, FD_CLOEXEC) = 0 dup2(4, 0) = 0 dup2(4, 1) = 1 dup2(4, 2) = 2 fork() = 10845 --- SIGCHLD (Child exited) @ 0 (0) --- exit_group(0) = ? Process 10844 detached [EMAIL PROTECTED]:/etc/init.d#
-- Neil Roeth