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!

mail filter problem on cpanel

Discussion in 'E-mail Discussion' started by devilsoulblack, Apr 10, 2008.

  1. devilsoulblack

    Joined:
    Mar 27, 2007
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Chile
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    hi all

    today i try to make a email filter using cpanel options but dont work this its the code

    Code:
    if first_delivery
    and ( ("$header_from:" contains "id@dominio.com")
    or ("$header_from:" contains "id1@dominio.com")
    or ("$header_from:" contains "id2@dominio.com")
    )
    then
    unseen deliver "id3@dominio.com"
    endif
    and Also

    Code:
    if
     $header_from: contains "id@dominio.com"
    then
     deliver "id3@dominio.com"
    endif
    the main idea its all outgoing mail from id@dominio.com must be
    send a copy (bcc) to id3@dominio.com

    any idea ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. yantomulia

    yantomulia Member

    Joined:
    Feb 13, 2008
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    hi devil,

    you can try this

    if first_delivery
    and ("$h_from:" contains "id@dominio.com")
    and not ("$h_X-Spam-Checker-Version:" begins "SpamAssassin")
    then
    unseen deliver "id3@dominio.com"
    endif
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 yantomulia, Apr 30, 2008
    Last edited: Apr 30, 2008
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