Skip to content

Commit

Permalink
fix(mda): use FILTER_HOST variable (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeboehm committed May 2, 2022
1 parent c680c5a commit 78877fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ENV MYSQL_HOST=db \
SUBMISSION_HOST=mta \
ENABLE_POP3=true \
ENABLE_IMAP=true \
FILTER_HOST=filter \
SSL_CERT=/media/tls/mailserver.crt \
SSL_KEY=/media/tls/mailserver.key \
WAITSTART_TIMEOUT=1m \
Expand Down
2 changes: 1 addition & 1 deletion mda/rootfs/usr/lib/dovecot/sieve/rspamc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

ACTION=${1}

curl -q -s --connect-timeout 60 --data-binary @- http://filter:11334/${ACTION}
curl -q -s --connect-timeout 60 --data-binary @- http://${FILTER_HOST}:11334/${ACTION}

0 comments on commit 78877fe

Please sign in to comment.