Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

help creating email filter

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

  1. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    506
    Likes Received:
    4
    Trophy Points:
    168
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice