Fix PMG custom-check log ownership to avoid permission denied errors.

Updated the custom_check state to manage /var/log/mail_av and checked file with pmg-smtp-filter ownership and configurable modes, and documented new pillar settings for log owner/group/modes.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ruslan Petrovich
2026-06-24 21:26:13 +03:00
co-authored by Cursor
parent 7373d5520f
commit 664a544aa9
3 changed files with 20 additions and 4 deletions
+1
View File
@@ -61,6 +61,7 @@ make check MINION_ID=p-mailgw-x1-01.lmru.tech
- `pmg.update_auto_reboot`
- `pmg.update_reboot_delay_minutes`
- `pmg.custom_check.*`
- `pmg.custom_check.log_dir_user|log_dir_group|log_dir_mode|log_file_mode`
- `pmg.manage_hosts_file`
- `pmg.hosts_file_entries`
- `pmg.wazuh.*`