diff options
| author | Gab <24553253+gabrix73@users.noreply.github.com> | 2026-08-16 17:35:18 +0200 |
|---|---|---|
| committer | Gab <24553253+gabrix73@users.noreply.github.com> | 2026-08-16 17:35:18 +0200 |
| commit | 294a05ead630776149db1e5cd637a40cf6875ee9 (patch) | |
| tree | 4d2eee6086e8b42001f9029822db95e3a6729ad3 /deploy/README.md | |
| parent | 404b81223688be027629f60ec5b1a00203da1768 (diff) | |
| download | m2usenet-and-mail2news-294a05ead630776149db1e5cd637a40cf6875ee9.tar.gz m2usenet-and-mail2news-294a05ead630776149db1e5cd637a40cf6875ee9.tar.xz m2usenet-and-mail2news-294a05ead630776149db1e5cd637a40cf6875ee9.zip | |
Secure private onion Mail2News ingress
Diffstat (limited to 'deploy/README.md')
| -rw-r--r-- | deploy/README.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/deploy/README.md b/deploy/README.md new file mode 100644 index 0000000..5046bb5 --- /dev/null +++ b/deploy/README.md @@ -0,0 +1,27 @@ +# Private M2Usenet onion ingress + +The integrated M2Usenet sender connects through Tor directly to the Mail2News +onion service. The production hidden service uses Tor v3 client authorization +and terminates on a dedicated loopback-only Postfix listener. + +Apply the fragments from this directory through the normal configuration +management or deployment process. They are intentionally not complete server +configuration files. + +Deployment order: + +1. Generate a Tor v3 client-authorization key pair outside the repository. +2. Install the public authorization entry in the hidden service's + `authorized_clients` directory on the Mail2News host. +3. Install the private authorization entry in `ClientOnionAuthDir` on the + M2Usenet host, mode `0600`, readable only by the Tor service account. +4. Install and compile the Postfix maps, then validate Postfix. +5. Validate Tor configuration and reload both services. +6. Test unauthorized connection rejection and recipient restrictions before + deploying `send.php`. +7. Deploy the committed application revision and verify final NNTP + publication with a controlled article. + +Never commit either authorization entry. A Tor hidden-service connection +arrives from loopback, so it must never be forwarded to a Postfix listener +that grants relay permission to `mynetworks`. |
