Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

configure-postfix.sh (Source)

#!/bin/sh
# Startdate: 2023-06-26-2 16:40
# Purpose: configure postfix, primarily for new VMs
# Documentation:
#    keep my network details out of the preseed.cfg
set -x
postconf -e 'relayhost = server2.remote.internal.com'