#!/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 "$@"