Hosting with an edge
Reply to topic
Email filtering in Cpanel
Nahoo
Site Admin

Joined: 24 Jul 2002
Posts: 91
Location: Brighton, England
Reply with quote
Using SpamAssassin Headers on cPanel

Once SpamAssassin is enabled, you can easily set an Email Filter to clear out your spam...

Code:
Filter: Any Header that matches regex "X-Spam-Score: ([2][1-9]|[3-6][0-9])"
Destination: "spam_holding_account@yourdomain"

Filter: Any Header that matches regex "X-Spam-Score: ([7-9][0-9]|[1-9][0-9]{2,})"
Destination: "Discard"


Unlike the other options shown in the email filtering, this actually does the job without freezing up. Using the score numbers (and not regex) fails when there are no SpamAssissin headers present in an email.
View user's profileSend private messageVisit poster's websiteICQ Number
Email filtering in Cpanel
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic  
©