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!

Exim Filter on Subject line

Discussion in 'E-mail Discussion' started by mirfan, May 28, 2012.

  1. mirfan

    mirfan Active Member

    Joined:
    Nov 24, 2008
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    51
    Hello,

    I need to add custom filter in exim.
    That whenever i send/receive any email with specific subject than copy of email also come to administrator to check and evaluate the email.

    e.g. if email subject contains "Hello" email copy also need to come on address abc@example.com.

    I think i need to add following code on top of exim filter file /etc/cpanel_exim_system_filter

    if $header_subject: contains "Hello" or $header_subject: contains "hello"
    then
    deliver abc@example.com
    endif

    Please let me know i am doing it right or not.
     
  2. mirfan

    mirfan Active Member

    Joined:
    Nov 24, 2008
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    51
    Can someone please help on this.
     
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