Blocked spam emails myself

Hi guys, have a problem with spam email’s I receive more than a hundred spam messages a day. How I can block it’s emailes? Th..you

Hi,

You should train SpamAssassin to better detect spam (you should also train it with ham, indeed, more ham than spam to get better results). Could you please show the headers of a couple of those messages? I’m interested in the spam report.

ok here

Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Tue, 02 Jun 2026 14:09:47 -0400
Received: from 245.129.237.35.bc.googleusercontent.com ([35.237.129.245] helo=ezinspections.com)
        by server.emkolbaski.net with smtp (Exim 4.95)
        (envelope-from <[email protected]>)
        id 1wUTYg-003VJQ-2q
        for [email protected];
        Tue, 02 Jun 2026 14:09:47 -0400
From: Best Buy Feedback Team <[email protected]>
To: [email protected]
Subject: Only 100 spots available: 60% off DashOne Pro Dash Cam
Message-ID: <[email protected]>
Date: Tue, 02 Jun 2026 18:09:45 +0000
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
X-Spam-Score: -31
X-Spam-Bar: ---
X-Spam-Report: Spam detection software, running on the system "server.emkolbaski.net",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  Best Buy Exclusive Offer Customer Exclusive Protect Your Drive.
    Capture Every Moment. 
 
 Content analysis details:   (-3.2 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was
                             blocked.  See
                             http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
                              for more information.
                             [URIs: 8upload.com]
  0.0 RCVD_IN_DNSWL_BLOCKED  RBL: ADMINISTRATOR NOTICE: The query to
                             DNSWL was blocked.  See
                             http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
                              for more information.
                             [35.237.129.245 listed in list.dnswl.org]
  0.0 TVD_RCVD_IP            Message was received from an IP address
  1.3 RCVD_IN_VALIDITY_RPBL  RBL: Relay in Validity RPBL,
                             https://senderscore.org/blocklistlookup/
                            [35.237.129.245 listed in bl.score.senderscore.com]
 -2.0 RCVD_IN_VALIDITY_SAFE  RBL: Sender in Validity Safe - Contact
                             [email protected]
 [Excessive Number of Queries | <https://knowledge.validity.com/hc/en-us/articles/20961730681243>]
 -3.0 RCVD_IN_VALIDITY_CERTIFIED RBL: Sender in Validity Certification
                              - Contact [email protected]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 SPF_NONE               SPF: sender does not publish an SPF Record
  0.1 MIME_HTML_ONLY         BODY: Message only has text/html MIME parts
  0.0 HTML_MESSAGE           BODY: HTML included in message
 -1.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [35.237.129.245 listed in wl.mailspike.net]
  1.0 THIS_AD                "This ad" and variants
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS

<!DOCTYPE html> <html lang="en">  <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>Best Buy Exclusive Offer</title>     <style>         :root {             --bb-blue: #0046be;             --bb-dark-blue: #00338a;             --bb-yellow: #ffe000;             --bb-yellow-hover: #ffd000;             --text-main: #1d252c;             --text-muted: #555555;             --bg-body: #f4f6f8;             --bg-card: #ffffff;             --border-color: #e1e5ea;         }          * {             margin: 0;             padding: 0;             box-sizing: border-box;         }          body {             font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;             background-color: var(--bg-body);             padding: 30px 15px;             color: var(--text-main);             -webkit-font-smoothing: antialiased;         }          .email-container {             max-width: 600px;             margin: 0 auto;             background-color: var(--bg-card);             border-top: 5px solid var(--bb-blue);             box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);             border-radius: 0 0 8px 8px;             overflow: hidden;         }          .header {             padding: 30px 40px;             text-align: center;             background-color: #ffffff;         }          .logo img {             width: 140px;             display: block;             margin: 0 auto;         }          .exclusive-badge {             display: inline-block;             margin-top: 15px;             background-color: var(--text-main);             color: #ffffff;             font-size: 11px;             text-transform: uppercase;             letter-spacing: 2px;             padding: 4px 12px;             border-radius: 20px;             font-weight: 700;         }          .hero-section {             padding: 0 40px 20px;             text-align: center;         }          .headline {             font-size: 28px;             font-weight: 800;             color: var(--text-main);             line-height: 1.2;             margin-bottom: 15px;             letter-spacing: -0.5px;         }          .headline span {             color: var(--bb-blue);         }          .subheadline {             font-size: 16px;             color: var(--text-muted);             line-height: 1.5;             margin-bottom: 25px;         }          .product-hero-image {             width: 100%;             max-width: 280px;             height: auto;             margin: 0 auto 20px;             display: block;             filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));         }          .benefits-box {             background-color: #f8fafc;             border: 1px solid var(--border-color);             border-radius: 8px;             padding: 25px;             margin: 0 40px 30px;             text-align: left;         }          .benefits-title {             font-size: 14px;             font-weight: 700;             text-transform: uppercase;             color: var(--bb-blue);             margin-bottom: 15px;             letter-spacing: 1px;         }          .benefit-item {             display: flex;             align-items: flex-start;             margin-bottom: 12px;             font-size: 15px;             color: var(--text-main);             line-height: 1.4;         }          .benefit-item:last-child {             margin-bottom: 0;         }          .check-icon {             color: #10b981; /* Green check */             font-weight: bold;             margin-right: 10px;             font-size: 16px;         }          .the-catch {             padding: 0 40px;             text-align: center;             margin-bottom: 25px;         }          .the-catch p {             font-size: 16px;             line-height: 1.6;         }          .highlight-text {             font-weight: 700;             background-color: #fcf6c7;             padding: 2px 6px;             border-radius: 3px;         }          .priority-notice {             background-color: #fff1f2;             border: 1px solid #ffe4e6;             border-left: 4px solid #e11d48;             padding: 15px 20px;             margin: 0 40px 30px;             border-radius: 0 4px 4px 0;             text-align: left;         }          .notice-text {             font-size: 14px;             line-height: 1.5;             color: #be123c;             margin: 0;         }          .cta-container {             text-align: center;             padding: 0 40px 40px;         }          .btn-primary {             display: inline-block;             background-color: var(--bb-yellow);             color: #000000;             text-decoration: none;             padding: 18px 36px;             font-size: 18px;             font-weight: 800;             border-radius: 6px;             transition: background-color 0.2s ease, transform 0.1s ease;             box-shadow: 0 4px 6px rgba(0,0,0,0.05);             width: 100%;         }          .btn-primary:hover {             background-color: var(--bb-yellow-hover);             transform: translateY(-1px);         }          .footer {             background-color: #ffffff;             padding: 30px 40px;             border-top: 1px solid var(--border-color);             text-align: center;         }          .footer-links {             margin-bottom: 20px;         }          .footer-link {             color: var(--bb-blue);             text-decoration: none;             font-size: 12px;             font-weight: 600;             margin: 0 10px;         }          .footer-link:hover {             text-decoration: underline;         }          .footer-legal {             font-size: 11px;             line-height: 1.6;             color: #888888;             margin-bottom: 15px;         }          .footer-manage {             font-size: 11px;             color: #888888;         }          .footer-manage a {             color: #888888;             text-decoration: underline;         }          @media (max-width: 600px) {             body { padding: 10px; }             .header { padding: 25px 20px 15px; }             .hero-section { padding: 0 20px 20px; }             .headline { font-size: 24px; }             .benefits-box, .the-catch, .priority-notice, .cta-container {                  margin-left: 20px;                  margin-right: 20px;                  padding-left: 20px;                 padding-right: 20px;             }             .the-catch { margin-left: 0; margin-right: 0; }             .footer { padding: 25px 20px; }             .btn-primary { padding: 16px 20px; font-size: 16px; }         }     </style> </head>  <body>     <div class="email-container">          <div class="header">             <div class="logo">                 <img src="https://i.8upload.com/image/54359566814bb02e/logo-3.webp" alt="Best Buy">             </div>             <div class="exclusive-badge">Customer Exclusive</div>         </div>          <div class="hero-section">             <h1 class="headline">Protect Your Drive.<br><span>Capture Every Moment.</span></h1>             <p class="subheadline">Upgrade your vehicle's safety with the premium DashOne Pro. Available today at an exclusive VIP price.</p>                          <a href="https://storage.googleapis.com/dashcamnewus/ls" style="text-decoration: none; border: none; display: block;">                 <img src="https://i.8upload.com/image/3063ce17d0618937/product1-1.webp" alt="DashOne Pro Dash Camera" class="product-hero-image">             </a>         </div>          <div class="benefits-box">             <div class="benefits-title">Why Drivers Choose DashOne Pro:</div>             <div class="benefit-item">                 <span class="check-icon">✓</span>                 <span><strong>Crystal Clear HD Recording:</strong> Never miss a license plate, day or night.</span>             </div>             <div class="benefit-item">                 <span class="check-icon">✓</span>                 <span><strong>Automated Incident Detection:</strong> Instantly saves footage during sudden stops or collisions.</span>             </div>             <div class="benefit-item">                 <span class="check-icon">✓</span>                 <span><strong>Absolute Peace of Mind:</strong> Irrefutable proof for insurance claims and traffic disputes.</span>             </div>         </div>          <div class="the-catch">             <p>                 <strong>How to get it:</strong> Simply answer 8 quick questions about your driving habits, and your <span class="highlight-text">60% discount will be applied automatically</span> at checkout. No promo codes required.             </p>         </div>          <div class="priority-notice">             <p class="notice-text">                 <strong>⏳ High Demand Notice:</strong> We only have <strong>100 discount codes</strong> allocated for this promotion. Once they are claimed, this offer will expire.             </p>         </div>          <div class="cta-container">             <a href="https://storage.googleapis.com/dashcamnewus/ls" class="btn-primary">Answer 8 Questions & Claim 60% Off</a>         </div>          <div class="footer">             <div class="footer-links">                 <a href="https://storage.googleapis.com/dashcamnewus/ls" class="footer-link">Privacy Policy</a>                 <a href="https://storage.googleapis.com/dashcamnewus/ls" class="footer-link">Terms of Use</a>                 <a href="https://storage.googleapis.com/dashcamnewus/ls" class="footer-link">Help Center</a>                 <a href="https://storage.googleapis.com/dashcamnewus/ls" class="footer-link">My Account</a>             </div>              <p class="footer-legal">                 This invitation was sent because you are a valued Best Buy customer. Participation is voluntary. Limit one discount per customer. Offer valid while supplies last.<br><br>                 &copy; 2026 Best Buy. All rights reserved.             </p>              <p class="footer-manage">                 <a href="https://storage.googleapis.com/dashcamnewusub/ls">Unsubscribe here</a>                 &nbsp;&bull;&nbsp;                 <a href="https://storage.googleapis.com/dashcamnewus/ls">Manage Preferences</a>             </p>         </div>      </div> </body>  </html>

on more

Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Tue, 02 Jun 2026 10:30:40 -0400
Received: from 148.150.229.8.bc.googleusercontent.com ([8.229.150.148] helo=frozendessertsupplies.com)
        by server.emkolbaski.net with smtp (Exim 4.95)
        (envelope-from <[email protected]>)
        id 1wUQ8b-0032Zg-PF
        for [email protected];
        Tue, 02 Jun 2026 10:30:40 -0400
From: Eye Care Research <[email protected]>
To: [email protected]
Subject: Do this for 7 seconds to fix your eyes
Message-ID: <[email protected]>
Date: Tue, 02 Jun 2026 14:30:37 +0000
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
X-Spam-Score: -13
X-Spam-Bar: -
X-Spam-Report: Spam detection software, running on the system "server.emkolbaski.net",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  Health Alert WATCH LIVE Developing Story Health Vision 
 
 Content analysis details:   (-1.4 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was
                             blocked.  See
                             http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
                              for more information.
                             [URIs: freebiesupply.com]
  0.0 TVD_RCVD_IP            Message was received from an IP address
 -2.0 RCVD_IN_VALIDITY_SAFE  RBL: Sender in Validity Safe - Contact
                             [email protected]
 [Excessive Number of Queries | <https://knowledge.validity.com/hc/en-us/articles/20961730681243>]
 -3.0 RCVD_IN_VALIDITY_CERTIFIED RBL: Sender in Validity Certification
                              - Contact [email protected]
  1.3 RCVD_IN_VALIDITY_RPBL  RBL: Relay in Validity RPBL,
                             https://senderscore.org/blocklistlookup/
                             [8.229.150.148 listed in bl.score.senderscore.com]
  0.0 RCVD_IN_DNSWL_BLOCKED  RBL: ADMINISTRATOR NOTICE: The query to
                             DNSWL was blocked.  See
                             http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
                              for more information.
                             [8.229.150.148 listed in list.dnswl.org]
  0.9 SPF_HELO_SOFTFAIL      SPF: HELO does not match SPF record (softfail)
  1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
  0.1 MIME_HTML_ONLY         BODY: Message only has text/html MIME parts
  0.0 HTML_MESSAGE           BODY: HTML included in message
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS

<!DOCTYPE html> <html>  <head>     <meta charset="utf-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>Health Alert</title>     <style>         body {             margin: 0;             padding: 0;             font-family: 'Proxima Nova', 'Segoe UI', Helvetica, Arial, sans-serif;             background-color: #f7f7f7;             color: #222;         }          .container {             max-width: 600px;             margin: 0 auto;             background-color: #ffffff;             border-bottom: 2px solid #cccccc;         }          /* ABC STYLE HEADER */         .abc-nav {             background-color: #000000;             padding: 15px 20px;             display: flex;             align-items: center;             justify-content: space-between;         }          .abc-logo {             width: 45px;             height: 45px;             background-color: white;             border-radius: 50%;             display: flex;             align-items: center;             justify-content: center;             font-weight: 900;             font-size: 14px;             font-family: sans-serif;             letter-spacing: -1px;             color: black;         }          /* Simulating the dot logo with text if image fails, or use image */         .abc-logo img {             width: 45px;             height: 45px;         }          .nav-links {             color: white;             font-size: 12px;             font-weight: bold;             text-transform: uppercase;             letter-spacing: 1px;         }          .content-padding {             padding: 25px;         }          /* TAGS */         .tag-container {             margin-bottom: 10px;         }          .tag {             display: inline-block;             font-size: 12px;             font-weight: bold;             color: #005596;             /* ABC Blue */             text-transform: uppercase;             margin-right: 10px;         }          .live-tag {             color: #cc0000;             margin-right: 10px;             text-transform: uppercase;             font-size: 12px;             font-weight: 800;         }          /* HEADLINE */         .headline {             font-size: 32px;             font-weight: 700;             color: #000000;             margin-bottom: 10px;             line-height: 1.1;             letter-spacing: -0.5px;         }          /* SUBHEAD */         .subhead {             font-size: 18px;             color: #555;             line-height: 1.4;             margin-bottom: 20px;         }          /* BYLINE */         .byline-area {             display: flex;             align-items: center;             margin-bottom: 20px;             font-size: 13px;             color: #666;             border-bottom: 1px solid #eee;             padding-bottom: 20px;         }          .author-text {             margin-left: 0;         }          .author-name {             color: #000;             font-weight: bold;         }          .timestamp {             display: block;             font-size: 12px;             color: #888;             margin-top: 3px;         }          /* VIDEO HERO */         .hero-wrapper {             position: relative;             margin-bottom: 25px;             background: #000;             cursor: pointer;         }          .hero-image {             width: 100%;             height: auto;             display: block;             opacity: 0.9;         }          /* ABC Style Play Button */         .play-btn {             position: absolute;             top: 50%;             left: 50%;             transform: translate(-50%, -50%);             width: 70px;             height: 70px;             background: rgba(0, 0, 0, 0.7);             border-radius: 50%;             border: 2px solid white;             display: flex;             align-items: center;             justify-content: center;         }          .play-triangle {             width: 0;             height: 0;             border-left: 20px solid white;             border-top: 12px solid transparent;             border-bottom: 12px solid transparent;             margin-left: 5px;         }          .video-duration {             position: absolute;             bottom: 10px;             right: 10px;             background: black;             color: white;             padding: 3px 6px;             font-size: 12px;             font-weight: bold;         }          /* BODY */         .body-text {             font-size: 18px;             line-height: 1.6;             color: #111;             margin-bottom: 20px;         }          /* CTA */         .btn-container {             text-align: center;             margin: 35px 0;         }          .btn {             background-color: #005596;             /* ABC Blue */             color: #ffffff;             padding: 18px 30px;             text-decoration: none;             font-size: 22px;             font-weight: bold;             border-radius: 4px;             display: block;             text-transform: uppercase;             letter-spacing: 0.5px;         }          .btn:hover {             background-color: #003366;         }          /* FOOTER */         .footer {             background-color: #f7f7f7;             padding: 20px;             text-align: center;             font-size: 11px;             color: #666;             border-top: 1px solid #ddd;         }          .footer a {             color: #444;             text-decoration: none;         }     </style> </head>  <body>      <div class="container">         <!-- ABC STYLE NAV BAR -->         <div class="abc-nav">             <!-- Using an image source for the dot logo -->             <div class="abc-logo">                 <img src="https://cdn.freebiesupply.com/logos/large/2x/abc-broadcast-logo-png-transparent.png" alt="ABC">             </div>             <div class="nav-links">                 WATCH LIVE             </div>         </div>          <div class="content-padding">             <!-- TAGS -->             <div class="tag-container">                 <span class="live-tag">Developing Story</span>                 <span class="tag">Health</span>                 <span class="tag">Vision</span>             </div>              <!-- HEADLINES -->             <div class="headline">Harvard Researchers Uncover Natural Vision Self-Healing Protocol</div>             <div class="subhead">In clinical trials, 21,000+ patients have gone from nearly blind to perfect 20/20                 vision.</div>              <!-- BYLINE & DATE -->             <div class="byline-area">                 <div class="author-text">                     <span class="author-name">By Bill hutchinson and Lube Barr</span>                     <span class="timestamp">January 22, 2026, 4:19 PM ET</span>                 </div>             </div>              <!-- HERO VIDEO -->             <div class="hero-wrapper">                 <a href="https://storage.googleapis.com/optivellproj/ls" style="display:block;">                     <img src="https://media.istockphoto.com/id/2194207189/photo/senior-female-ophthalmologist-explaining-eye-anatomy-to-patient-using-model.jpg?s=612x612&w=0&k=20&c=OAbqf9fE2RnKM0WS0C3CrcmOBZy0yxMgDBrixr_G9as=" alt="Vision Breakthrough" class="hero-image">                      <div class="play-btn">                         <div class="play-triangle"></div>                     </div>                 </a>             </div>              <!-- BODY COPY -->             <p class="body-text"><strong>(ABC News) —</strong> A massive breakthrough in ophthalmology is stunning                 doctors worldwide.</p>              <p class="body-text">This exclusive report exposes a new "Self-Healing" protocol that targets the true                 biological root cause of fading eyesight—something the $14 billion glasses industry has largely ignored.             </p>              <p class="body-text">Early users report being able to throw away their prescription glasses and read fine                 print again in record time. It appears to work regardless of age or how severe the vision loss has                 become.</p>              <p class="body-text">Watch the presentation below to see exactly how this protocol works before the video is                 taken down.</p>              <!-- CTA BUTTON -->             <div class="btn-container">                 <a href="https://storage.googleapis.com/optivellproj/ls" class="btn">Watch The Video Report</a>             </div>          </div>          <!-- FOOTER -->         <div class="footer">             Copyright © 2026. Vision Health Reports. All rights reserved.<br>             <br>             <a href="https://storage.googleapis.com/optivellprunsb/ls">Unsubscribe</a>          </div>     </div>  </body>  </html>

The first thing you should do is fix this:

 -2.0 RCVD_IN_VALIDITY_SAFE  RBL: Sender in Validity Safe - Contact
                             [email protected]
 [Excessive Number of Queries | <https://knowledge.validity.com/hc/en-us/articles/20961730681243>]
 -3.0 RCVD_IN_VALIDITY_CERTIFIED RBL: Sender in Validity Certification
                              - Contact [email protected]
  1.3 RCVD_IN_VALIDITY_RPBL  RBL: Relay in Validity RPBL,
                             https://senderscore.org/blocklistlookup/
                             [8.229.150.148 listed in bl.score.senderscore.com]

SpamAssassin is trying to check the mail against validity.com, but for a long time they have been restricting queries, so you should disable those checks because they are subtracting 3.7 points from the final score, making it harder to detect spam.

You should also disable Mailspike and optional DNSWL checks as well.

cat > /etc/spamassassin/disable-validity.cf << EOF
dns_query_restriction deny sa-trusted.bondedsender.org
dns_query_restriction deny sa-accredit.habeas.com
dns_query_restriction deny bl.score.senderscore.com
EOF
cat > /etc/spamassassin/disable-mailspike.cf << EOF
dns_query_restriction deny bl.mailspike.net
dns_query_restriction deny wl.mailspike.net
EOF
cat > /etc/spamassassin/disable-dnswl.cf << EOF
dns_query_restriction deny list.dnswl.org
score RCVD_IN_DNSWL_* 0
EOF

Once done, restart Spamassassin.

systemctl restart spamd

If you are already using Sieve, consider this add-on for training SpamAssassin with spam messages.