Easy Remote option for Adding to Spam Filter Blacklist
Hi, wondering if there are any alternative ways to adding an email address to the "Spam Filters / Blacklist" in Cpanel. Currently the only option I see is to log into Cpanel and go to Email / Spam Filters / Show Additional Configurations / Blacklist". Ideally a person could maybe add to blacklist by sending an email or some script that could be run via ssh. Any ideas are much appreciated! Thanks.
-
Hey there! If you'd like to manually add email addresses these are located in /home/username/.spamassassin/user_prefs in the following format: blacklist_from address@gmail.com blacklist_from totallyfake@domain.com
Just create a new line in that format and you'll be all set!0 -
Awesome! Thank you @cPRex 0 -
Sure thing! 0 -
Awesome! Thank you @cPRex
Did you create a script to automate the process of sending eMail addresses to the blacklist? I was just thinking maybe even forwarding them to an address from a rule in the email app would work.0 -
Hi @nvrau, Sorry bud. Ended up just editing the file manually as needed via ssh. 0
Please sign in to leave a comment.
Comments
5 comments