Thanks for helping:

On 22.10.2002 18:34 Uhr, "Peter Palmreuther" <[EMAIL PROTECTED]> wrote:

> [EMAIL PROTECTED] \
> P=your_password \
> printf "$U\0$P\0SDKFJSD\0" | \
> strace -o /tmp/vchkpw.log -s 256 -f -e trace=file,read \
> /home/vpopmail/bin/vchkpw /bin/true 3<&0; echo $?

I get:
alphonse:/usr/src/v/vpopmail-5.2.1# [EMAIL PROTECTED] P=info printf
"$U\0$P\0SDKFJSD\0" | strace -o /tmp/vchkpw.log -s 256 -f -e trace=file,read
/home/vpopmail/bin/vchkpw /bin/true 3<&0; echo $?
strace: /home/vpopmail/bin/vchkpw: command not found
1

> if the output is != 0 look into '/tmp/vchkpw.log' is you can find
> anything that went wrong, e.g. vchkpw searching for wrong file or not
> being able to open.
> 

> Kill them all, shut down your POP3 daemon and run 'clearopensmtp' in a
> 'strace' call. See where it hangs, what it does last before not
> continuing. 
The last couple of lines are:

close(3)                                = 0
munmap(0x40014000, 4096)                = 0
close(4)                                = 0
rename("/etc/vpopmail/open-smtp.tmp", "/etc/vpopmail/open-smtp") = 0
chown32(0x804908b, 0xfa14, 0xfa14)      = 0
umask(022)                              = 022
getpid()                                = 12266
pipe([3, 4])                            = 0
vfork(

>(Hint: use '-o' parameter for strace; makes life a lot
> easier, especially when looking at the output from a second console).
You mean: 
strace -o clearopensmtp

Thanks for helping.

Zeno


Reply via email to