Here is the bottom part of my qmail-smtpd/run script:

exec /usr/local/bin/softlimit -m 5000000 \
    /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp rblsmtpd \
           -r sbl.spamhaus.org \
           -r relays.ordb.org \
             /var/qmail/bin/qmail-smtpd revelation.perfectservers.com
/usr/local/vpopmail/bin/vchkpw \
               /usr/bin/true 2>&1

Notice the /var/qmail/bin/qmail-smtpd <hostname> /usr/local/vpopmail/bin/vchkpw.

That is very important.  On your setup, its thinking that the vchkpw path is
your hostname and /usr/bin/true is your authentication method, in which case
making everything a valid login (or should).  This makes you an open relay.

I'm also using qmail-smtpd-auth-0.31.

-Patrick Lahni

Quoting Rick Macdougall <[EMAIL PROTECTED]>:

> Hi,
>
> Check your version of smtpd-auth patch.  The newer versions require
> hostname /usr/local/vpopmail/bin/vchkpw /usr/bin/true
>
> Not just /usr/local/vpopmail/bin/vchkpw /usr/bin/true
>
> Regards,
>
> Rick
>
>
> eLgino wrote:
>
> > hi folks,
> > i know its the false maillinglist but i will not join the real one, because
> > the traffic is to small.
> >
> > Now my Problem:
> >
> > i have installed qmail with SMTP-Auth, and all works fine with Outlook
> > Express of MS!, but when i try to connect via telnet "telnet host 25" and
> do
> > a "auth login" and enter my username (VALID!) and password (VALID!) it
> > comes: "user invalid -ֽ-z                     235 auth failure, but go
> > ahead", is use it with vpopmail my startscript:
> >
> > /var/qmail/supervise/qmail-smtpd/run
> > #!/bin/sh
> > exec /usr/local/bin/softlimit -m 40000000
> > /usr/local/bin/tcpserver -H -l0 -R -c 512 -DUHR -ln3rd.at -c200 0 25
> > /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /usr/bin/true
> 2>&1
> >
> > and, yes the
> > /usr/local/vpopmail/bin/vchkpw is SUIDED and GUIDED to vpopmail:vchkpw
> >
> > thanks in advance
> > and sry if i send a html-mail
> >
> >
>
>
>




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


Reply via email to