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.

spam subject rewrite is gone !?!

Discussion in 'General Discussion' started by 8p-design, Mar 4, 2010.

  1. 8p-design

    8p-design Active Member

    Joined:
    Mar 25, 2006
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    hi,
    in WHM, we were rewriting the email subject with ***SPAM [$spam_score]*** globally for all users

    And this was REALLY used by all our clients and us.

    But I cannot find this feature anymore in WHM.
    cPanel 11.25.0-S43473 - WHM 11.25.0 - X 3.9

    Thanks for pointing out.
     
  2. 8p-design

    8p-design Active Member

    Joined:
    Mar 25, 2006
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    adding rewrite to local.cf does not work

    So I tried adding the following to /etc/mail/spamassassin/local.cf config file and it still does not work.

    rewrite_header Subject ***SPAM(_SCORE_)***

    I then restarted exim...
    what am I missing?

    thanks!
     
  3. kokoman

    kokoman Active Member

    Joined:
    Nov 28, 2002
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    BA, Argentina
    exim system filter

    Try adding the following lines to /etc/cpanel_exim_system_filter

    if "${if def:header_X-Spam-Subject: {there}}" is there
    then
    headers remove Subject
    headers add "Subject: $h_X-Spam-Subject:"
    headers remove X-Spam-Subject
    endif
     
  4. hodfords

    hodfords Active Member

    Joined:
    Feb 22, 2002
    Messages:
    43
    Likes Received:
    1
    Trophy Points:
    6
    Tried doing that - but as soon as you make any changes.... and you go into WHM > Exim Configuration >

    Then the changes are wiped.
     
Loading...

Share This Page