Open shoulders opened 3 weeks ago
Hello,
Thanks for the heads up!
Where are those SpamAssassin rules stored within a cPanel account?
Below id the information you have asked for but for SpamAssassin rules and the filters, both of which were not brought over.
./homdedir/.cpanel/filter.yaml.bak
this is from 2017 so I think it is pointless and not the live data.
./homdedir/.cpanel/filter.yaml
./homdedir/.cpanel/filter.cache
{"version":2.2,"filter":[{"actions":[{"dest":"/dev/null","action":"save"}],"filtername":"Dodgy Spam","unescaped":1,"rules":[{"val":"/t/click/","part":"$message_body","opt":"or","match":"contains"},{"val":"/mw/index.php/","part":"$message_body","match":"contains","opt":"or"},{"val":"or send post-mail","part":"$message_body","match":"contains","opt":"or"},{"part":"$message_body","match":"contains","opt":"or","val":"/track-url/"},{"part":"$message_body","match":"contains","opt":"or","val":"claudia"}]},{"filtername":"Generated Apache SpamAssassin™ Discard Rule","rules":[{"val":"+++++","part":"$h_X-Spam-Bar:","opt":"or","match":"contains"}],"enabled":"1","actions":[{"dest":"/dev/null","action":"save"}]}]}
./homdedir/.spamassassin/user_prefs
score SPF_FAIL 10
whitelist_from *@joomlashine.com
whitelist_from *@stackideas.com
required_score 5
https://docs.cpanel.net/cpanel/files/backup-for-cpanel/
The Email Filters backup file only stores the account-level email filters from cPanel’s Global Email Filters interface (cPanel » Home » Email » Global Email Filters). The backup file does not store user account-level email filters from cPanel’s Email Filters interface (cPanel » Home » Email » Email Filters).
That's certainly something we can look into migrating! Did the latest backup you sent me have these custom rules?
No it didn't .
I will whip up an example cpanel with various options and send it over. Might be a couple of days though.
ok thanks that would be really useful!
i have sent you an example cpanel account in an email.
Thanks, will take a look!
I have sent a corrected backup with global filters, whitelists, blacklists, an additional Spam test (SPF_FAIL).
This is a probably a feature request.
Background
In cpanel I have set a few spamassassain rules to block out most of the offenders of recent spam in
Global Email Filters
. these are per domain rules.You can also set
Email Filters
which is a per email method.the issue
My global filters/spamassaasain rules were not brought over
the request
Make the cpanel migration migrate these settings aswell.
NB: Mine are not complex and i can move them manually.