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.

help creating email filter

Discussion in 'E-mail Discussions' started by asmithjr, Aug 4, 2004.

  1. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    I have a customer that wants to have all failed emails for his account sent to /dev/null and to a script.

    I tried setting up a filter for Header contains X-Failed Discard.

    Here is vfilters
    if
    $message_headers contains "X-Failed"
    then
    save "/dev/null" 660
    endif

    This is not catching the email. All the failed (returned emails) are still going to his account.

    Any help?
     
Loading...

Share This Page