[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange hold/home thing



On Fri, Dec 01, 2000 at 04:14:37PM +0300, Eugene Crosser wrote:
> Looks like todays's CVS behaves strange re routing: if getpwnam() returns
> no such user, message falls on hold like this:
> 
> hold/home:aesok:
> 	H/1181759-24356:        deferred (retry in 2h33m45s, expires in 2d23h,
> tries=1)

   You are right.  I see this at Solaris, and so far have *no* idea
   of what might be wrong.

   Oddly, I don't see it anywhere else ...

   Also, at Solaris interactive routing works just fine, but doing
   the same under a daemon mode router fails ??

   Ok, running attached to debugger in daemon yields this:

Run till exit from #0  0xef6bff14 in getpwnam () from /lib/libc.so.1
run_homedir (argc=2, argv=0xefff46d0) at ../../router/functions.c:1794
1794            if (pw == NULL) {
(gdb) print errno
$2 = 29
(gdb) print argv[0]
$3 = 0x128c26 "homedirectory"
(gdb) print argv[1]
$4 = 0x124688 "no-such-user"

   That  errno  is  ESPIPE !?

> Any clue?
> Eugene

-- 
/Matti Aarnio	<mea@nic.funet.fi>