chore: Add notes for legacy packages

This commit is contained in:
Brennan Kinney 2025-02-15 21:24:40 +13:00 committed by GitHub
parent 523f5b8fbb
commit d046ab5b57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 75 additions and 1 deletions

View File

@ -1,5 +1,39 @@
#!/bin/bash #!/bin/bash
# Legacy service support for DKIM, DMARC, SPF
# TODO: Migrate this file into a common legacy feature dir
# Debian 12 package: opendkim 2.11.0
# https://salsa.debian.org/debian/opendkim
# Official project page (no HTTPS available):
# http://www.opendkim.org/
# Links to SourceForge for project source which directs users to Github:
# Last commit Dec 2022:
# https://github.com/trusteddomainproject/OpenDKIM/tree/develop
# Last release 2.11.0 (Nov 2018):
# https://github.com/trusteddomainproject/OpenDKIM/releases
# Debian 12 package: opendmarc 1.4.2
# https://salsa.debian.org/kitterman/opendmarc
# Official project page (no HTTPS available):
# http://www.trusteddomain.org/opendmarc/
# Links to SourceForge for project source which directs users to Github (since April 2021):
# Last commit Dec 2021:
# https://github.com/trusteddomainproject/OpenDMARC/branches/all
# Last release 1.4.2 (Dec 2021):
# https://github.com/trusteddomainproject/OpenDMARC/blob/master/RELEASE_NOTES
# Debian 12 package: postfix-policyd-spf-python 3.0.4 (April 2023)
# https://salsa.debian.org/python-team/packages/spf-engine
# Previously `policyd-spf` until Dec 2016, then renamed to `spf-engine`:
# https://launchpad.net/pypolicyd-spf
# https://salsa.debian.org/kitterman/postfix-policyd-spf-perl
# Official project page + repo:
# https://code.launchpad.net/spf-engine
# Last commit and release 3.1.0 (Aug 2024):
# https://git.launchpad.net/spf-engine/
# Set up OpenDKIM # Set up OpenDKIM
# #
# ## Attention # ## Attention
@ -23,7 +57,11 @@ function _setup_opendkim() {
# check if any keys are available # check if any keys are available
if [[ -e /tmp/docker-mailserver/opendkim/KeyTable ]]; then if [[ -e /tmp/docker-mailserver/opendkim/KeyTable ]]; then
cp -a /tmp/docker-mailserver/opendkim/* /etc/opendkim/ cp -a /tmp/docker-mailserver/opendkim/* /etc/opendkim/
_log 'trace' "DKIM keys added for: $(find /etc/opendkim/keys/ -maxdepth 1 -type f -printf '%f ')"
local DKIM_DOMAINS
DKIM_DOMAINS=$(find /etc/opendkim/keys/ -maxdepth 1 -type f -printf '%f ')
_log 'trace' "DKIM keys added for: ${DKIM_DOMAINS}"
chown -R opendkim:opendkim /etc/opendkim/ chown -R opendkim:opendkim /etc/opendkim/
chmod -R 0700 /etc/opendkim/keys/ chmod -R 0700 /etc/opendkim/keys/
else else

View File

@ -1,5 +1,41 @@
#!/bin/bash #!/bin/bash
# Legacy service support with Postgrey, SpamAssassin, Amavis
# TODO: Migrate these services into a common legacy feature dir
# Debian 12 package: postgrey 1.37
# https://salsa.debian.org/debian/postgrey
# Official project page:
# https://postgrey.schweikert.ch/
# Last commit Feb 2024 (mostly whitelist updates since 2016):
# https://github.com/schweikert/postgrey
# Last release 1.37 (Sep 2016):
# https://github.com/schweikert/postgrey/tags
# Debian 12 package: spamassassin 4.0.0 (Dec 2022)
# Lack of 4.0.1 potentially causing regression/bugs in DMS v14+
# https://salsa.debian.org/debian/spamassassin
# Official project page:
# https://spamassassin.apache.org/
# NOTE: Github repo is a mirror (antiquated process for contributions/reports)
# Last commit Feb 2025:
# https://github.com/apache/spamassassin
# Last release 4.0.1 (March 2024):
# https://github.com/apache/spamassassin/tags
# Debian 12 package: amavisd-new 2.13.0 (Jan 2023)
# https://salsa.debian.org/debian/amavisd-new
# Official project page:
# https://www.ijs.si/software/amavisd/
# https://www.amavis.org/
# Last announced release 2.11.0 (2016) + 2.11.1 (Oct 2018):
# https://www.ijs.si/software/amavisd/release-notes.txt
# Development migrated to Gitlab with release 2.12.0 (July 2019)
# Last commit Feb 2025:
# https://gitlab.com/amavis/amavis
# Last release 2.13.1 (March 2024):
# https://gitlab.com/amavis/amavis/-/tags
function _setup_security_stack() { function _setup_security_stack() {
_log 'debug' 'Setting up Security Stack' _log 'debug' 'Setting up Security Stack'