Skip to content

Commit

Permalink
mlmmj mailing list manager
Browse files Browse the repository at this point in the history
  • Loading branch information
arf20 committed Apr 15, 2024
1 parent d6d47d9 commit 57e0747
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 3 deletions.
15 changes: 14 additions & 1 deletion postfix/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -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, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]

# 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/"

3 changes: 3 additions & 0 deletions postfix/main.cf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = +

35 changes: 34 additions & 1 deletion postfix/master.cf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion postfix/protected_destinations
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[email protected] insiders_only
#[email protected] insiders_only

0 comments on commit 57e0747

Please sign in to comment.