Closed titanism closed 1 year ago
requireTLS
is intentionally missing, to detect policy violation if a MITM removes the STARTTLS extension: https://github.com/zone-eu/zone-mta/blob/5daa48eea4aa05e724eb2ab80fd3a957e6cc8c6c/lib/sender.js#L1271
opportunisticTLS
option seems to be invalid, or rather - it has no effect right now. I think I need to fix it to true
🤔
It already is fixed. See https://github.com/zone-eu/zone-mta/blob/e9b90b60adf0e213ace9dffacba4b8475a5eff71/lib/sender.js#L1103. You fixed it 3 days ago but the commit I linked was to (older) code.
Briefly mentioned in an email to you @andris9 – but filing the issue here on GitHub.
I noticed you are missing
requireTLS: enforceTLS
option altogether, and the option foropportunisticTLS: !!enforceTLS
is incorrect, as it should instead beoppportunisticTLS: !Boolean(enforceTLS)
(the inverse of boolean).https://github.com/zone-eu/zone-mta/blob/5daa48eea4aa05e724eb2ab80fd3a957e6cc8c6c/lib/sender.js#L1103