DMS update
This commit is contained in:
24
DMS/docker-data/dms/config/user-patches.sh
Normal file
24
DMS/docker-data/dms/config/user-patches.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
CFG_ROOT="/tmp/docker-mailserver"
|
||||
SRC_DIR="$CFG_ROOT/postfix"
|
||||
DST_DIR="/etc/postfix"
|
||||
|
||||
# Dateien nach /etc/postfix kopieren (oder aktualisieren)
|
||||
# install -D -m 0644 "$SRC_DIR/transport" "$DST_DIR/transport"
|
||||
# install -D -m 0600 "$SRC_DIR/sasl_passwd" "$DST_DIR/sasl_passwd"
|
||||
install -D -m 0644 "$SRC_DIR/header_checks" "$DST_DIR/header_checks"
|
||||
install -D -m 0644 "$SRC_DIR/smtp_header_checks" "$DST_DIR/maps/sender_header_filter.pcre"
|
||||
|
||||
# Maps bauen
|
||||
# postmap "$DST_DIR/transport"
|
||||
# postmap "$DST_DIR/sasl_passwd"
|
||||
|
||||
# Rechte auf die .db-Helferdatei
|
||||
# chmod 600 "$DST_DIR/sasl_passwd.db" || true
|
||||
|
||||
# rm -f /etc/dovecot/conf.d/95-sieve-redirect.conf
|
||||
|
||||
# Postfix neu laden (nachdem docker-mailserver seine eigene Konfig geladen hat)
|
||||
postfix reload || true
|
||||
Reference in New Issue
Block a user