Hi Daniele, thanks for your answer, I know that I’ll loose my changes when I upgrade, but on EFW 3.3 I’ve never found the right place for the SA custom file.
- There’s no updated documentation
- Using any of these files has no effects at all:
- /var/efw/spamassassin/localcf.custom.tmpl
- /var/efw/spamassassin/local.cf.tmpl
- /var/efw/smtpscan/localcf.custom.tmpl
So they are not used.
Honestly I’ve no time to try every combination of paths and filenames, nor to debug the SA loading routines, so I hope that someone will post the right solution.
As a side note, these are the files that are loaded by SA:
spamassassin -D --lint 2>&1 | grep using
Jan 8 23:19:40.808 [4857] dbg: ignore: using a test message to lint rules
Jan 8 23:19:40.808 [4857] dbg: config: using "/etc/spamassassin" for site rules pre files
Jan 8 23:19:40.810 [4857] dbg: config: using "/var/lib/spamassassin/3.003002" for sys rules pre files
Jan 8 23:19:40.810 [4857] dbg: config: using "/var/lib/spamassassin/3.003002" for default rules dir
Jan 8 23:19:40.811 [4857] dbg: config: using "/etc/spamassassin" for site rules dir
Jan 8 23:19:40.919 [4857] dbg: config: using "/var/lib/spamassassin/3.003002/spamassassin_emaillab_jp/20_body_tests.cf" for included file
Jan 8 23:19:40.922 [4857] dbg: config: using "/var/lib/spamassassin/3.003002/spamassassin_emaillab_jp/20_head_tests.cf" for included file
[...]
Jan 8 23:19:41.507 [4857] dbg: config: using "/var/lib/spamassassin/3.003002/updates_spamassassin_org/local.cf" for included file
Jan 8 23:19:41.508 [4857] dbg: config: using "/var/lib/spamassassin/3.003002/updates_spamassassin_org/regression_tests.cf" for included file