On Fri, May 20, 2005 at 12:26:18PM +0530, Harindra Patel wrote:
> i have qmail-ldap patched and
> 
> I have tcp.smtp file::
> 
> 172.16.2.:allow,RCPTCHECK="",SMTPAUTH=""
> 
> and run file is::
> 
> #!/bin/sh
> 
> QMAILDUID=`/usr/xpg4/bin/id -u qmaild`
> NOFILESGID=`/usr/xpg4/bin/id -g qmaild`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> LOCAL=`head -1 /var/qmail/control/me`
> 
> exec /usr/local/bin/softlimit -m 50000000 \
>     /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c 
> "$MAXSMTP
> D" \
>         -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd \
>  /var/qmail/bin/auth_smtp /usr/bin/true 2>&1
> 

With current qmail-ldap this is not correct. There is no need to add
/var/qmail/bin/auth_smtp /usr/bin/true to the command line.
Have a look at /var/qmail/boot/qmail-smtpd/run

> Still my SMTPAUTH is not working..what else otherthing i have to do?? i dont 
> know please anyone suggest me.
> 

Connect to your smtp server from the 172.16.2/24 network and issue a "EHLO
dude" and look at the output. Is there a AUTH line?

Also set the LOGLEVEL to something like 3 and have a look at the log. e.g.
@40000000428d91331b062104 qmail-smtpd 14302: enabled options: max msg
size: 10485760 starttls sanitycheck returnmxcheck blockrelayprobe rblcheck
smtp-auth rejectexecutables 

As you can see my server has smtp-auth enabled.

-- 
:wq Claudio

Reply via email to