#mail-server #dns #discovery #discover #domain #srv

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

#253 in Email

31 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
~278K SLoC