cache postgrey state
This commit is contained in:
parent
941f5266a0
commit
744b7b3bb0
|
@ -27,6 +27,8 @@ services:
|
||||||
postgrey:
|
postgrey:
|
||||||
build: postgrey
|
build: postgrey
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- postgrey:/var/spool/postfix/postgrey/
|
||||||
networks:
|
networks:
|
||||||
mail:
|
mail:
|
||||||
|
|
||||||
|
@ -67,3 +69,4 @@ networks:
|
||||||
volumes:
|
volumes:
|
||||||
postfix-dh: {}
|
postfix-dh: {}
|
||||||
dovecot-dh: {}
|
dovecot-dh: {}
|
||||||
|
postgrey: {}
|
||||||
|
|
|
@ -4,4 +4,6 @@ RUN apk add --no-cache \
|
||||||
perl-netaddr-ip \
|
perl-netaddr-ip \
|
||||||
postgrey
|
postgrey
|
||||||
|
|
||||||
|
VOLUME ["/var/spool/postfix/postgrey/"]
|
||||||
|
|
||||||
ENTRYPOINT ["postgrey", "--inet=0.0.0.0:25", "--auto-whitelist-clients"]
|
ENTRYPOINT ["postgrey", "--inet=0.0.0.0:25", "--auto-whitelist-clients"]
|
||||||
|
|
Reference in a new issue