summaryrefslogtreecommitdiffstats
path: root/deploy/postfix/diego-master.cf.fragment
diff options
context:
space:
mode:
authorGab <24553253+gabrix73@users.noreply.github.com>2026-08-16 17:35:18 +0200
committerGab <24553253+gabrix73@users.noreply.github.com>2026-08-16 17:35:18 +0200
commit294a05ead630776149db1e5cd637a40cf6875ee9 (patch)
tree4d2eee6086e8b42001f9029822db95e3a6729ad3 /deploy/postfix/diego-master.cf.fragment
parent404b81223688be027629f60ec5b1a00203da1768 (diff)
downloadm2usenet-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/postfix/diego-master.cf.fragment')
-rw-r--r--deploy/postfix/diego-master.cf.fragment12
1 files changed, 12 insertions, 0 deletions
diff --git a/deploy/postfix/diego-master.cf.fragment b/deploy/postfix/diego-master.cf.fragment
new file mode 100644
index 0000000..2a2e1d5
--- /dev/null
+++ b/deploy/postfix/diego-master.cf.fragment
@@ -0,0 +1,12 @@
+# Dedicated ingress for the private Mail2News onion hidden service.
+127.0.0.1:2526 inet n - n - 4 smtpd
+ -o syslog_name=postfix/m2usenet-onion
+ -o myhostname=xilb7y4kj6u6qfo45o3yk2kilfv54ffukzei3puonuqlncy7cn2afwyd.onion
+ -o smtpd_tls_security_level=none
+ -o smtpd_sasl_auth_enable=no
+ -o smtpd_relay_restrictions=reject_unauth_destination
+ -o smtpd_recipient_restrictions=check_recipient_access,hash:/etc/postfix/m2usenet-ingress,reject
+ -o smtpd_reject_unlisted_recipient=yes
+ -o smtpd_helo_required=yes
+ -o smtpd_recipient_limit=1
+ -o message_size_limit=131072