On Wed, 8 Jan 2003 13:17:03 -0500
Jason Parsons <[EMAIL PROTECTED]> wrote:
> Marc,
>
> > exec /usr/local/bin/softlimit -m 4000000 \
> > /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
>
> auth_smtp requires changes to this file. Here's the relevant part from
> mine:
>
> exec /usr/local/bin/softlimit -m 8000000 \
> /usr/local/bin/tcpserver -v -H -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
> "$MAXSMTPD" \
> -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
> /var/qmail/bin/qmail-smtpd /var/qmail/bin/auth_smtp /usr/bin/true 2>&1
>
> Note the arguments to qmail-smtpd. I also increased the softlimit, as
> I was having some problems running out of memory with SSL. You can set
> yours as needed.
>
> - Jason Parsons
Hi Jason,
Thanks for your response. I tweaked my run file as you suggested, now it
looks like :
#!/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
exec /usr/local/bin/softlimit -m 8000000 \
/usr/local/bin/tcpserver -v -H -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd \
/var/qmail/bin/auth_smtp /usr/bin/true 2>&1
However, it still doesn't work, my MUA log shows :
ESMTP> AUTH LOGIN
SMTP< 334 VXNlcm5hbWU6
ESMTP> [USERID]
SMTP< 334 UGFzc3dvcmQ6
ESMTP> [PASSWORD]
SMTP< 421 unable to start checkpassword.
*** Error occurred while sending MAIL FROM
*** SMTP AUTH failed
SMTP> QUIT
SMTP< 535 auth failure
I downloaded checkpassword-0.90 from DJB's website, and installed. Now
checkpassword program resides under /bin and it's executable.
Still the same error on my MUA logs :-(
Anyother advice ?
Thank you very much in advance, regards,
M