Hi Pit,

> The one that shows e.g. "authentication failed", or
> anything similar. In my expericence authentication 
> seldom fails silently when using vchkpw.

Can't seem to find one that does unless I deliberately
make a mistake in the login. See below:
 
> So I'd:
> 1.) Retire inetd and reactivate tcpserver.

Dropped the Debian version back in. In retrospect
maybe I should have installed from source though?

> 4.) Have a look in the file your syslog store
> messages of type 'mail.*'

Been looking at those.  Deliberately put incorrect
info in the telnet login, and I get the expected
messages in the mail log, i.e

vpopmail[23456]: vchkpw: invalid user/domain
characters <UserName>:
vpopmail[23459]: vchkpw: vpopmail user not found
chris@:

Get it right, and nothing seems to be updated in the
logs at all, just get the '-ERR authorization failed'
on the command line. This should be a clue I suppose.

>If vchkpw fails to authenticate it logs this
>fact (unless you have turned it off completely,
>which you havent, IFAICS)

No I haven't. But I'm still clueless, sorry.

>5.) If nothing thelps I'd
>    printf "<UserName>\0<Password>\0QWERTZUIOP\0" |
>    \ strace -s 4096 -f -o /tmp/vchkpw.log \
>    /home/vpopmail/bin/vchkpw /bin/true 3<&0; echo
>    "Return: $?"

Return: 0, is the answer I get.

>/tmp/vchkpw.log' where the check

Contains stuff I don't understand! Example below:

23459 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
23459 close(4)                          = 0
23459 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
23459 read(3, 0x80587d0, 8192)          = -1 EAGAIN
(Resource temporarily unavailable)
23459 fcntl64(3, F_SETFL, O_RDWR)       = 0
23459 write(3, "\1\0\0\0\1", 5)         = 5
23459 shutdown(3, 2 /* send and receive */) = 0
23459 close(3)                          = 0
23459 semget(3, 1075644448, 0)          = -1 ENOSYS
(Function not implemented)
23459 _exit(3)                          = ?

Mean anything to you?

As I said, sorry Pit, but I seem to be going roung in
circles on this one.

Incidentally the companion programs qmailadmin,
vqadmin, and sqwebmail, seem to install and work ok;
with the proviso that vqadmin seems to not recognise 
the domain on the user screen, and sqwebmail obviously
won't authenticate ( would you beleive I actually had
this working at one stage .. )

Cheers,


Chris.

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

Reply via email to