mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-11-27 08:09:55 +08:00
[Rspamd] Ignore custom files, but keep bad asn map
This commit is contained in:
parent
71ec81db31
commit
d7ca5579dc
2
.gitignore
vendored
2
.gitignore
vendored
@ -21,4 +21,4 @@ data/conf/nginx/*.conf
|
|||||||
data/conf/nginx/*.custom
|
data/conf/nginx/*.custom
|
||||||
data/conf/nginx/*.bak
|
data/conf/nginx/*.bak
|
||||||
data/conf/dovecot/extra.conf
|
data/conf/dovecot/extra.conf
|
||||||
data/conf/rspamd/custom/sa-rules-heinlein
|
data/conf/rspamd/custom/*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
chown -R _rspamd:_rspamd /var/lib/rspamd
|
chown -R _rspamd:_rspamd /var/lib/rspamd /etc/rspamd/local.d /etc/rspamd/override.d /etc/rspamd/custom
|
||||||
chmod 755 /var/lib/rspamd
|
chmod 755 /var/lib/rspamd
|
||||||
[[ ! -f /etc/rspamd/override.d/worker-controller-password.inc ]] && echo '# Placeholder' > /etc/rspamd/override.d/worker-controller-password.inc
|
[[ ! -f /etc/rspamd/override.d/worker-controller-password.inc ]] && echo '# Placeholder' > /etc/rspamd/override.d/worker-controller-password.inc
|
||||||
chown _rspamd:_rspamd /etc/rspamd/override.d/worker-controller-password.inc
|
chown _rspamd:_rspamd /etc/rspamd/override.d/worker-controller-password.inc
|
||||||
|
Loading…
Reference in New Issue
Block a user