Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ability to pass resolver to lookup MTA-STS policy #6

Closed
titanism opened this issue Mar 3, 2023 · 2 comments
Closed

feat: ability to pass resolver to lookup MTA-STS policy #6

titanism opened this issue Mar 3, 2023 · 2 comments

Comments

@titanism
Copy link
Contributor

titanism commented Mar 3, 2023

Per https://github.com/postalsys/mailauth/blob/29b17af91524fddbd12c3df71ad7d597fd62a996/lib/mta-sts.js#L18 there is support for custom resolver. Perhaps mtaSts options can support a resolver? Or the parent resolver can be passed along that is specified under dnsOptions.resolve?

@andris9
Copy link
Member

andris9 commented Mar 3, 2023

Passed the resolver option in v1.4.2. Though it does not matter much in the context of MTA-STS as DNS is only a small part of it - most checks are run over HTTPS. DNS query is only used to detect if there is a reason to re-check the policy file, but no actual information is stored in the DNS key.

@andris9 andris9 closed this as completed Mar 3, 2023
@titanism
Copy link
Contributor Author

titanism commented Mar 3, 2023

Thank you @andris9 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants