Merge #1014
1014: Fixed hardcoded antispam and antivirus host addresses r=mergify[bot] a=ajgon ## What type of PR? enchancement ## What does this PR do? Adds configurable parameters `HOST_ANTISPAM` and `HOST_ANTIVIRUS` for `core/dovecot` and `services/rspamd`, instead of using hardcoded container names. ### Related issue(s) - closes #978 Co-authored-by: Igor Rzegocki <igor@rzegocki.pl> Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>master
commit
f3f0c3190b
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
tee >(rspamc -h antispam:11334 -P mailu learn_ham /dev/stdin) \
|
||||
| rspamc -h antispam:11334 -P mailu -f 13 fuzzy_add /dev/stdin
|
||||
tee >(rspamc -h ${ANTISPAM_ADDRESS} -P mailu learn_ham /dev/stdin) \
|
||||
| rspamc -h ${ANTISPAM_ADDRESS} -P mailu -f 13 fuzzy_add /dev/stdin
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
tee >(rspamc -h antispam:11334 -P mailu learn_spam /dev/stdin) \
|
||||
>(rspamc -h antispam:11334 -P mailu -f 11 fuzzy_add /dev/stdin)
|
||||
tee >(rspamc -h ${ANTISPAM_ADDRESS} -P mailu learn_spam /dev/stdin) \
|
||||
>(rspamc -h ${ANTISPAM_ADDRESS} -P mailu -f 11 fuzzy_add /dev/stdin)
|
||||
|
@ -0,0 +1 @@
|
||||
Fixed hardcoded antispam and antivirus host addresses
|
Loading…
Reference in New Issue