Re: SMTP-AUTH problem with vchkpw

Rick Macdougall <[email protected]>
Newsgroups gmane.mail.vpopmail
Message-ID <[email protected]>
On 01/07/2011 12:54 PM, [email protected] wrote:
>
> User vpopmail realy exists. I also cannot find the
> difference between working x86 server configuration and the new
> amd64 one. I tried to reconfigure my system from no-multilib to
> multilib and to reemerge netqmail and vpopmail ebuilds, but still no
> success. :( Is there some way to debug that plain SMTP-AUTH to figure
> out what is really happening?
>

Hi,

You can use recordio (part of one of djb's packages) to log everything 
that happens within an smtp conversation.

http://cr.yp.to/ucspi-tcp/recordio.html

ie

/service/qmail-smtpd/run

#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 12000000 \
     /usr/local/bin/tcpserver -v -h -R \
     -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
     -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
     /usr/local/bin/rblsmtpd -t 2 -b \
     -r cbl.aei.ca \
     -r bl.spamcop.net \
     recordio /var/qmail/bin/qmail-smtpd \
     /home/vpopmail/bin/vchkpw /bin/true 2>&1

Rick

!DSPAM:4e0f243632713934528930!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.