#dns #discover #server #dns-client

dns-mail-discover

A dns based mail server discovery crate

4 releases

0.2.7 Sep 15, 2023
0.2.6 Aug 20, 2023
0.2.5 Aug 17, 2023
0.2.3 Aug 17, 2023

#168 in Email

Download history 61/week @ 2023-08-17 12/week @ 2023-08-24 5/week @ 2023-08-31 6/week @ 2023-09-07 37/week @ 2023-09-14 12/week @ 2023-09-21

64 downloads per month
Used in dust-mail

MIT license

30KB
422 lines

Dns mail discover

This crate is able to take any domain (stripped from an email address) and find its corresponding email servers using DNS-based SRV lookup. It also tries some basic heuristics, such as mail.{domain} or imap.{domain} and checks if there are any functioning mail servers.

Dependencies

~6–20MB
~292K SLoC