I have a server with postfix
and a plain text authentication.
It accepts both TLS and non-TLS authentication.
How can I force the server to deny all non TLS queries so that the mail users never send their username and passwords in clear text when login in?
To make thinks clear, if [email protected]
is the recipient and [email protected]
the local sender:
I want this command to work (since there is the
--tls
option):swaks --tls --to [email protected] --from -a [email protected] -auth CRAM-MD5 --auth-user [email protected]
and that command to fail (since
--tls
is missing):swaks --to [email protected] --from -a [email protected] -auth CRAM-MD5 --auth-user [email protected]