Upon seeing this thread, I decided to revisit my old smtp-auth problem as
well. Thanks to a few well placed words from Mr. Parsons here, I am very
pleased.

When I first checked back in on the aborted smtp-auth I had tried when I
threw qmail into production in October, my email client would just keep
asking for a password. I have no clue whether I had checked this particular
log before, but now (with a head clear of the hour-by-hour struggle back in
October) I saw

@400000003e1c83f7239f397c /var/qmail/bin/auth_smtp: error while loading
shared libraries: libsasl.so.7: failed to map segment from shared object:
Cannot allocate memory

Putting this information with the recent information I read about the higher
softlimit thing, and I'm running perfectly. All it took was changing my
supervise script to (it was at -m 2000000)

exec /usr/local/bin/softlimit -m 8000000 \
    /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 \
        /var/qmail/bin/auth_smtp /bin/true 2>&1

So here is my list of thank yous: thank you Jason, for getting that
softlimit number open. Thank you Henning, for the patch I couldn't figure
out how to use until now and the Life With qmail-ldap page. Thanks to Andre
and Claudio for the ldap patch. And thank you to djb of course.

- Peter McPhee

----- Original Message -----
From: "Jason Parsons" <[EMAIL PROTECTED]>
To: "Marc" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 08, 2003 1:17 PM
Subject: Re: smtp-auth + qmail-ldap problem


> 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
>
>

Reply via email to