After gathering some initial experience with `pmg-system-report` it seems
that the output of `sa-awl` is not too helpful in narrowing down problems.
Additionally the output tends to be quite large (multiple MiB) on larger/
longer-running installations, leading to timeouts or problems when sending
the report to the support.
Should the AWL checks skew the SA-results in a negative way this already shows
in the logs (which log the score for each rule).
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
my $cmd_timeout = 10; # generous timeout
-my $sa_awl_db = '/root/.spamassassin/auto-whitelist';
-
# NOTE: always add new sections to the report_order array!
my $report_def = {
general => {
sub { dir2text('/etc/pmg/','(?:domains|mynetworks|tls_policy|transport)' ) },
sub { dir2text('/etc/pmg/templates/', '[^.].*' ) },
'pmgdb dump',
- "[ -f '$sa_awl_db' ] && sa-awl '$sa_awl_db'",
],
};