#smtp #transport #delivery #mailer #maildir #lmtp

samotop-delivery

Set of transports to deliver mail to, notably to SMTP/LMTP, but also maildir

7 unstable releases

0.13.1 Jan 30, 2022
0.13.0 Aug 4, 2021
0.12.0 Feb 6, 2021
0.5.0 Nov 21, 2020
0.4.4 Oct 30, 2020

#180 in Email

Download history 5/week @ 2023-12-17 3/week @ 2023-12-24 14/week @ 2024-01-07 2/week @ 2024-01-14 19/week @ 2024-01-21 86/week @ 2024-01-28 89/week @ 2024-02-04 89/week @ 2024-02-11 80/week @ 2024-02-18 72/week @ 2024-02-25 104/week @ 2024-03-03 87/week @ 2024-03-10 76/week @ 2024-03-17 50/week @ 2024-03-24 92/week @ 2024-03-31

315 downloads per month
Used in 2 crates (via samotop)

MIT/Apache

335KB
9K SLoC

samotop-delivery 0.13.1

Mail dispatch abstraction

samotop-delivery is a set of transports to deliver mail to, notably to SMTP/LMTP, but also maildir... It is used in Samotop as a dispatch solution for incoming mail, but you can use it to send mail, too.

Features

  • Do it SMTP style:
    • Speak SMTP
    • Speak LMTP
    • Connect over TCP
    • Connect over Unix sockets
    • Connect to a Child process IO
    • TLS support on all connections
    • Reuse established connections
  • Do it locally:
    • Write mail to a MailDir
    • Write mail to lozizol journal
    • Write mail to an MBox file - contributions welcome
    • Write mail to a single dir - fit for debug only
  • Popular integrations:
    • Send mail with sendmail

LMTP on Unix socket enables wide range of local delivery integrations, dovecot or postfix for instance. Some mail delivery programs speak LMTP, too.

Credits

This is a fork of async-smtp from the awesome delta.chat project.

License - MIT OR Apache-2.0

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~6–18MB
~226K SLoC