Russ Posted December 23, 2006 Posted December 23, 2006 I have an email that is spam, but not picked up by spam assassin. I want to add to "blacklist." I have several eamil addresses. If I add to black list to main account (afddress with cPanel username), will that filter all my addresses, or do I need to manually add to all addresses? Thanks. Quote
TCH-Andy Posted December 23, 2006 Posted December 23, 2006 I'd have a look at training spamassasin and then you will help spam assassin learn on your account. Quote
Russ Posted December 23, 2006 Author Posted December 23, 2006 (edited) Thanks for the prompt reply, Andy. I think that all of that (Perl, etc.) is way beyond my capabilities. What I was hoping for was a way to add emails to blacklist that would apply to all my email accounts on a domain without having to individually add to blacklist for each email. I only have a few getting thru, and I have outlook set up to dump them in the junk box, but if I could filter them on the server it would be helpful. Edited December 24, 2006 by TCH-Bruce Quote
TCH-Bruce Posted December 23, 2006 Posted December 23, 2006 There is only one configuration file for spam assassin per domain so blacklisting an email address will black list it for the entire domain. Quote
Russ Posted December 23, 2006 Author Posted December 23, 2006 Thanks, Bruce. In the meantime, I have been playing around with cPanel webmail interface. Up to this point, I have been adding the spam addresses to the black list thru the filter settings in the horde mail folder. But now I notice that there is a way to add email addresses to a spam assassin blacklist in this "Spam Message Filter Configuration" page in cPanel. Are these the same blacklists, or are they different ones? I presume that adding an address to blacklist thru the "Spam Message Filter Configuration" page is the best way to go, correct? Thanks again! Quote
TCH-Bruce Posted December 23, 2006 Posted December 23, 2006 I believe the one in Horde is for the email address you are accessing Horde with. The one in cPanel under Spam Assassin would be for the entire domain. You can also just edit the file directly. It is located in the .spamassassin folder of your domain and the file is called user_prefs This will work provided Spam Assassin is turned on. Quote
Russ Posted December 24, 2006 Author Posted December 24, 2006 Any link that you might have explaining how to edit that file? Quote
TCH-Thomas Posted December 24, 2006 Posted December 24, 2006 Hi Russ, Providing you are talking about user_prefs and have a few blacklisted/whitelisted addresses in it already, you could: download the file open it with notepad copy/paste the blacklisted/whitelisted address lines you already have in it modify those lines with the new addresses then save and re upload it. Quote
PeterPeter Posted December 24, 2006 Posted December 24, 2006 You should be able to edit it from within cpanel/file manger/directory it is in. Select the file, not the icon and then click on edit on the top righthand listing. Don't forget to save it. Quote
TCH-Bruce Posted December 24, 2006 Posted December 24, 2006 Peter is correct, use the editor in File Manager to edit the file. No need to download it. As Thomas says if you've added an address to the SA black-list you will see the format in the file. If you haven't the format is as such: blacklist_from email_address You can use wild cards to block an entire domain blacklist_from *@domain.ext Quote
TCH-Thomas Posted December 25, 2006 Posted December 25, 2006 A little addition to my post... The reason I like to download the file and do the editing is because that the online editor only have x number of fields you can edit/add to. Some time ago I needed to add more addresses to the whitelist, but since there was no more empty fields for me to enter the addresses in, so I downloaded the file and pasted the addresses in to it. Quote
TCH-Bruce Posted December 25, 2006 Posted December 25, 2006 But Thomas, you can use the editor in File Manager to edit the file. No need to download it. Quote
TCH-Thomas Posted December 25, 2006 Posted December 25, 2006 It is now I am supposed to say something smart but I can´t think of anything but... I didn´t think of that when I edited the file. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.