summaryrefslogtreecommitdiffstats
path: root/deploy/postfix/qee-mail2news-aliases
diff options
context:
space:
mode:
authorGab <24553253+gabrix73@users.noreply.github.com>2026-08-17 14:25:18 +0200
committerGab <24553253+gabrix73@users.noreply.github.com>2026-08-17 14:25:18 +0200
commit9679f3f3a177215717a6734a0b91161e00814504 (patch)
treec4831ade90a1386cc9b7361f15c56f7ccdcf3829 /deploy/postfix/qee-mail2news-aliases
parent294a05ead630776149db1e5cd637a40cf6875ee9 (diff)
downloadm2usenet-and-mail2news-9679f3f3a177215717a6734a0b91161e00814504.tar.gz
m2usenet-and-mail2news-9679f3f3a177215717a6734a0b91161e00814504.tar.xz
m2usenet-and-mail2news-9679f3f3a177215717a6734a0b91161e00814504.zip
Allow restricted email-client Mail2News addressing
Diffstat (limited to 'deploy/postfix/qee-mail2news-aliases')
-rw-r--r--deploy/postfix/qee-mail2news-aliases4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy/postfix/qee-mail2news-aliases b/deploy/postfix/qee-mail2news-aliases
new file mode 100644
index 0000000..3025ccf
--- /dev/null
+++ b/deploy/postfix/qee-mail2news-aliases
@@ -0,0 +1,4 @@
+# Preserve the user-facing To header, but rewrite the SMTP envelope to the
+# exact client-authorized Mail2News onion ingress. Mail2News extracts and
+# validates the date and newsgroups from the original To header.
+/^mail2news-[0-9]{8}-[a-z][a-z0-9]+(\.[0-9a-z+_-]+)+(=[a-z][a-z0-9]+(\.[0-9a-z+_-]+)+){0,2}@mail2news\.tcpreset\.net$/ mail2news@xilb7y4kj6u6qfo45o3yk2kilfv54ffukzei3puonuqlncy7cn2afwyd.onion