Sometimes the "postscreen" process behaviour is:
( After postfix stop, another postscreen is started, look PID number! )
# postconf mail_version
mail_version = 2.8.0
# date
Mon Jan 24 16:21:45 CET 2011
# cat /etc/redhat-release
CentOS release 5.5 (Final)
# ps -fe |grep postscreen
postfix 3928 3918 0 15:24 ? 00:00:03 postscreen -l -n smtp -t
inet -u
root 5483 4795 0 16:22 pts/2 00:00:00 grep postscreen
# postfix stop
postfix/postfix-script: stopping the Postfix mail system
# ps -fe |grep postscreen
postfix 5539 1 0 16:22 ? 00:00:00 postscreen -l -n smtp -t
inet -u
root 5541 4795 0 16:22 pts/2 00:00:00 grep postscreen
# date
Mon Jan 24 16:22:11 CET 2011
# strace -fp 5539
Process 5539 attached - interrupt to quit
alarm(3) = 2
time(NULL) = 1295882546
epoll_wait(8, 7fff93e560d0, 100, 16000) = -1 EINTR (Interrupted system call)
--- SIGALRM (Alarm clock) @ 0 (0) ---
write(12, "\0", 1) = 1
alarm(3) = 0
rt_sigreturn(0x3) = -1 EINTR (Interrupted system call)
alarm(3) = 3
time(NULL) = 1295882549
epoll_wait(8, {{EPOLLIN, {u32=11, u64=18292008015626251}}}, 100, 13000) = 1
time(NULL) = 1295882549
read(11, "\0", 1) = 1
read(11, 0x7fff93e560bf, 1) = -1 EAGAIN (Resource
temporarily unavailable)
alarm(3) = 3
time(NULL) = 1295882549
epoll_wait(8, 7fff93e560d0, 100, 13000) = -1 EINTR (Interrupted system call)
--- SIGALRM (Alarm clock) @ 0 (0) ---
write(12, "\0", 1) = 1
alarm(3) = 0
rt_sigreturn(0x3) = -1 EINTR (Interrupted system call)
alarm(3) = 3
time(NULL) = 1295882552
epoll_wait(8, {{EPOLLIN, {u32=11, u64=18292008015626251}}}, 100, 10000) = 1
time(NULL) = 1295882552
read(11, "\0", 1) = 1
read(11, 0x7fff93e560bf, 1) = -1 EAGAIN (Resource
temporarily unavailable)
alarm(3) = 3
time(NULL) = 1295882552
epoll_wait(8, 7fff93e560d0, 100, 10000) = -1 EINTR (Interrupted system call)
--- SIGALRM (Alarm clock) @ 0 (0) ---
write(12, "\0", 1) = 1
alarm(3) = 0
rt_sigreturn(0x3) = -1 EINTR (Interrupted system call)
alarm(3) = 3
time(NULL) = 1295882555
epoll_wait(8, {{EPOLLIN, {u32=11, u64=18292008015626251}}}, 100, 7000) = 1
time(NULL) = 1295882555
read(11, "\0", 1) = 1
read(11, 0x7fff93e560bf, 1) = -1 EAGAIN (Resource
temporarily unavailable)
alarm(3) = 3
time(NULL) = 1295882555
epoll_wait(8, <unfinished ...>
Process 5539 detached
#
#
# date
Mon Jan 24 16:22:45 CET 2011
# ps -fe |grep postscreen
postfix 5539 1 0 16:22 ? 00:00:00 postscreen -l -n smtp -t
inet -u
root 5660 4795 0 16:22 pts/2 00:00:00 grep postscreen
# ps -fe |grep master
root 5886 4795 0 16:24 pts/2 00:00:00 grep master
# ps -fe |grep postscreen
postfix 5539 1 0 16:22 ? 00:00:00 postscreen -l -n smtp -t
inet -u
root 5888 4795 0 16:24 pts/2 00:00:00 grep postscreen
#
Best regards.
Stefano