From 57e07478319e52bcf92e89c494c536344cdb9d0d Mon Sep 17 00:00:00 2001 From: arf20 Date: Mon, 15 Apr 2024 22:57:23 +0000 Subject: mlmmj mailing list manager --- postfix/aliases | 15 ++++++++++++++- postfix/main.cf | 3 +++ postfix/master.cf | 35 ++++++++++++++++++++++++++++++++++- postfix/protected_destinations | 2 +- 4 files changed, 52 insertions(+), 3 deletions(-) (limited to 'postfix') 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__restrictions here, +# specify "smtpd__restrictions=$mua__restrictions" +# here, and specify mua__restrictions in main.cf (where +# "" 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__restrictions here, +# specify "smtpd__restrictions=$mua__restrictions" +# here, and specify mua__restrictions in main.cf (where +# "" 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 -- cgit v1.2.3