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.

Cpanel email filtering OR rules not working

Discussion in 'E-mail Discussions' started by jeffschips, Jun 5, 2016.

Tags:
  1. jeffschips

    jeffschips Member

    Joined:
    Jun 5, 2016
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    new york
    cPanel Access Level:
    Root Administrator
    CENTOS 5.11 x86_64 virtuozzo – WHM 56.0 (build 22) on private VPS

    Using an "or" rule on "does not contain" on "from" of account level email filtering does not work in Cpanel/WHM.

    For example, if I have

    From "does not contain" dan@abc.com

    then forward to

    anthother.email.address@anotheraddress.com

    that works,

    BUT having 2 "or" rules does not work, such as:

    From "does not contain" dan@abc.com

    OR

    From "does not contain" sally@xyz.com

    then forward to anthother.email.address@anotheraddress.com

    DOES NOT WORK and both rules are ignored.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    I've been unable to reproduce this behavior on a test machine. Could you post the output of the entry in /var/log/exim_mainlog for one of the messages that skips the filter rule? EX:

    Code:
    exigrep MSGID /var/log/exim_mainlog
    Thank you.
     
  3. jeffschips

    jeffschips Member

    Joined:
    Jun 5, 2016
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    new york
    cPanel Access Level:
    Root Administrator
    I'm talking about account level filtering within cpanel, not exigrep. Go to Cpanel and click email then examine the account level filtering rules.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    The "exigrep" command is simply a command used to search the Exim logs to determine additional information. Seeing the log entry for the message can help determine why a filter rule isn't working as expected.

    Thank you.
     
Loading...

Share This Page