https://github.com/stalwartlabs/smtp-proto
SMTP protocol parsing library for Rust
https://github.com/stalwartlabs/smtp-proto
lmtp parser rust smtp
Last synced: about 1 year ago
JSON representation
SMTP protocol parsing library for Rust
- Host: GitHub
- URL: https://github.com/stalwartlabs/smtp-proto
- Owner: stalwartlabs
- Created: 2022-12-02T07:16:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-01T19:10:14.000Z (over 1 year ago)
- Last Synced: 2025-04-02T04:08:06.196Z (over 1 year ago)
- Topics: lmtp, parser, rust, smtp
- Language: Rust
- Homepage:
- Size: 232 KB
- Stars: 17
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# smtp-proto
[](https://crates.io/crates/smtp-proto)
[](https://github.com/stalwartlabs/sieve/actions/workflows/rust.yml)
[](https://docs.rs/smtp-proto)
[](https://opensource.org/licenses/MIT)
[](https://opensource.org/licenses/Apache-2.0)
_smtp-proto_ is a fast SMTP/LMTP parser for Rust that supports all [registered SMTP service extensions](https://www.iana.org/assignments/mail-parameters/mail-parameters.xhtml).
The library is part of Stalwart SMTP and LMTP servers. It is not yet documented so if you need help using the library please start a discussion.
## Testing & Fuzzing
To run the testsuite:
```bash
$ cargo test
```
To fuzz the library with `cargo-fuzz`:
```bash
$ cargo +nightly fuzz run smtp_proto
```
## License
Licensed under either of
* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
## Copyright
Copyright (C) 2020, Stalwart Labs LLC