cache postgrey state

master
Simon Bruder 2018-03-28 20:58:45 +00:00
parent 941f5266a0
commit 744b7b3bb0
2 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,8 @@ services:
postgrey:
build: postgrey
restart: unless-stopped
volumes:
- postgrey:/var/spool/postfix/postgrey/
networks:
mail:
@ -67,3 +69,4 @@ networks:
volumes:
postfix-dh: {}
dovecot-dh: {}
postgrey: {}

View File

@ -4,4 +4,6 @@ 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"]