Implements a minimal ESMTP listener (AUTH LOGIN/PLAIN, MAIL FROM, RCPT TO, DATA, QUIT) that sends via the ProtonMail v4 API (create draft → send). - ProtonMail internal recipients: Type 1 (encrypt to recipient's ECDH key) - External recipients: Type 32 PGP/MIME — detached signature in a separate application/pgp-signature MIME part so the body arrives clean in Gmail. The MIME entity is wrapped in an OpenPGP-signed message (Signature=1) to satisfy ProtonMail's mandatory signature check on all external sends. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||