Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64
Your IP : 3.149.255.239
#!/bin/sh -e
# we only need to copy this in if the service is already running.
# if it's not running, it'll get picked up by the init script on start.
/usr/sbin/service postfix status >/dev/null 2>&1 || exit 0
QUEUEDIR="$(/usr/sbin/postconf -hx queue_directory 2>/dev/null || true)"
if [ -n "$QUEUEDIR" ]; then
cp /etc/resolv.conf "${QUEUEDIR}/etc/resolv.conf"
/usr/sbin/service postfix reload >/dev/null 2>&1 || exit 0
fi
exit 0
|