I've been trying to get the smtp_auth that came with this patch working.
There isn't much documentation for that function.  Anyways, this is the
error that I am receiving:

--[snip]--
@400000003dd5baac03dbffbc tcpserver: status: 1/20
@400000003dd5baac04954184 qmail-smtpd 1217: remote ehlo = UNXMASTER 
@400000003dd5baac04976464 qmail-smtpd 1217: max msg size = 0 
@400000003dd5baae091c5fe4 qmail-smtpd 1217: inf: SMTP AUTH: failed login
for  jda 
@400000003dd5baae0a31fe34 qmail-smtpd 1217: read error, connection
closed
@400000003dd5baae0a35d694 tcpserver: end 1217 status 256
@400000003dd5baae0a35f9bc tcpserver: status: 0/20
--[snip]--

I am using daemontools, and this is the rc script that I am using:

--[snip]--
#!/bin/sh

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
HOST=`head -1 /var/qmail/control/me`

if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$HOST"
]; then
    echo QMAILDUID, NOFILESGID, MAXSMTPD, or HOST is unset in
    echo /var/qmail/supervise/qmail-smtpd/run
    exit 1
fi
exec /usr/local/bin/softlimit -m 4000000 \
        /usr/local/bin/tcpserver -v -R -l "$HOST" -x /etc/tcp.smtp.cdb
-c "$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/pbscheck
/var/qmail/bin/qmail-smtpd \
        /var/qmail/bin/auth_smtp 2>&1
--[snip]--

Am I calling auth_smtp correctly?

I have installed a stock qmail-1.03 and patched it with
qmail-ldap-1.03-20021001.patch and
qmail-ldap-1.03-20021001-control-20021014b-authsmtp-by-Jason



                                                      .~.
                                                      /v\
--                                                   // \\
JA                                                  /(   )\
                                                     ^`~`^
                                                   L I N U X
[-----------------------------------------------------------]
 Justin Ainsworth                      Systems Administrator
 PHONE: (530) 879-5660x108                    Sunset Net LLC
 FAX:   (530) 879-5676                     1915 Mangrove Ave
 WEB:   http://www.sunset.net                Chico, CA 95926   
 EMAIL: [EMAIL PROTECTED]         
[-----------------------------------------------------------] 

> -----Original Message-----
> From: Jason Hwang [mailto:qxhuang@;263.net] 
> Sent: Thursday, November 14, 2002 7:20 PM
> To: Didier Geheniau
> Cc: [EMAIL PROTECTED]
> Subject: Re: Smtp_auth vs qmail-ldap and qmailcontrol
> 
> 
> Hi, Didier Geheniau
> 
>    Try 
> http://downloads.mrball.net/qmail-ldap/qmail-ldap-1.03-2002100
1-control-20021014b-authsmtp-by-Jason.patch.gz
   It has both qmail-ldap-control_20020524.patch and
smtp-auth patch, but it's for qmail-ldap-1.03-20021001.patch.
   I haven't tried it with qmail-ldap-1.03-20021101.patch.

Jason Hwang
======= 2002-11-13 13:47:00 Old Message ======
>Hi all,
>
>I have a problem with patching
>
>qmail-ldap-control_20020524.patch
>smtp-auth-20020501a.patch
>
>Or
>
>smtp-auth-20020501a.patch
>qmail-ldap-control_20020524.patch
>
>On
>
>Qmail-1.03 patched with qmail-ldap-1.03-20021101.patch
>
>Only one of both is working
>
>And of course I want them both
>
>Regards,
>
>Didier



Reply via email to