please help im almost done..
after installing the checkpassword and i have this file in my
/var/qmail/supervised/qmail-pop3d/run
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec tcpserver -v -R -uQMAILDUID -gNOFILESGID 0 pop-3 \
/var/qmail/bin/qmail-popup qmail.vv.com \
/usr/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir login \
2>&1
and in my /etc/rc.d/init.d/pop3d
#!/bin/sh
PATH=/var/qmail/bin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
export PATH
case "$1" in
start)
echo -n "Starting qmail-pop3d"
supervise /var/supervise/qmail/pop3d | \
setuidgid qmaill tai64n | setuidgid qmaill tai64nlocal | \
setuidgid qmaill multilog s12000000 n5 /var/log/qmail/pop3d &
echo "."
;;
stop)
echo -n "Stopping qmail: qmail-pop3d"
svc -dx /var/supervise/qmail/pop3d
echo "."
;;
stat)
echo "Checking qmail-pop3d"
svstat /var/supervise/qmail/pop3d
;;
help)
cat <<HELP
stop -- stops pop3 service (POP connections refused, mail can't be
retrieved)
start -- starts pop3 service (POP connection accepted, mail can be
retrieved)
HELP
;;
*)
echo "Usage: $0 {start|stop|stat|help}"
exit 1
;;
esac
exit 0
when i try if it will work i got this when i use telnet
[root@qmail sbin]# telnet localhost 110
Trying 127.0.0.1...
tcpserver: status: 1/40
tcpserver: pid 596 from 127.0.0.1
Connected to localhost.
Escape character is '^]'.
tcpserver: ok 596 localhost:127.0.0.1:110 localhost:127.0.0.1::1028
+OK <[EMAIL PROTECTED]>
user vhernz
+OK
pass kitty
-ERR authorization failed
tcpserver: end 596 status 256
tcpserver: status: 0/40
Connection closed by foreign host.
what is my mistake here?