Files
kopano-docker/postfix/entrypoint.sh
2023-04-09 11:03:56 +00:00

8 lines
256 B
Bash

#!/usr/bin/env sh
set -e
# https://serverfault.com/questions/1003885/postfix-in-docker-host-or-domain-name-not-found-dns-and-docker
cp /etc/resolv.conf /var/spool/postfix/etc/resolv.conf
postmap /etc/postfix/virtual
postmap /etc/postfix/vmailbox
exec "$@"