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.

Exim Filter on Subject line

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

  1. mirfan

    mirfan Active Member

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

Share This Page