I think the problem is the argument to the "smtp-auth-command"
parameter. Because there is a space between "vchkpw" and "/bin/true",
spamdyke doesn't know they should both be part of the
"smtp-auth-command". When an incoming connection starts, spamdyke runs
the "/bin/true" executable instead of "/var/qmail/bin/qmail-smtpd".
To solve this, try putting the entire "smtp-auth-command" parameter in
quotes, like this:
... --smtp-auth-command "/home/vpopmail/bin/vchkpw /bin/true" \
/var/qmail/bin/qmail-smtpd
-- Sam Clippinger
Kulkarni Shantanu wrote:
> hello,
> i am trying smtp auth with spamdyke first time. previously i had used dr.
> hoffman's smtp auth patch on few other servers, but frankly i am a bit
> old-fashioned, preferring pop-before-smtp over smtp-auth.
>
> i have netqmail-1.05 (lwq style) install with john simpson's validrcptto.cdb
> path
> and vpopmail. my run file contains,
>
> tcpserver ... \
> /var/qmail/bin/spamdyke408 --log-target stderr -lverbose -a 20 \
> --smtp-auth-level always --smtp-auth-command /home/vpopmail/bin/vchkpw
> /bin/true \
> /var/qmail/bin/qmail-smtpd
>
> but when i try,
>
> $ telnet XX.XXX.XX.XXX 465
> Trying XX.XXX.XX.XXX...
> Connected to XX.XXX.XX.XXX
> Escape character is '^]'.
> Connection closed by foreign host.
>
> smtp log show,
> @400000004abcef43191735cc tcpserver: pid 31631 from 59.95.6.138
> @400000004abcef4319174954 tcpserver: ok 31631 mail.xxx.xxx:XX.XXX.XX.XXX:465
> :59.95.6.138::55002
> @400000004abcef431dbd848c tcpserver: end 31631 status 0
> @400000004abcef431dbd9fe4 tcpserver: status: 0/40
>
> i have re-read the smtp auth part in the README, but not getting what i
> am missing in the run file. some help will be great.
>
> thanks in advance.
> Shantanu
>
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users