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.

multiple email filter parameters

Discussion in 'E-mail Discussions' started by tcwebguy, Jan 6, 2004.

  1. tcwebguy

    tcwebguy Active Member

    Joined:
    Sep 28, 2001
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    0
    Does anyone know how to add multiple email filter parameters for the same filter?

    I would like to discard emails identified by spam assassin only if they are going to a particular account.

    so I want to discard where To equal to email@domian.com AND spam assassin spam header begins with Yes.

    Any ideas??

    :)
     
  2. PeteC

    PeteC Well-Known Member

    Joined:
    May 8, 2003
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Texas
    1. Go into cPanel and add the 2 filters as usual (this gives an "or" relationship).

    2. Edit /etc/vfilters/domain.com and change the "or" to "and". Save and you're good to go.

    After doing this, don't use cPanel to modify the filters, or they'll get set back to "or".
     
Loading...

Share This Page