I discovered SpamDyke 2.6.3 today and it seems amazing - exactly what I'm 
looking for! I mainly plan to use SpamDyke for its SMTP AUTH capabilities. I 
have it compiled and installed, and using the util "passwordcheck", I have 
been able to verify that plain text auth is working. MD5 is not, but I will 
tackle that next...

The problem arises with the SMTP Authorization - qmail does not seem to care 
when SpamDyke authorizes me. If I tell my email client (OE) that my server 
requires authentication, then it logs in properly and SpamDyke logs 
"ALLOWED...", and sends it on to Qmail. Qmail, however, is stopping the 
email, saying it is not allowed to relay ("that domain is not in my list of 
hosts"). Basically, SpamDyke is recognizing me, but not telling Qmail that I 
have been authenticated.

/service/qmail-smtpd/run:
#!/bin/sh
exec /usr/local/bin/tcpserver -p -R -x \
/home/vpopmail/etc/tcp.smtp.cdb -u92 -g93 -v -c100 0 smtp \
/usr/local/bin/spamdyke -l -d /var/qmail/control/rcpthosts \
  --smtp-auth-command "/home/vpopmail/bin/vchkpw /bin/true" \
  --hostname "mail.sudoklue.com" \
  --access-file "/home/vpopmail/etc/tcp.smtp" \
  --reject-empty-rdns \
  --reject-unresolvable-rdns \
  --reject-missing-sender-mx \
/var/qmail/bin/qmail-smtpd \
/home/vpopmail/bin/vchkpw /bin/true \
2>&1

Running: Fedora Core release 4
vpopmail 5.4.17
netqmail-1.05


Also, in case this helps:
passwordcheck did not work until I chowned vchkpw to "root" and chmod'd it 
to "4711"
Here is its output:
passwordcheck -u [email] -p [pw] -- /home/vpopmail/bin/vchkpw /bin/true

Beginning unencrypted password test.
Sending data to child process: [email]\0[pw]\0\0
Test result: SUCCESS

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


_______________________________________________
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to