Why does SpamAssassin Label my Email as Spam?

SpamAssassin is an application that tests email messages in order to see if they are defined as spam or not. It performs hundreds of tests on the messages and will assign a score to the message. This score can then be used by applications in order to filter emails so that only the relevant messages get through to the user. The following article briefly lists the tests run by SpamAssassin, explains how to lower your spam score and avoid false positives, and also aids in understanding the Spam scores.

How does SpamAssassin determine that email is spam?

SpamAssassin checks many variables within an email in order to determine the spam score. A user can also change the settings that SpamAssassin uses in order to determine if an email will score as a spam or not. SpamAssassin settings can be changed within the cPanel. The number and complexity of the tests are so numerous that it can be difficult to understand why an email was given a particular score. If you want to see the tests being run using the latest version of SpamAssasin, go to:

SpamAssassin Tests Performed (version3.3.x)

(for older versions of SpamAssassin, see older versions of SpamAssassin)

How to Lower Your SpamAssassin Score

The main thing is to make sure that your email does not fall into the definition of being spam. Here are some common issues and items that should be included in your email as defined by the CAN-SPAM Act of 2003 (section 5):

  • Provide indication that email is an advertisement
  • Include a type of return email address that allows recipient to opt-out
  • Email includes a clear notice that there is an option to opt out
  • Email is not sent after a recipient had sent notice that they wish to no longer receive the email
  • Email contains a valid, physical address.

Your email should not include the following:

  • False or misleading information in the header
  • False or misleading information in the subject line

Other great sources of information that would help to keep your email from being labeled as spam or generating a false positive result includes:

Another option to help in keeping your email from being labeled as spam is to use Domain Keys. The Domain Key is an e-mail authentication system that allows for incoming mail to be checked against the server it was sent from to verify that the mail has not been modified. This verifies that the email is coming from the listed sender and allows abusive messages to be tracked with more ease.

Understanding X-Spam scores

Reading the X-Spam scores in the header of an email can definitely appear to be difficult. When you become familiar with the sections of the header, it becomes much easier to identify the portions that deal with SpamAssassin. Here are some of the headers that will give you information on how SpamAssassin judged the email:

X-Spam-Score This is the numerical value assigned to the email by SpamAssassin based on it rated the email to be possibly spam. Generally, the higher the number, the more that it is considered spam. The lower the number, the more that is considered a legitimate email or not spam.
X-Spam-Flag This is typically either YES or NO; generally, a YES will indicate a SPAM message and NO a non-spam message.
X-Spam-Report This report will typically either give an explanation of the spam identification provide a summary of the flags that the message triggered that mark it as spam
X-Spam-Bar This will either be a “-” indicating a non-spam email, or a number of “+” signs indicating how strongly SpamAssassin identified the email as spam.
X-Spam-Status This is visible when a mail client is configured to show full headers. Can also contain a yes/no value indicating if it is spam, total score for the message, score required for message to be classes as spam, version of SpamAssassin used. For the complete list, go to definition of X-Spam-Status

Click on the following examples of a non-spam email header with SpamAssassin and an email identified as spam by SpamAssassin.

Email not marked as spam Email marked as spam
Mail not detected as spam

Mail detected as spam

