The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Any way to stop filtering after a rule is hit?

Discussion in 'General Discussion' started by wookiee, Jul 1, 2005.

  1. wookiee

    wookiee Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Las Vegas
    Any way to stop email filtering after a rule is hit?

    I have over 20 filters in Mail Manager Main Menu -> E-mail Filtering
    Once a filter is hit say to 'discard' i need it to stop checking.
    Is there a command to add that will cause it to stop filtering once a filter rule is activated.

    What I have...
    Several dozen domains whose mail is forwarded to my main domain.
    The main domain has SA running.
    Filters are set up to...
    discard SA Yes header
    discard 'junk' keywords I have set up
    discard addresses I set up for unwanted spam
    finally...
    forward all other mail to my postmaster account...Filter To that contains @

    Using Filter Test
    Any SA yes mail is discarded as well as forwarded to my postmaster account.

    So....
    I need filtering to stop, once a filter rule is activated.
    If no rules are activated, then the last one is used which moves all main to pm and keeps it out my other accounts.
    That way my email client only needs to check one box for all mail and my other boxes don't fill up.

    Thanks
     
    #1 wookiee, Jul 1, 2005
    Last edited: Nov 2, 2005
  2. kemis

    kemis Well-Known Member

    Joined:
    Feb 17, 2005
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Georgetown, TX
    I'm trying to figure out how to get the rules to stop, too. Any luck yet?

    -- Matt
     
  3. rmorrow

    rmorrow Registered

    Joined:
    Oct 27, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    The Exim filter specification says you can do a "finish" command between the "then" and "endif" of the vfilter, but I see no way to do this via cpanel. I've been looking for a 3rd party product for editing the /etc/vfilter/virtualhost file directly, to allow for complicated filters. Maybe this will help...?
     
  4. kemis

    kemis Well-Known Member

    Joined:
    Feb 17, 2005
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Georgetown, TX
    Well, if you happen to find anything that will help cPanel users regarding this, please let us know! :)

    -- Matt
     
Loading...

Share This Page