aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2024-04-15 22:57:23 +0000
committerarf20 <aruizfernandez05@gmail.com>2024-04-15 22:57:23 +0000
commit57e07478319e52bcf92e89c494c536344cdb9d0d (patch)
tree068ba3bbd4b5a1998751bb8fda64a07805a98370
parentd6d47d99da3a3c5c14535fb5aba45624600c3b57 (diff)
downloadmail-conf-57e07478319e52bcf92e89c494c536344cdb9d0d.tar.gz
mail-conf-57e07478319e52bcf92e89c494c536344cdb9d0d.zip
mlmmj mailing list managerHEADmaster
-rw-r--r--postfix/aliases15
-rw-r--r--postfix/main.cf3
-rw-r--r--postfix/master.cf35
-rw-r--r--postfix/protected_destinations2
4 files changed, 52 insertions, 3 deletions
diff --git a/postfix/aliases b/postfix/aliases
index 58e75cd..e316375 100644
--- a/postfix/aliases
+++ b/postfix/aliases
@@ -8,8 +8,21 @@ webmaster: postmaster
www: postmaster
ftp: postmaster
abuse: postmaster
+report: postmaster
+admin: postmaster
+tech: postmaster
+contact: postmaster
+dmca: postmaster
+majordomo-owner: postmaster
+owner-majordomo: postmaster
+complaints: postmaster
postmaster: arf20
-announce: REDACTED
+#announce: arf20, aruizfernandez05@gmail.com, raulgilabert@proton.me, cisbetterthanpython@gmail.com, papeltous@gmail.com, yero@yero.dev, eloy@yero.dev, fardin@tekhmos.com, moigo48@protonmail.com
+
+# mlmmj lists
+mlmmj-test: "|/usr/bin/mlmmj-receive -L /var/spool/mlmmj/mlmmj-test/"
+announce: "|/usr/bin/mlmmj-receive -L /var/spool/mlmmj/announce/"
+discussion: "|/usr/bin/mlmmj-receive -L /var/spool/mlmmj/discussion/"
diff --git a/postfix/main.cf b/postfix/main.cf
index d73d523..4406062 100644
--- a/postfix/main.cf
+++ b/postfix/main.cf
@@ -59,3 +59,6 @@ smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
+# for mlmmj
+recipient_delimiter = +
+
diff --git a/postfix/master.cf b/postfix/master.cf
index fbf19c7..082aaf6 100644
--- a/postfix/master.cf
+++ b/postfix/master.cf
@@ -16,15 +16,48 @@ smtp inet n - y - - smtpd
#tlsproxy unix - - y - 0 tlsproxy
# Choose one: enable submission for loopback clients only, or for any client.
#127.0.0.1:submission inet n - y - - smtpd
-# == removed a bunch of stuff
submission inet n - y - - smtpd
-o syslog_name=postfix/submission
+# added
-o smtpd_tls_wrappermode=no
+#-o smtpd_tls_security_level=encrypt
+# -o smtpd_sasl_auth_enable=yes
+# -o smtpd_tls_auth_only=yes
+# -o smtpd_reject_unlisted_recipient=no
+# Instead of specifying complex smtpd_<xxx>_restrictions here,
+# specify "smtpd_<xxx>_restrictions=$mua_<xxx>_restrictions"
+# here, and specify mua_<xxx>_restrictions in main.cf (where
+# "<xxx>" is "client", "helo", "sender", "relay", or "recipient").
+# -o smtpd_client_restrictions=
+# -o smtpd_helo_restrictions=
+# -o smtpd_sender_restrictions=
+# -o smtpd_relay_restrictions=
+# -o smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject # added mynetworks
+# -o milter_macro_daemon_name=ORIGINATING
+# added
+# -o smtpd_sasl_type=dovecot
+# -o smtpd_sasl_path=private/auth
+# added smtps
+#smtps inet n - y - - smtpd
+# -o syslog_name=postfix/smtps
+# -o smtpd_tls_wrappermode=yes
# Choose one: enable submissions for loopback clients only, or for any client.
#127.0.0.1:submissions inet n - y - - smtpd
submissions inet n - y - - smtpd
-o syslog_name=postfix/submissions
-o smtpd_tls_wrappermode=yes
+# -o smtpd_sasl_auth_enable=yes
+# -o smtpd_reject_unlisted_recipient=no
+# Instead of specifying complex smtpd_<xxx>_restrictions here,
+# specify "smtpd_<xxx>_restrictions=$mua_<xxx>_restrictions"
+# here, and specify mua_<xxx>_restrictions in main.cf (where
+# "<xxx>" is "client", "helo", "sender", "relay", or "recipient").
+# -o smtpd_client_restrictions=
+# -o smtpd_helo_restrictions=
+# -o smtpd_sender_restrictions=
+# -o smtpd_relay_restrictions=
+# -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
+# -o milter_macro_daemon_name=ORIGINATING
#628 inet n - y - - qmqpd
pickup unix n - y 60 1 pickup
cleanup unix n - y - 0 cleanup
diff --git a/postfix/protected_destinations b/postfix/protected_destinations
index e6e0720..a99301a 100644
--- a/postfix/protected_destinations
+++ b/postfix/protected_destinations
@@ -1,2 +1,2 @@
-announce@arf20.com insiders_only
+#announce@arf20.com insiders_only