mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-03 09:34:33 +02:00
refactor: logrotate
setup + rspamd log path + tests log helper fallback path (#3576)
* simplify `_setup_logrotate` * adjust Rspamd's log file and improve it's management * add information to docs about Rspamd log * update log query helper to allow another file location * bail in case `LOGROTATE_INTERVAL` is invalid --------- Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
This commit is contained in:
parent
82c38f2426
commit
894978ddd7
5 changed files with 40 additions and 27 deletions
|
@ -69,6 +69,10 @@ DMS does not supply custom values for DNS servers to Rspamd. If you need to use
|
|||
|
||||
This setting is enabled to not allow spam to proceed just because DNS requests did not succeed. It could deny legitimate e-mails to pass though too in case your DNS setup is incorrect or not functioning properly.
|
||||
|
||||
### Logs
|
||||
|
||||
You can find the Rspamd logs at `/var/log/mail/rspamd.log`, and the corresponding logs for [Redis](#persistence-with-redis), if it is enabled, at `/var/log/supervisor/rspamd-redis.log`. We recommend inspecting these logs (with `docker exec -it <CONTAINER NAME> cat /var/log/mail/rspamd.log`) in case Rspamd does not work as expected.
|
||||
|
||||
### Modules
|
||||
|
||||
You can find a list of all Rspamd modules [on their website][rspamd-docs-modules].
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue