W
W
wrench10x122014-04-04 10:50:13
postfix
wrench10x12, 2014-04-04 10:50:13

Postfix: how to set up TLS/SSL for all but a few servers?

Situation: the organization has a postfix mail server, raised by no one knows who knows when. It is necessary to configure the reception of mail so that everyone goes to it only via tls / ssl, with the exception of several separately registered mail servers, which should go via regular smtp. The option to reconfigure those servers to ssl is out of the question for reasons beyond our control.
Please let me know if this is possible and where to look.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Burca, 2014-04-10
@wrench10x12

In /etc/postfix/master.cf duplicate the smtps entry, specify for the second network with which authorization will be only via SSL (or repeat the entry for each IP).
It should look like this:
smtps inet n - - - - smtpd
...
-o smtpd_tls_security_level = may
-o smtpd_tls_auth_only = yes
...
123.123.123.123:smtps inet n - - - - smtpd
...
-o smtpd_tls_security_level = may
- o smtpd_tls_auth_only = may
...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question