On Monday, October 6, 2003, at 04:55 PM, Jason Kim wrote:
exec /usr/local/bin/softlimit -m 3000000 \
/usr/local/bin/tcpserver \
-H -l "$LOCAL" \
-v -x /etc/tcp.pop3.cdb -c "$MAXSMTPD" -R 0 pop3 /usr/local/bin/recordio \
/var/qmail/bin/qmail-popup \
/var/qmail/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1

Add $LOCAL after qmail-popup. The first parameter to qmail-popup is the hostname.


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

Depending on which SMTP AUTH patch you're using, you might need to add $LOCAL after qmail-smtpd, otherwise the SMTP AUTH patch will not work correctly.


To test, try the following:

# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 frida.tomlogic.com ESMTP
EHLO
250-frida.tomlogic.com
250-AUTH LOGIN CRAM-MD5 PLAIN
250-AUTH=LOGIN CRAM-MD5 PLAIN
250-STARTTLS
250-PIPELINING
250 8BITMIME
AUTH LOGIN
334 VXNlcm5hbWU6
VXNlcm5hbWU6
334 UGFzc3dvcmQ6
UGFzc3dvcmQ6
user invalid username:
535 authorization failed (#5.7.0)

This is an attempt to log in with a blank username and password. If you get authorization failed, you're OK. If not, you need the hostname.

By the way, I've just submitted an update to the CVS repository to send error messages to stderr instead of stdout for vpopmail.c. This should get rid of the "user invalid username:" line shown above.

--
Tom Collins
[EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/




Reply via email to