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.

How to rewrite mail subject with exim?

Discussion in 'E-mail Discussions' started by netlook, Mar 7, 2005.

  1. netlook

    netlook Well-Known Member
    PartnerNOC

    Joined:
    Mar 25, 2004
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    I want to rewrite mail subject in my system it such condition:

    If there is word "rolex" in message body, then rewrite Subject with *SPAM* subject.

    Hope somebody will help me, I'm fighting with this all day. I don't have Spamassasin, only Exim+exiscan+clamav

    Thanks
     
  2. netlook

    netlook Well-Known Member
    PartnerNOC

    Joined:
    Mar 25, 2004
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    Have you got any idea?
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I'd suggest that you look into how to configure SpamAssassin rules on their site. You could also add SARE rules:
    http://www.rulesemporium.com

    Modifying emails in such a way really is not the responsibility of the MTA. An alternative would be to use an exim filter (e.g. modify the system_filter /etc/antivirus.exim) have a read of the exim Filters docs on how to do that:
    http://www.exim.org/exim-html-4.50/doc/html/filter_toc.html
     
Loading...

Share This Page