GithubHelp home page GithubHelp logo

smtpbis's People

Contributors

ibotty avatar jothan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

smtpbis's Issues

Consider support for LMTP

I have a use case where I'd like to use LMTP (https://tools.ietf.org/html/rfc2033). I think this might not be too difficult to add as it's basically SMTP with 1 or 2 changes.

The main thing to add would be LHLO as well as the existing HELO and EHLO.

Then for each RCPT I want to be able to accept or reject.

At the moment incoming LMTP connections get a syntax error. A quick work around would be to add a syntax_error to the Handler, so that I could override and process the LHLO myself.

What are your thoughts? Thanks.

Crosslinking Samotop

Hi,

  1. Would you link Samotop and smtpbit projects?
  2. Would you have anything to add to my link? I'm adding info about existing company, such as:
  • smtpbis and rustyknife by Jonathan Bastien-Filiatrault are SMTP libraries on async and tokio.
    • same: async.
    • different: Samotop moved to async-std, smtpbis is on tokio.
    • ...
  • mailin by Saul Hazledine is quite similar to samotop:
    • same: recent activity (Mailin last commits: Feb 2020)
    • same: enables writing SMTP servers in Rust.
    • same: includes SMTP parsing, responding and an SMTP state machine.
    • different: Samotop uses PEG, Mailin uses Nom to define the SMTP parser.
    • different: Samotop is async while Mailin runs on bare std blocking IO. Async introduces more dependencies, but allows us to shift to the new IO paradigm. In Samotop, the SMTP session is handled as a stream of commands and responses. Mailin uses a threadpool to schedule work, Samotop can run on a single thread thanks to async.
    • not too different: samotop includes a default TCP server and enables the user to implement it differently, mailin expects the user to provide a socket but a TCP server is available in mailin-embedded. Thanks to this, Mailin alone has much smaller dependency footprint. Samotop may follow suit to split the crates.
    • ...

So hopefully people searching for SMTP libs will find them all at once :) not like me

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.