blob: 682f89b927575485c1aa9dbe584153c326c9c1ab (
plain)
- #!/bin/sh
- set -e
- basedir="/etc/local-REDPILL"
- domains="$(cat "$basedir/realms" | sed 's/#.*//')"
- echo '' > "$basedir/postfix/permit_mx_backup_networks"
- for domain in $domains; do
- cat "$basedir/$domain/mailnetworks" >> "$basedir/postfix/permit_mx_backup_networks"
- done
|