8 lines
256 B
Bash
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 "$@"
|