Search

Lib.rs

› Email
#dns #mail-server #discovery #srv

dns-mail-discover

A dns based mail server discovery crate

Owned by Guus van Meerveld.

  • Install
  • API reference
  • GitHub repo (dust-mail)

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

#790 in Email

29 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

~11–22MB
~341K SLoC

  • async-native-tls 0.5
  • runtime-async-std? async-std 1.12+attributes
  • runtime-async-std? async-std-resolver 0.22
  • log
  • runtime-tokio tokio+net+macros
  • trust-dns-resolver 0.22
  • dev env_logger 0.10
Related: autoconfig
See also: mailcrab, stalwart, mhost, mailboar, google-discovery1, wolfram-app-discovery, saorsa-gossip-presence, faery-ring, speer-chat, hdds-discovery-server, rust-ipfs

Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski. It contains data from multiple sources, including heuristics, and manually curated data. Content of this page is not necessarily endorsed by the authors of the crate. This site is not affiliated with nor endorsed by the Rust Project. If something is missing or incorrect, please file a bug.