Qmail and LDAP and Dspam = Ownage

From Docupedia

Command Reference

# Restarting daemons using supervise.d
sudo svc -t /etc/supervise.d/qmail-send
sudo svc -t /etc/supervise.d/qmail-smtpd
#Qmail logs you'll want to look in
/opt/qmail/log/qmail/current
/opt/qmail/log/qmail-smtpd-ssl/current
#Dovecot logs
/var/log/mail
#Manually test dovecot pop and imap ssl connections.
#> openssl s_client -host braque -port 995
# or 
#> openssl s_client -host braque -port 993
#For imap type 
---
* OK Dovecot ready.
A01 CAPABILITY
* CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS AUTH=PLAIN
A01 OK Capability completed.
# Should return.
[jsmith@braque:/etc/supervise.d/qmail-smtpd] (pts/2)
[Mon Dec 10 11:51:25]$ sudo svstat .
.: up (pid 22229) 1029399 seconds


if you're getting a valid ssl connection then ssl isn't the problem it's the LDAP integration that's broken if you get repompted for a pw

Make sure you check the loggin daemon:

sudo svstat /etc/supervise.d/qmail-smtpd/log/
sudo svc -u /etc/supervise.d/qmail-smtpd/log/

Restarting the daemons that you shouldn't have to

sudo svc -t /etc/supervise.d/qmail*

Make sure all the loggers are enabled if something is wacky:

sudo svc -u /etc/supervise.d/*/log