Spam filter, multiple domains
On the 'Spam Filters' page of the cPanel, can I use a coma, a semicolon or anything else in the 'blacklist_from' box to add multiple domains in one go? (I need to add more than a hundred domains and I don't want to spend hours entering them one by one).
Thank you.
-
I don't have that answer. When I use a comma, it inserts into /home/<account>/.spamassassin/user_prefs as:
blacklist_from @crap.onmicrosoft.com, @*.firebaseapp.com
Normally in /home/<account>/.spamassassin/user_prefs I think you'd see one "blacklist_from" line per entry.
On the bright side, if you need to add 100 domains, add them all directly to /home/<account>/.spamassassin/user_prefs
blacklist_from @crap.onmicrosoft.com
blacklist_from @*.firebaseapp.com
etc
etc
0 -
Yes, but my question is: can I use a coma, a semicolon or something else in the 'blacklist_from' box to enter all the spam domains in one go? Like this:
blacklist_from: *spam_domain1,*spam_domain2, *spam_domain3, *spam_domain4, etc.0 -
I would use mtindor's advice and edit the file directly if you want to add a batch, as a comma or other separator isn't supported.
This sounds like it would be an excellent feature request if you wanted to submit one over at features.cpanel.net, or I can submit that for you!
0 -
Please submit the feature request for me. Thank you.
0 -
I've submitted that now - I've linked this thread to it so I'll be sure to post next week after I speak with the team.
0 -
I spoke with the team and I've created case CPANEL-52168 to see if that is an adjustment they can make to this page. I've also linked this thread to the case so if I hear an update I'll be sure to post.
0
Please sign in to leave a comment.
Comments
6 comments