cache postgrey state
This commit is contained in:
parent
941f5266a0
commit
744b7b3bb0
|
@ -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: {}
|
||||
|
|
|
@ -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"]
|
||||
|
|
Reference in a new issue