chatmail / chatmail/async-smtp

Add RFC 9422 (LIMITS extension) support

Open
#70 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
74
Forks
16
PR merge metrics
No merged PRs in 30d

Description

[RFC 9422](https://www.ietf.org/rfc/rfc9422.html) adds `LIMITS` extension.

It is supported by Exim since version 4.98 and looks like this:
```
220 debian-exim ESMTP Exim 4.98 Tue, 03 Dec 2024 04:08:41 +0000
EHLO [127.0.0.1]
250-debian-exim Hello [127.0.0.1] [XXX]
250-SIZE 52428800
250-LIMITS MAILMAX=1000 RCPTMAX=50000
250-8BITMIME
250-PIPELINING
250-PIPECONNECT
250-CHUNKING
250-STARTTLS
250-PRDR
250 HELP
```

Parsed [`MAILMAX`](https://www.ietf.org/rfc/rfc9422.html#name-mailmax-limit), [`RCPTMAX`](https://www.ietf.org/rfc/rfc9422.html#name-rcptmax-limit) and [`RCPTDOMAINMAX`](https://www.ietf.org/rfc/rfc9422.html#name-rcptdomainmax-limit) limits should be exposed for the library user.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.