Jump to content

Recommended Posts

Posted

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

Posted

Welcome to the family and forums, Stephane :P

 

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.

Posted

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! :P

 

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!

Posted

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.

  • 1 month later...
Posted
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.

 

 

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?

Posted

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.

Posted

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).

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...