mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
email: rspamd: Log to journald via syslog
Unified querying, reduce random writes for SD cards, eliminate need for separate log rotation. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
265534a6bf
commit
56f95ddf97
@ -0,0 +1 @@
|
||||
type=syslog
|
||||
@ -40,7 +40,8 @@ def _compile_sieve():
|
||||
def _setup_rspamd():
|
||||
"""Adjust configuration to include FreedomBox configuration files."""
|
||||
configs = [('milter_headers.conf', 'freedombox-milter-headers.conf'),
|
||||
('redis.conf', 'freedombox-redis.conf')]
|
||||
('redis.conf', 'freedombox-redis.conf'),
|
||||
('logging.inc', 'freedombox-logging.inc')]
|
||||
base_path = pathlib.Path('/etc/rspamd/local.d')
|
||||
for orig_path, include_path in configs:
|
||||
_setup_local_include(base_path / orig_path, base_path / include_path)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user