icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Email » spam assassin and mail filters in cpanel

Email General questions, webmail, mailing lists.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old June 20th, 2007, 9:30 AM   #1 (permalink)
Registered User
Seasoned Poster
 
Joined in Sep 2003
55 posts
Gave thanks: 4
Thanked 5 times
Question spam assassin and mail filters in cpanel

hi all,
i have configured the spam assassin in the past for my two main domains.
it's score is 5. and tagged in the subject.

and then i added a filter in mail filters for spam assassin
if x-spam-status = yes then send it to this email such: spamboxmydomainname.com
i check this account once a week.

now, what i want to do and ask is:
there is a header as below in the mails tagged as spam by spam assassin.
--> X-Spam-Status: Yes, score=9.4 required=5.0
i want this:
if score is higher than 10, then return/discard it (:fail: or :blackhole
if score is lower than 10, then send it to my spambox account.

is this possible? or how can i do such a setting on my cpanel?

thanks
__________________
server: pass40
sascoms is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 20th, 2007, 10:17 AM   #2 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,365 posts
Gave thanks: 25
Thanked 94 times
Search for posts from COWBOY that contain the word FILTER....
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 20th, 2007, 11:29 AM   #3 (permalink)
Registered User
Seasoned Poster
 
Joined in Sep 2003
55 posts
Gave thanks: 4
Thanked 5 times
thanks Bigjohn. i found exactly what i was looking for.
i implemented and tested it. it is working great now..
__________________
server: pass40
sascoms is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 20th, 2007, 12:15 PM   #4 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,365 posts
Gave thanks: 25
Thanked 94 times
Until your server is converted from Mbox to maildir.... then it will need to be "fixed" again...
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 22nd, 2007, 5:10 AM   #5 (permalink)
Registered User
Seasoned Poster
 
Joined in Sep 2003
55 posts
Gave thanks: 4
Thanked 5 times
Question

i see. i will review it after the upgrade.

now i have a problem after the rules i added:
i have two rules:
1- $message_headers contains "X-Spam-Level: ********" --> Discard
2- $h_X-Spam-Status: begins "Yes" --> spamboxmydomain.com

the result i wanted was:
if a message was scored >= 9 points, then discard it.
if it is lower, then forward it to my spambox account.

the rule #1 discards the mail. but before doing this, it delivers it to my spambox account too.

what shall i do/add in extra to solve this problem? shall i write custom conditions?
thanks...
__________________
server: pass40
sascoms is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 10th, 2007, 5:08 PM   #6 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,365 posts
Gave thanks: 25
Thanked 94 times
Search for "filter" and user = cowboy. You have to write a custom filter to do conditional stuff like that.

See this thread: http://surmunity.com/showthread.php?t=19824
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!

Last edited by Bigjohn; July 10th, 2007 at 5:09 PM.
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On