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.

Account Level Filter Will not Work for "To"

Discussion in 'E-mail Discussions' started by imperium2335, May 23, 2012.

  1. imperium2335

    imperium2335 Registered

    Joined:
    May 23, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I am trying to set up two filters, one of which works perfectly but the other does not.

    My first filter: From - Contains - me@xxx.com - redirect to xxx@xxx.com, discard message

    Second filter: To - contains - me@xxx.com - redirect to xxx@xxx.com, discard message

    The second filter does not work in practise, nothing happens at all, the recipient gets the email and nothing is redirected.

    Here is the output from the test filter, which is correct, but doesn't work in practice:

    The Filter has matched the following condition(s):
    $message_headers contains me@xxx.com

    Condition is true: $header_to: contains me@xxx.com
    Return-path copied from sender
    Sender = me@xxx.ds-10.com
    Recipient = me@xxx.ds-10.com
    Testing Exim filter file "/etc/vfilters/xxx.com"

    Deliver message to: my.name@xxx.com
    Save message to: /dev/null 0660
    Deliver message to: my.name@xxx.com
    Save message to: /dev/null 0660
    Filtering set up at least one significant delivery or other action.
    No other deliveries will occur.
     
  2. imperium2335

    imperium2335 Registered

    Joined:
    May 23, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Anyone have any ideas?
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm not sure I follow what you want to achieve here. Why do you need both?
     
  4. imperium2335

    imperium2335 Registered

    Joined:
    May 23, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I want to intercept an incoming email from a given address and not have it arrive at the user A's inbox.

    I also want any email user A sends to that email address to be intercepted and deleted, so the person on the other end doesn't get it.

    How can this be done? Is the cPanel account filtering bugged?
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm not able to intercept (which is what it sounds like your rule #2 wants to do) no matter what action I select, with no other filters in place. Whether I do this via Account Level or User Level, same result. Is there an issue? Not sure there, I've never attempted to intercept and forward an email this way before.

    Hopefully someone else has a better answer for you.
     
  6. imperium2335

    imperium2335 Registered

    Joined:
    May 23, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Is there any other way I can achieve the same results in WHM/cPanel? It's important that the email is redirected, and then deleted so that the intended recipient does not receive the email.
     
  7. Hudsound

    Hudsound Registered

    Joined:
    Mar 7, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    I am having this problem as well. Simply wanting to stop emails to a certain address. I copy the address exactly into the "to" box and tell it to discard. The next email to this address comes through. How could this simple function by done incorrectly. any suggestions? thanks!
     
Loading...

Share This Page