Snawoot / postfix-mta-sts-resolver

Daemon which provides TLS client policy for Postfix via socketmap, according to domain MTA-STS policy
MIT License
117 stars 23 forks source link

Require SNI by default to make MTA comply with RFC 8461 #64

Closed Snawoot closed 4 years ago

Snawoot commented 4 years ago

Purpose of proposed changes

This PR resolves RFC 8461 incompliance spotted by Ján Máté: in order to comply with standard MTA-STS-enabled server has to use SNI extension in it's TLS dialouts. Necessary support for SNI was introduced in Postfix 3.4+ and older version do not support options which require SNI.

So this PR contains breaking change which makes SNI requirement default, but leaves config option to resort to old behavior.

Essential steps taken

Practical changes happened in code: