This commit is contained in:
parent
3e566f06df
commit
22f09e7a93
12
.drone.yml
12
.drone.yml
|
@ -14,18 +14,6 @@ steps:
|
|||
dockerfile: postfix/Dockerfile
|
||||
repo: r.sbruder.de/postfix
|
||||
|
||||
- name: docker-postgrey
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: r.sbruder.de
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
context: postgrey
|
||||
dockerfile: postgrey/Dockerfile
|
||||
repo: r.sbruder.de/postgrey
|
||||
|
||||
- name: docker-dovecot
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
|
|
@ -27,13 +27,6 @@ services:
|
|||
- postgrey
|
||||
- dovecot
|
||||
|
||||
postgrey:
|
||||
build: postgrey
|
||||
image: r.sbruder.de/postgrey
|
||||
restart: always
|
||||
volumes:
|
||||
- ./spool/postgrey:/var/spool/postfix/postgrey
|
||||
|
||||
dovecot:
|
||||
build: dovecot
|
||||
image: r.sbruder.de/dovecot
|
||||
|
|
|
@ -21,7 +21,6 @@ RUN echo '' > /etc/postfix/main.cf \
|
|||
reject_unauth_destination, \
|
||||
reject_rbl_client zen.spamhaus.org, \
|
||||
reject_rbl_client ix.dnsbl.manitu.net, \
|
||||
check_policy_service inet:postgrey:25 \
|
||||
reject_unverified_recipient, \
|
||||
permit \
|
||||
' \
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
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"]
|
Reference in a new issue