swaks – mail server testing tool
If you dont like using telnet to test a remote or local smtp server , swaks is a neat little tool to do the job for you.
its also available ( suprise suprise … ) in the freebsd ports : /usr/ports/mail/swaks.
found it first here
Limit account number in qmailadmin
you can do this by creating ( or editing ) /var/vpopmail/domains/domainname/.qmailadmin-limits , the below code will limit all settings to 30 accounts per feature.
maxpopaccounts: 30
maxaliases: 30
maxforwards: 30
maxautoresponders: 30
maxmailinglists: 30
Svc command line switches
-u: Up. If the service is not running, start it. If the service stops, restart it.
-d: Down. If the service is running, send it a TERM signal and then a CONT signal. After it stops, do not restart it.
-o: Once. If the service is not running, start it. Do not restart it if it [...]
Qmail-tls notes
I am using Bill Shuff's toaster patch ( thanks bill , you rule ! ) , for some reason make cert did not work. I create the certs manually :
#openssl req -newkey rsa:1024 -x509 -nodes -days 3650 -out servercert.pem -keyout servercert.pem
qmail did show TLS up but i got an error :
#openssl s_client -debug [...]
My qmail-scanner configure line
I always forget it …
./configure –sa-report yes –sa-debug yes –sa-alt yes –sa-subject “[SPAM]>>” –log-details yes –sa-quarantine 10 –sa-reject 15 –install

