TheIceMaster Posted February 23, 2005 Posted February 23, 2005 Hi. We recently switched to TotalChoiceHosting (o/ *waves to all*) and are currently fine tuning our settings. We were on a Windows Plesk server and, in SpamAssassin configuration, there used to be able a place to delete spam with a threshold higher than a specified amount (7 in our case) and just rewrite the header if it was higher than 3. In cPanel, we do not seem to be able to directly specify the delete threshold thus I am currently looking at the email filters. If I am to add an Email Filter as follow: ("any headers" contains "X-Spam-Level: *******") which translates to: $message_headers contains "X-Spam-Level: *******" Would this be safe to only delete incoming spam with level 7 and higher or does anyone sees a problem with this method (side effect?)? Is there an easier and/or official way of accomplishing what I want to do? Thank you in advance. Regards, Stephane Quote
TCH-Bruce Posted February 23, 2005 Posted February 23, 2005 Welcome to the family and forums, Stephane Don't think that it's possible to do that directly with cPanels implementation of Spam Assassin or not. Moving to a more apporpriate forum for better exposure and organization. Quote
TheIceMaster Posted February 23, 2005 Author Posted February 23, 2005 Hi. Allright. I've tested the above filter, it works fine BUT it just discards the message and do not bounce or notify the sender which is still bad for us. I have tried the ":fail:" and it didn't work. Booo! Forwarding to an AutoResponder would work but would either confirm the email addresses and more spam would be sent (and more traffic generated for our domain) or simply bounce back to us since the from field is usually forged on spam. So no solution there either. New question would be, is it possible to bounce an email from the email filters without changing the destination email? (I could forward to a non existing account and it would bounce fine but users would have to dig to find which email was bounced and why). PS: Thank you for the move. It was rather unclear where to post this topic. I honestly had a hard time locating the default "support" forum as "open talk" is usually off-topic discussion and not support! Quote
TCH-Bruce Posted February 23, 2005 Posted February 23, 2005 What I've done for my own domains is create another email account. Yes, I know it's another box to check but it's been working for me quite well. Then I forward all SA tagged messages to the spam account I created. This way I can go and view it from time to time and empty it. I've done this on three accounts and then on two of them I just set it to discard any spam it tagged. Since it wasn't catching any good mail it works well. Don't know if that would work for you or not but I don't know how to accomplish what you are wanting to do, sorry. Quote
jnull Posted April 15, 2005 Posted April 15, 2005 What I've done for my own domains is create another email account. Yes, I know it's another box to check but it's been working for me quite well. Then I forward all SA tagged messages to the spam account I created. This way I can go and view it from time to time and empty it. I've done this on three accounts and then on two of them I just set it to discard any spam it tagged. Since it wasn't catching any good mail it works well. Don't know if that would work for you or not but I don't know how to accomplish what you are wanting to do, sorry. <{POST_SNAPBACK}> How do you set this up ... I don't see anywhere in cpanel where I can tell spam assassin to forward those messages rather than put them in the spam box? Quote
TCH-Bruce Posted April 15, 2005 Posted April 15, 2005 It's very simple. Go into cPanel and create a new email account. Now from the cPanel main page select Email Filters. Add a filter: In the first box select SpamAssassin Spam Header In the next box select begins with In the third box enter Yes Where it says Discard enter the email address you created Now all your Spam Assassin email will go to the new account. Quote
jnull Posted April 15, 2005 Posted April 15, 2005 thank you ... do I also disable the spam box in spam assassin? And, if I choose to DISCARD the emails, does this effectively throw them away (which is really what I want anyway). Quote
TCH-Bruce Posted April 15, 2005 Posted April 15, 2005 That is correct. I've never used the spambox. I've always set it up this way and I also don't rewrite the headers. Quote
jnull Posted April 15, 2005 Posted April 15, 2005 Absolutely wonderful! Thank you very very much! Spam is such a heartache, finding this way to ZAP it makes my day! Quote
TCH-Bruce Posted April 15, 2005 Posted April 15, 2005 Glad I could help. I never pop this account unless it actually gets a good email in it. I use a program called Poptray that I scan this box with. It downloads headers only (you can download the body as well if you want) and you can delete the messages right from there. Save bandwidth. Quote
TCH-Don Posted April 15, 2005 Posted April 15, 2005 Welcome to the Family Stephane and your new home! We really are like family here. So if you need anything, just ask your new family! We love to help 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.