Bruno Negrao wrote:
When you said "specify STARTTLS in smtpd.cdb", is STARTTLS an
environment variable? If it is, where did you learn about it?
It is to be passed to SMTPAUTH. It works for me. I have not passed it
TLSREQUIRED.
Sameer, in fact SMPTAUTH can have the value "TLSREQUIRED" or
any-value, for example "" (an empty string). So, when you pass the
string "STARTTLS" in SMTPAUTH, qmail-smtpd reconizes it as any-value,
and enables smtp authentication.
Yep, I know that it works if SMTPAUTH has non-empty string. Its just
that I was too lazy to mention it. But not sure if it qmail-smtpd will
start tls if SMTPAUTH is given empty string. Never tried that one, and
don't have a spare server to test all that.. :-(
(assuming smtpcert and cert.pem is in place)
--
Sameer N. Ingole