On Sat, Jan 02, 1999 at 05:17:49AM +0700, Priyadi Iman Nurcahyo wrote:
> i have installed serialmail on various machines without any problem,
> but now i have a problem, it won't deliver any mail, and without
> warnings or any error messages...
> here is last few lines of strace:
>
> [priyadi@priyadi priyadi]$ strace /usr/local/bin/maildirsmtp ~/pppdir
> priyadi-ppp- bdg.centrin.net.id priyadi.ml.org 2>&1 | tail -20
> sigaction(SIGPIPE, {SIG_IGN}, NULL) = 0
> chdir("/home/priyadi/pppdir") = 0
> open(".", O_RDONLY|O_NONBLOCK) = 3
> chdir("/var/qmail") = 0
> open("control/me", O_RDONLY|O_NONBLOCK) = 4
> read(4, "priyadi.ml.org\n", 128) = 15
> close(4) = 0
> open("control/bouncefrom", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file
> or directory)
> open("control/bouncehost", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file
> or directory)
> open("control/doublebouncehost", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such
> file or directory)
> open("control/doublebounceto", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such
> file or directory)
> fchdir(3) = 0
> pipe([4, 5]) = 0
> fork() = 6877
> close(5) = 0
> read(4, "", 1024) = 0
> --- SIGCHLD (Child exited) ---
> close(4) = 0
> wait4(6877, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 6877
> _exit(0)
This is what an strace of serialsmtp normally looks like when the maildir
is empty. See the fork()? That is where the process splits in two. The _other_
half (which you are not tracing while you should) checks the maildir. If you're
sure something _is_ wrong, add -f to strace and tell us what happens.
Greetz, Peter.
--
<squeezer> AND I AM GONNA KILL MIKE | Peter van Dijk
<squeezer> hardbeat, als je nog nuchter bent: | [EMAIL PROTECTED]
<squeezer> @date = localtime(time); | realtime security d00d
<squeezer> $date[5] += 2000 if ($date[5] < 37); |
<squeezer> $date[5] += 1900 if ($date[5] < 99); | -x- I love Rhona -x-