mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-19 09:34:56 +00:00
[Postfix] Add null rcpt for watchdog
This commit is contained in:
parent
08d6b97ffa
commit
4d7bb26874
1 changed files with 4 additions and 0 deletions
|
|
@ -3,6 +3,10 @@
|
|||
trap "postfix stop" EXIT
|
||||
|
||||
[[ ! -d /opt/postfix/conf/sql/ ]] && mkdir -p /opt/postfix/conf/sql/
|
||||
if [[ -z $(grep null /etc/aliases) ]]; then
|
||||
echo null: /dev/null >> /etc/aliases;
|
||||
newaliases;
|
||||
fi
|
||||
|
||||
cat <<EOF > /opt/postfix/conf/sql/mysql_relay_recipient_maps.cf
|
||||
user = ${DBUSER}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue