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

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

#342 in Email


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

~7–19MB
~290K SLoC