postfwd: install config from files/postfwd, idempotent /etc/default/postfwd handling

- Ship postfwd.cf and list files in files/postfwd; used by install_postfwd.sh
  and install_postfix_advanced.sh (lists only if missing, cf with backup).
- Add update_postfwd_defaults.sh.
- install_amavis.sh: disable smtpd_end_of_data_restrictions on localhost:10025.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-08 10:53:21 +01:00
co-authored by Claude Opus 5.5
parent 450b04134d
commit 39909a5b30
18 changed files with 1264 additions and 849 deletions
+15
View File
@@ -0,0 +1,15 @@
# Vollstaendige Freistellung anhand des Envelope-Absenders, NICHT From:-Header.
#
# Perl-Regex pro Zeile
#
# Example:
#
# ^noreply@example\.org$
#
# ACHTUNG:
# Absender ist nachahmbar; diese Liste prueft weder SPF noch DKIM noch
# SASL-Identitaet. Treffer umgehen nachfolgende postfwd-Sperren und Limits.
# Der vorhandene Eintrag wurde als bisherige Ausnahme beibehalten.
#
^noreply@login\.ubuntu\.com$