FROM alpine RUN apk add --no-cache \ perl-netaddr-ip \ postgrey VOLUME ["/var/spool/postfix/postgrey/"] ENTRYPOINT ["postgrey", "--inet=0.0.0.0:25", "--auto-whitelist-clients"]