Re: qmail + spamcontrol patch SMTP auth



Another piece of data, there is always about a 2-3 second delay before
the auth rejects. Not sure if this is standard behavior or a symptom
of the problem. Almost seems like the auth-mechanism is busy,
perhaps, and spamcontrol bails on waiting for it to respond? Dunno,
that's a bit of a shot in the dark.


On Jul 30, 11:10 pm, wkoffel <wkof...@xxxxxxxxx> wrote:
Hi folks. I'm really hoping someone can take a stab at an auth issue
for me. I've done my homework, and just can't seem to pass the test.

I have a qmail-1.03 setup with spamcontrol-2418 patches applied. I
have my run line setup:

export SMTPAUTH=""
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 /var/qmail/bin/qmail-
smtpd /bin/cmd5checkpw /bin/true 2>&1

The problem is that no matter what I do, I can't get authorization to
pass. I have confirmed that it is running fine using /usr/local/bin/
recordio directly on the command line. I have also confirmed that it
works fine through qmail-popup tests:

sudo -u qmaild /var/qmail/bin/qmail-popup blah /bin/cmd5checkpw id

In fact, every test I can put together confirms that both /bin/
cmd5checkpw (against qmail/users/authuser) and /bin/checkpassword
(against system users) both work fine. I've authenticated against
them running as root, qmaild, and my local user, so I'm pretty sure
it's not the standard permissions issues.

But whenever it's running within tcpserver on port 25, auth fails
every time, with the standard:
Reject::ORIG::Failed_Auth: P:ESMTPA S:***my ip/host*** H: 'login' ?=
'wkoffel'

Any thoughts at all here? I had an older smtp auth patch working, but
I needed some other features of spamcontrol and didn't want to hand-
merge patches together.

I have years of history with qmail, and know once I can crack this
nut, it'll be back to running smoothly for me again, but this one is
driving me nuts!


.



Relevant Pages

  • Re: Authentifizierung an Webproxi(es)
    ... draussen sind und am Webproxy des Netzwerks INTERN bei der Auth. ... Standard ... Ne Idee an was das noch liegen kann dass ...
    (microsoft.public.de.german.isaserver)
  • Re: Authentifizierung an Webproxi(es)
    ... draussen sind und am Webproxy des Netzwerks INTERN bei der Auth. ... Standard oder Integriert aktiv ist. ... Gruss jens ...
    (microsoft.public.de.german.isaserver)
  • Net::SMTP auth()
    ... Any one know at what point one needs to do auth() in a standard Net::SMTP session? ... Dan ...
    (perl.beginners)
  • qmail + spamcontrol patch SMTP auth
    ... (against system users) ... it's not the standard permissions issues. ... But whenever it's running within tcpserver on port 25, auth fails ... nut, it'll be back to running smoothly for me again, but this one is ...
    (comp.mail.misc)
  • Mast base connection question for old longboard
    ... I have a standard US cup mast base with the threaded rod out the bottom ... which has the square nut on the end which all goes in the standard ... Can I just substitute my square deck nut used in my standard mast slot ...
    (rec.windsurfing)