Sam, Yes I'm on 5.0.1.
I've paired the configuration file down to: qmail-rcpthosts-file=/var/qmail/control/rcpthosts recipient-validation-command=/usr/local/bin/spamdyke-qrv reject-recipient=invalid max-recipients=5 idle-timeout-secs=300 tls-level=smtp-no-passthrough tls-certificate-file=/usr/local/etc/ssl/certs/dovecot.pem tls-privatekey-file=/usr/local/etc/ssl/private/dovecot.pem filter-level=require-auth smtp-auth-level=always smtp-auth-command=/usr/local/bin/checkpassword-pam -s smtp /bin/trueIf I comment out the smpt-auth-level so it uses qmail, I get the STARTTLS, this way I don't.
I'm still trying to figure out the qmail auth failure. This one is a real head-stratcher. It's timing out so it looks like the pipe isn't connecting to checkpasswd-pam. I tried hard-coding the string that was sent (and works fine on external checkpasswd-pam tests) but it still times out. However, spamdyke's auth works fine which is how I discovered the above problem.
Gary On 08/24/2015 12:26 PM, Sam Clippinger via spamdyke-users wrote:
What version of spamdyke are you using? I fixed a bug related to this in 5.0.1... that doesn't mean there isn't another bug, I just want to make sure you're on that version before I spend time chasing a bug that's already fixed. :)If you are on 5.0.1, could you post your configuration file that shows how to reproduce this? That'll probably save me quite a bit of time.-- Sam ClippingerOn Aug 21, 2015, at 1:54 PM, Gary Gendel via spamdyke-users <firstname.lastname@example.org <mailto:email@example.com>> wrote:Sam,If I use qmail with smtp auth, then spamdyke announces STARTTLS capabilities, but if I have spamdyke do it then it doesn't. It's there and works, but it isn't announced in the ehlo response.gary@abby ~> openssl s_client -starttls smtp -crlf -connect tardis.genashor.com <http://tardis.genashor.com>:587 -starttls smtpCONNECTED(00000003) didn't found starttls in server response, try anyway...depth=2 C = IL, O = StartCom Ltd., OU = Secure Digital Certificate Signing, CN = StartCom Certification Authorityverify return:1depth=1 C = IL, O = StartCom Ltd., OU = Secure Digital Certificate Signing, CN = StartCom Class 1 Primary Intermediate Server CAI'm trying to use spamdyke for auth because qmail auth doesn't seem to work for me. If I test checkpassword-pam outside it works, but from qmail it just hangs for a few seconds than then fails. I'll figure it out but I wanted to report this quirk.Gary _______________________________________________ spamdyke-users mailing list firstname.lastname@example.org <mailto:email@example.com> http://www.spamdyke.org/mailman/listinfo/spamdyke-users_______________________________________________ spamdyke-users mailing list firstname.lastname@example.org http://www.spamdyke.org/mailman/listinfo/spamdyke-users
Description: S/MIME Cryptographic Signature
_______________________________________________ spamdyke-users mailing list email@example.com http://www.spamdyke.org/mailman/listinfo/spamdyke-users