[Rspamd] Ignore custom files, but keep bad asn map
parent
71ec81db31
commit
d7ca5579dc
|
@ -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