At 16:44 1/24/2002, you wrote:
>Josh Zerlan writes:
>>Well... still unable to find a solution to this. Is there anyway to get
>>more diagnostic information out of Courier?
>
>Use strace. That's the ultimate diagnostic tool.
Ok... perhaps I don't understand strace well enough, but I can't see where
to start to look for the problem. Here's my strace of basically the same
outlines session below:
-=-=-=-=-=-=-=-=-=
[pid 31000] close(4) = 0
[pid 31000] munmap(0x40019000, 4096 <unfinished ...>
[pid 30990] <... read resumed> "\n", 4096) = 1
[pid 31000] <... munmap resumed> ) = 0
[pid 30990] fstat64(1, <unfinished ...>
[pid 31000] _exit(1) = ?
<... fstat64 resumed> {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
--- SIGCHLD (Child exited) ---
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x4001a000
write(1, "250 Ok.\r\n", 9) = 9
time([1011920398]) = 1011920398
time([1011920398]) = 1011920398
-=-=-=-=-=--=-=-=-=-=-=-=-=-=-
You can see above that the MAIL FROM command was fine and responds with an
OK and the child process exits normally.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
select(1, [0], NULL, NULL, {600, 0}) = 1 (in [0], left {566, 480000})
read(0, "RCPT TO:<[EMAIL PROTECTED]>\r\n", 5120) = 30
write(5, "[EMAIL PROTECTED]\t\t\n", 21) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
write(1, "432 Service temporarily unavaila"..., 38) = 38
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({8, 0}, {8, 0}) = 0
time([1011920440]) = 1011920440
time([1011920440]) = 1011920440
select(1, [0], NULL, NULL, {600, 0}
-=-=-=-=-=-=-=-=-=-=-=-=-=-
As you can see here, it immediately dies with a broken pipe... I really
have no idea what it's trying to do here. Is it trying to call a function
that doesn't work/exist? What's going on?
>>At 17:29 1/23/2002, you wrote:
>>>Josh Zerlan writes:
>>>>[root@cm log]# telnet localhost 25
>>>>Trying 127.0.0.1...
>>>>Connected to localhost.
>>>>Escape character is '^]'.
>>>>HELO localhost
>>>>220 cm ESMTP
>>>>250-cm Ok.
>>>>250-XVERP=Courier
>>>>250-XEXDATA
>>>>250-XSECURITY=NONE,STARTTLS
>>>>250-PIPELINING
>>>>250-8BITMIME
>>>>250-SIZE
>>>>250 DSN
>>>>MAIL FROM:<test at cm.pcslab.com>
>>>>250 Ok.
>>>>RCPT TO:<me at cm.pcslab.com>
>>>>432 Service temporarily unavailable.
>>>>Regardless of the RCPT to destination, courier returns the 432 error.
>>>>I'm not sure what other information I can supply, I'll be happy to supply
>>>Try checking your syslog files for any errors reported within the
>>>previous couple of minutes.
>>>--
>>>Sam
>>>_______________________________________________
>>>courier-users mailing list
>>>[EMAIL PROTECTED]
>>>Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>>---
>>GE d-(+) s++: a- C+++(++++) UH/L/S++++$ P+++ L++ E---(----) W+++ N+ !o !K
>>w(--) O M-- V- PS+() PE Y+ PGP t+(+++^) 5> X+ R> tv b++(+++) DI++ D++ G+
>>e+ h-- r++ y*
>>--- End Geek Code ---
>>Unix is a user friendly operating system. It's just picky about who it's
>>friends are.
>
>
>--
>Sam
---
GE d-(+) s++: a- C+++(++++) UH/L/S++++$ P+++ L++ E---(----) W+++ N+ !o !K
w(--) O M-- V- PS+() PE Y+ PGP t+(+++^) 5> X+ R> tv b++(+++) DI++ D++ G+ e+
h-- r++ y*
--- End Geek Code ---
Unix is a user friendly operating system. It's just picky about who it's
friends are.
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users