I install qmail + vpopmail in RHEL5, and it's run normally.

After install vpopmail, I set a domain:
vadddomain testqmail.com

And then set the password of [EMAIL PROTECTED]:
./vpasswd [EMAIL PROTECTED]

When I telnet to 110 port:
telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user [EMAIL PROTECTED]
+OK
pass abcdefg
-ERR authorization failed
Connection closed by foreign host.


And other user cannot be auth also.I don't know why auth failed?

---------------------------------------------------------------------------------------
My /var/qmail/supervise/qmail-pop3d/run :
#!/bin/sh
#exec /usr/local/bin/softlimit -m 80000000 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 \
        /var/qmail/bin/qmail-popup mail.testqmail.com \
                /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d
Maildir 2>&1




My /var/qmail/supervise/qmail-smtpd/run:
#!/bin/sh

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`

if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z
"$LOCAL" ]; then
    echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
    echo /var/qmail/supervise/qmail-smtpd/run
    exit 1
fi

if [ ! -f /var/qmail/control/rcpthosts ]; then
    echo "No /var/qmail/control/rcpthosts!"
    echo "Refusing to start SMTP listener because it'll create an open relay"
    exit 1
fi

#exec /usr/local/bin/softlimit -m 80000000 \
    /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1


--------------------------------------------------------------------------------------
The output of ps auxwf:

root      1143  0.0  0.4   2424  1096 ?        Ss   10:29   0:00
/bin/sh /command/svscanboot
root      1145  0.0  0.1   1668   368 ?        S    10:29   0:00  \_
svscan /service
root      1147  0.0  0.1   1504   316 ?        S    10:29   0:00  |
\_ supervise qmail-send
qmails    1153  0.0  0.1   1684   388 ?        S    10:29   0:00  |
|   \_ qmail-send
root      1165  0.0  0.1   1644   328 ?        S    10:29   0:00  |
|       \_ qmail-lspawn ./Maildir/
qmailr    1166  0.0  0.1   1640   328 ?        S    10:29   0:00  |
|       \_ qmail-rspawn
qmailq    1167  0.0  0.1   1632   332 ?        S    10:29   0:00  |
|       \_ qmail-clean
root      1148  0.0  0.1   1500   320 ?        S    10:29   0:00  |
\_ supervise log
qmaill    1154  0.0  0.1   1516   304 ?        S    10:29   0:00  |
|   \_ /usr/local/bin/multilog t /var/log/qmail
root      1149  0.0  0.1   1500   320 ?        S    10:29   0:00  |
\_ supervise qmail-pop3d
root      1155  0.0  0.3   2420   980 ?        S    10:29   0:00  |
|   \_ /bin/sh ./run
root      1159  0.0  0.1   1528   320 ?        S    10:29   0:00  |
|       \_ /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/q
root      1150  0.0  0.1   1504   320 ?        S    10:29   0:00  |
\_ supervise log
qmaill    1158  0.0  0.1   1512   308 ?        S    10:29   0:00  |
|   \_ /usr/local/bin/multilog t /var/log/qmail/pop3d
root      1151  0.0  0.1   1500   320 ?        S    10:29   0:00  |
\_ supervise qmail-smtpd
root      1156  0.0  0.3   2420  1008 ?        S    10:29   0:00  |
|   \_ /bin/sh ./run
qmaild    1168  0.0  0.1   1704   508 ?        S    10:29   0:00  |
|       \_ /usr/local/bin/tcpserver -v -R -l mail.testqmail.co
root      1152  0.0  0.1   1504   316 ?        S    10:29   0:00  |
\_ supervise log
qmaill    1157  0.0  0.1   1512   308 ?        S    10:29   0:00  |
   \_ /usr/local/bin/multilog t /var/log/qmail/smtpd
root      1146  0.0  0.0   1496   252 ?        S    10:29   0:00  \_
readproctitle service errors: .................................

!DSPAM:47858901310546030113273!

Reply via email to