haraka / haraka-plugin-spf

SPF plugin for Haraka
https://www.npmjs.com/package/haraka-plugin-spf
MIT License
2 stars 5 forks source link

Fix mx_mech handling #26

Closed smfreegard closed 2 months ago

smfreegard commented 2 months ago

Fix mx_mech evaluations; currently it will only look up the first MX record address and compare that against the list of valid IPs due to the old async pending checks being left in place which cannot be used when async/await is used as they will always evaluate to a truthy value.

Checklist:

smfreegard commented 2 months ago

Please can I suggest that a new release be done as soon as this is merged as this is quite a nasty bug.