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!

How to rewrite mail subject with exim?

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

  1. netlook

    netlook Well-Known Member
    PartnerNOC

    Joined:
    Mar 25, 2004
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    166
    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:
    166
    Have you got any idea?
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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