Spam mail

Discussion in 'Tips/Tricks/Mods' started by Tripple2, Oct 1, 2007.

  1. Tripple2

    Tripple2 New Member

    Is it possible to rewrite the subject but not the body of a spam mail?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig rewrites only the subject of spam emails.
  3. Tripple2

    Tripple2 New Member

    Indeed the subject is rewritten, but the body looks like this:

    Spam detection software, running on the system "", has
    identified this incoming email as possible spam. The original message
    has been attached to this so you can view it (if it isn't spam) or label
    similar future email. If you have any questions, see
    [email protected] for details.

    Content preview: This is a spam test [...]

    Content analysis details: (100.0 points, 5.0 required)

    pts rule name description
    ---- ---------------------- --------------------------------------------------
    100 USER_IN_BLACKLIST From: address is in the user's black-list

    From: [email protected]
    Date: 1 october 2007 16:22:03 GMT+02:00
    To: [email protected]
    Subject: Spam test

    This is a spam test

    This is a spam test
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats a default in spamassassin, emails with a very high score, in your case 100, are delivered in this form. This can not be configured in ISPConfig, if you want to change it, you will have to change the spamassasinn defaults. The config files are in /home/admispconfig/ispconfig/tools/spamassasin/etc/...
  5. Tripple2

    Tripple2 New Member

    I found the solution on this forum. For those who don't want to search again and rewrite the header of spam without attach the original mail:


    report_safe 0

Share This Page