Hi all,

I have been running spamdyke for a couple of years with qmail + smtp-auth 
patch. Works fine but I want to use spamdyke smtp-auth with vanilla qmail.

I simply cannot get spamdyke to offer auth. Here are details of xinetd, 
spamdyke.conf, telnet session, etc for both old and new test versions. I am 
not certain of what spamdyke expects in the access-file, except that 
config-test complains if it's not there.

My local domain on the server is iceberg.co.za and spamdyke allows 
connections from any local sender to any outside address with asking for 
auth. If I use a non-lcal sender, spamdyke gives "554 Refused. Access is 
denied.".

Live 3.x spamdyke with qmail+smtpauth
=====================================
xinetd entry:
------------
server          = /var/qmail/bin/tcp-env
server_args     = -Rt0 /usr/local/bin/spamdyke -f 
/usr/np/mail/spamdyke/spamdyke.conf
 /var/qmail/bin/qmail-smtpdauth /var/qmail/bin/checkpassword /bin/true

Telnet session:
---------------
# telnet 66.132.228.161 25
Trying 66.132.228.161...
Connected to ns2.netpartner.co.za (66.132.228.161).
Escape character is '^]'.
220 ns2.netpartner.co.za ESMTP
mail from: <chris AT iceberg DOT co DOT za>
250 ok
rcpt to: <chrispatrob AT gmail DOT com>
530 Authentication required
quit
221 ns2.netpartner.co.za
Connection closed by foreign host.

FINE. As it should be.

Test 4.0.19 spamdyke with vanilla mail
=====================================
server          = /var/qmail/bin/tcp-env
server_args     = -Rt0 /usr/local/bin/spamdyke.v4 -f 
/usr/np/mail/spamdyke/spamdyke.conf.v4
 /var/qmail/bin/qmail-smtpd.orig

File spamdyke.conf.v4:
-----------------
smtp-auth-level=always
smtp-auth-command=/var/qmail/bin/checkpassword /bin/true
relay-level=normal
local-domains-file=/var/qmail/control/rcpthosts
access-file=/usr/np/mail/spamdyke/access

File access:
------------
:allow (I have tried changing this to 'deny')

config-test output:
-------------------
WARNING: Running tests as superuser root(0), group root(0). ....
WARNING: /var/qmail/bin/qmail-smtpd.orig appears to offer TLS support but 
spamdyke was not compiled with TLS support....
SUCCESS: /var/qmail/bin/qmail-smtpd.orig does not appear to offer SMTP AUTH 
support.
 spamdyke will offer and process all authentication itself.
SUCCESS(access-file): Opened for reading: /usr/np/mail/spamdyke/access
SUCCESS(config-file): Opened for reading: 
/usr/np/mail/spamdyke/spamdyke.conf.v4

Telnet session:
---------------
telnet 66.132.228.161 2525
Trying 66.132.228.161...
Connected to ns2.netpartner.co.za (66.132.228.161).
Escape character is '^]'.
220 ns2.netpartner.co.za ESMTP
mail from: <chris AT iceberg DOT co DOT za>
250 ok
rcpt to: <chrispatrob AT gmail DOT com>
250 ok
quit
221 ns2.netpartner.co.za
Connection closed by foreign host.

WRONG. Why?

Any help hugely appreciated.

Chris 

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

Reply via email to