summaryrefslogtreecommitdiffstats
path: root/deploy/postfix/diego-master.cf.fragment
diff options
context:
space:
mode:
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