Forums

THN Activation email score highly on 2 SpamAssassin rules

All offtopic discussion about anything you like including real world events, entertainment and other games.

Moderator: Tech Haven Network - Moderator team

THN Activation email score highly on 2 SpamAssassin rules

Postby zii » Sun Mar 24, 2013 7:30 pm

Hi there,

I noticed activation email hits two high scoring rules in SpamAssassin.
The two that stand out are :
3.5 PHP_NOVER_MUA Mail from PHP with no version number
3.5 TO_NO_BRKTS_MSFT To: misformatted and supposed Microsoft tool

May I suggest THN formats the email. Just hitting on one of the above instead of two would be a marked improvement. 3.5 *2 is pretty harsh ;)


Code: Select all
Return-Path: <www-data@tertial.org>
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on klunky.co.uk
X-Spam-Flag: YES
X-Spam-Level: *******
X-Spam-Status: Yes, score=7.7 required=4.0 tests=BAYES_20,JOB_OFFERS_PHASES,
   MTX_FAIL,PHP_NOVER_MUA,RDNS_NONE,TO_NO_BRKTS_MSFT shortcircuit=no
   autolearn=no version=3.3.2
X-Spam-Report:
   * -0.1 JOB_OFFERS_PHASES BODY: Phrases typical of English language job
   *      offers
   *  0.0 MTX_FAIL MTX: Failed: http://www.chaosreigns.com/mtx/
   * -0.0 BAYES_20 BODY: Bayes spam probability is 5 to 20%
   *      [score: 0.0989]
   *  0.8 RDNS_NONE Delivered to internal network by a host with no rDNS
   *  3.5 PHP_NOVER_MUA Mail from PHP with no version number
   *  3.5 TO_NO_BRKTS_MSFT To: misformatted and supposed Microsoft tool
User avatar
zii
THN nib
 
Posts: 2
Joined: Sun Mar 24, 2013 7:23 pm
Location: Peering towards the sun

Postby nEo-1664 » Mon Mar 25, 2013 12:38 am

For the time being, I dont think we can do a huge amount, but we are looking at migrating the THN to more up to date systems, but I will let Brammers fill in the details :)
The future is unknown until the present reveals it
Trillian wrote:Boys are stupid, and girls are too expensive! - I think Neo is sexy. That is all!
nEo-1664
THN Administrator
 
Posts: 157
Joined: Sat Oct 22, 2005 12:53 am
Clan: Phoenix Ltd
Faction: Fallen Angels

Postby Brammers » Mon Mar 25, 2013 12:56 am

Thanks for reporting the issue. :)

I find the TO_NO_BRKTS_MSFT rules odd considering the THN sends out clear text emails, not HTML ones.

PHP_NOVER_MUA I think is daft as I'm not going to advertise what PHP version I'm running here.

When the next upgrade of the THN comes I'll move it to the new mailer I have available. (Coming soon!)
Brammers - THN Admin & CEO Phoenix Ltd.
Image
User avatar
Brammers
THN Lead Administrator
 
Posts: 4036
Joined: Tue Aug 19, 2003 9:49 am
Location: Phoenix Ltd: CEO office
Clan: Phoenix Ltd
Faction: Fallen Angels

Postby zii » Mon Mar 25, 2013 4:28 pm

Hi B,

I tried to run through the rules but, as expected, the rules are metas of meta rules. I have no read idea what caused TO_NO_BRKTS_MSFT to trip.

I noticed that the the header "MIME-Version: 1.0" is present. I though (and could be really wrong) )one should use the MIME-Version: 1.0 header when sending an email that contains one of the following:

Text in character sets other than ASCII
Non-text attachments
Message bodies with multiple parts
Header information in non-ASCII character sets



Rules: (kind of of messy below) I won't follow these though and try to understand the regex I find as I'll be there all day :D
Code: Select all
# grep -r TO_NO_BRKTS_MSFT /usr/share/spamassassin/*
72_active.cf:##{ TO_NO_BRKTS_MSFT
72_active.cf:meta       TO_NO_BRKTS_MSFT         __TO_NO_BRKTS_MSFT && !__VIA_ML && !__LYRIS_EZLM_REMAILER && !__THREAD_INDEX_GOOD && !__IS_EXCH && !__UNSUB_LINK && !__NOT_SPOOFED && !__DOS_HAS_LIST_UNSUB && !__NAME_EQ_EMAIL
72_active.cf:describe   TO_NO_BRKTS_MSFT         To: misformatted and supposed Microsoft tool
72_active.cf:#score      TO_NO_BRKTS_MSFT         0.20
72_active.cf:##} TO_NO_BRKTS_MSFT
72_active.cf:meta       __TO_NO_BRKTS_MSFT       __TO_NO_ARROWS_R && !__TO_UNDISCLOSED && (__ANY_OUTLOOK_MUA || __HAS_MIMEOLE || __MIMEOLE_MS)
72_scores.cf:score TO_NO_BRKTS_MSFT                      0.199 0.199 0.199 0.199



Rgds, z
User avatar
zii
THN nib
 
Posts: 2
Joined: Sun Mar 24, 2013 7:23 pm
Location: Peering towards the sun


Return to Tech Haven Sector 3 - Flatline Café

Who is online

Users browsing this forum: No registered users and 8 guests