hi

i have qmail toaster which also incorporates chkuser in it and vpopmail user 
mysql database for storing passwords. i have disabled chkuser in the tcp.smtp 
file. i have also disable rblsmtpd and blacklists files since the same is done 
by spamdyke

where i am getting confused pertains to smtp authentication and relaying.

-d /var/qmail/control/rcpthosts
now qmail installation has rcpthosts and morercpthosts ? how do i handle that ? 
or should i create a seperate rcpthosts file specially for spamdyke

concerning smtp authentication
what i need is every email user on my server  who sends out emails should smtp 
authenticate before sending email.

do i need to use the flag
--access-file /etc/tcp.smtp
what should be the content of this file


help required please.


/var/qmail/supervise/smtp/run file
#########

#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
BLACKLIST=`cat /var/qmail/control/blacklists`
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
RBLSMTPD="/usr/bin/rblsmtpd"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 12000000 \
/usr/bin/tcpserver -v -R -H -l $HOSTNAME \ 
-x $TCP_CDB -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \

/usr/local/bin/spamdyke \
-l \
--reject-missing-sender-mx \
--smtp-auth-command-encryption "/home/vpopmail/bin/vchkpw /bin/true" --hostname 
ns1.abc.com \
--access-file /var/qmail/spamdyke/tcp.smtp \
$SMTPD $VCHKPW /bin/true 2>&1


#########

result of my password check
Beginning unencrypted password test.
Sending data to child process: [EMAIL PROTECTED]
Test result: SUCCESS

Beginning CRAM-MD5 encrypted password test.
Sending data to child process: [EMAIL PROTECTED]
ERROR: Child process exited with an undocumented return code: 3
Test result: FAILURE (perhaps /home/vpopmail/bin/vchkpw doesn't support 
CRAM-MD5)

########
tcp.smtp file
127.:allow,RELAYCLIENT="",DKSIGN="/var/qmail/control/domainkeys/%/private",NOP0FCHECK="1",CHKUSER_START="NONE"
:allow,BADMIMETYPE="",BADLOADERTYPE="",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",DKVERIFY="DEGIJKfh",QMAILQUEUE="/var/qmail/bin/simscan",DKQUEUE="/var/qmail/bin/qmail-queue.orig",
 NOP0FCHECK="1", CHKUSER_START="ALWAYS"


Thanks very much

raj
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to