Thoughts on “Why does SpamAssassin Label my Email as Spam?

  • <BODY> 

    <CENTER><A href=”http://e-unitella.net/kimi.html?32=1[id]o11SatsumaUUUK_WZR_UK_0s23.[news].[track]1010.[msgid]”><BR> 

    <FONT size=5 face=calibri><EM><STRONG><FONT color=#000000 size=6>Borrow up to 300GBP with no hidden fees</FONT></STRONG></EM> 

    </FONT><BR><IMG border=0 src=”http://e-unitella.net/16952r682ozw/448tI1bv.png”></A> </CENTER>

    <CENTER>

     

    <A href=”http://e-unitella.net./kimi.html?32=1[id]o11SatsumaUUUK.[news].[track]1010.[msgid]”><BR><IMG 

    border=0 src=”http://e-unitella.net/16h53coctrov/Satsuma.jpg”> <BR></CENTER>

     

    <CENTER><A href=”http://e-unitella.net./kimi.html?32=1[id]o11ssn036ty.[news].[track]1010.[msgid]”><IMG 

    border=0 src=”<<unsub-image>>”> </A></CENTER></BODY>
  • <BODY> 
    <CENTER><A 
    href="http://originari.com/kimi.html?32=1o11Camy_vl_grp_clicks_UKvl_0s23.5qsl.F0000rfg03dcol1jp_r41010.ftbv2MDAwMDQzYTJ2bGky0x697l"><FONT 
    size=5><STRONG><EM>2 FREE high performance cameras valued at £218</EM></STRONG></FONT><BR>
    <IMG border=0 src="https://originari.com/16m53rln73fv/Camy.jpg">
    
     <A href="http://originari.com/kimi.html?32=1o11Camy_outvl_grp_clicks_UK.5qsl.F0000rfg03dcol1jp_r41010.ftbv2MDAwMDQzYTJ2bGky0u6Nvi"><BR><IMG 
    border=0 src="https://originari.com/16m53rlnk6o8/CamyOUT.jpg"> <BR>
    
    <A href="http://originari.com/kimi.html?32=1o11ssn02316klm_outvl_grp_clicks_UK.5qsl.F0000rfg03dcol1jp_r41010.ftbv2MDAwMDQzYTJ2bGky0a1MfO"><IMG 
    src="https://originari.com/kimi.html?32=80s2c__o11Camy_vl_grp_clicks_UKvl_0s23.5qsl.F0000rfg03dcol1jp_r41010.ftbv2MDAwMDQzYTJ2bGky0j3dDX"></A> </CENTER></BODY>      
    
    
    
    
    <style>
    kall
    dagmar
    klopt
    Maul
    sehe
    ficiant
    1655
    ratcheting
    contenida
    Mondelez
    monteur
    Leite
    laiss
    tfm
    naturali
    utop
    publikationen
    alguns
    hbf
    resultatet
    nonshop
    mercadolivre
    florentino
    News3
    isoprene
    Bavarian
    motard
    nlb
    B2W
    blackwood
    klistra
    izquierdo
    CONTACTUS
    millen
    supo
    listados
    minhas
    C43
    _schwierigen
    Bodo
    fwlink
    voldoende
    esque
    3Dq
    relat
    pondant
    combiner
    secretaries
    noen
    2842
    9510
    crece
    novedoso
    coordenadora
    tribute
    corresponder
    _aliviar_
    photos3
    superfit
    Serisi
    1742
    somalia
    zeigte
    teksystems
    40086
    bricoleurs
    appartamento
    rispettivi
    entscheidenden
    ESAs
    addressees
    toit
    maturing
    enchilada
    camisoles
    nachnahme
    catchoftheday
    sivan
    Kati
    CW1
    loreal
    skrev
    eclub
    aanpassingen
    europeus
    tuyaux
    mcu
    tuesday
    lengthy
    whimsy
    guyana
    PKG
    pretext
    trash
    campsite
    anxieties
    detrimental
    Thurs
    Trevor
    Islamist
    niece
    seeing
    extravagant
    signature
    Triplets
    infants
    jihadists
    josue
    bedside
    prerecorded
    Borg
    undefeated
    Shortlisted
    pacino
    estee
    wildly
    Dogan
    cycles
    discussion
    belvedere
    experiments
    Tibetan
    cherish
    makers
    Heston
    unleashed
    arguably
    Hurdle
    quitter
    NUTCRACKER
    reggie
    earlier
    nexus
    civilians
    ramadan
    mounting
    PCW
    Parnell
    footing
    Lola
    notably
    NATO
    berl
    Jeanne
    ruling
    challenge
    adaptation
    426e30
    engelse
    tastic
    avancerade
    gnp
    22871
    bijuais
    bandar
    condicionar
    nazvaj
    planifiez
    interim
    instinct
    expedited
    limbaugh
    Griffith
    DLP
    ordering
    Monday
    marries
    unaccompanied
    chaste
    Riggs
    Friday
    whisky
    Citadel
    realizes
    miscarriage
    Birgit
    omv
    viviane
    candles
    blackouts
    jpmorgan
    rewriting
    nytimes
    Roy
    PILGRIMAGE
    Reid
    argues
    signaling
    Sarah
    proclaimed
    crippled
    internship
    JUDY
    appear
    elephants
    Turk
    dismiss
    Rapture
    casket
    galactic
    Iwata
    constitutionally
    transfusion
    Wag
    Punk
    existential
    retrospective
    liability
    pledges
    shortage
    DISGUISED
    natured
    decline
    investigate
    defendant
    ensemble
    conversation
    rolled
    DeflateGate
    Zones
    hadith
    pta
    Louie
    utc
    fisher
    toured
    hourly
    clogging
    kirkland
    shareholders
    Cunningham
    recreational
    extraordinarily
    skipped
    transformations
    Vampire
    item
    calif
    Sutton
    traditionally
    hillsboro
    healing
    roots
    recover
    squeaky
    fei
    learns
    ballerinas
    triathlon
    Lau
    sticking
    Intruder
    tends
    currency
    replied
    vomiting
    Bigotry
    DEA
    magnum
    responsible
    warnings
    uprising
    caps
    Scout

Leave a Reply