{"id":2153,"date":"2024-08-15T12:30:00","date_gmt":"2024-08-15T17:30:00","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=2153"},"modified":"2024-07-09T07:52:44","modified_gmt":"2024-07-09T12:52:44","slug":"how-to-stop-receiving-spam-emails-on-linux-with-spamassassin","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/","title":{"rendered":"How to stop Receiving Spam Emails on Linux with SpamAssassin"},"content":{"rendered":"\n<div id=\"linux-2977457491\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p>In the ongoing struggle against unwanted communication there are many technologies and strategies on how to stop receiving spam emails. One highly effective way for Linux users is the open-source Apache SpamAssassin project, offering a highly-effective and free anti-spam platform.<\/p>\n\n\n\n<p> In this article, we&#8217;ll teach you exactly how to stop receiving spam emails on Linux with SpamAssassin.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">What is SpamAssassin and how it works<\/h2>\n\n\n\n<p>Spamassassin is a tool that scores spam emails by comparing them against various tests. It uses a header (X-Spam-Status:) marked with a number ranging from 0-5, with a setting of 3.5 being safe enough to reduce false positives and the amount of SPAM that makes it through. A SPAM score is calculated from multiple characteristics, ranging from 0 to 5, and has been effective for years. Spamassassin is a helpful tool for filtering spam emails. In this tutorial, we&#8217;ll learn how to integrate this filter into our Postfix server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An up-to-date Linux system<\/li>\n\n\n\n<li>Postfix installed on your system<\/li>\n\n\n\n<li>Root access to your server<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Installing SpamAssassin<\/h2>\n\n\n\n<p>The installation of SpamAssassin service is easy to do. We accomplish it with the following command:<\/p>\n\n\n\n<p>sudo apt-get install spamassassin # Ubuntu<br>sudo yum install spamassassin # AlmaLinux<\/p>\n\n\n\n<p>After installing the service, we must integrate it with the Postfix mail server. To accomplish that, we&#8217;ll follow the next topic.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Configuring Spamassassin with Postfix<\/h2>\n\n\n\n<p>The main configuration file from Spamassassin is generally located at \/etc\/spamassassin\/local.cf. There, you&#8217;ll find the required_score part, which sets what is spam and what is not. You can keep it as 5 and uncomment the line if it&#8217;s commented:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>required_score 5.0<\/code><\/pre>\n\n\n\n<p>If you need to whitelist someone&#8217;s domain, you can add the following directive to your local.cf file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>whitelist_from *@sender_domain.com<\/code><\/pre>\n\n\n\n<p>Also, we need to configure report_safe. This directive will do the handle of the marked spam messages.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>report_safe 0 # The incoming SPAM messages will have the header modified with a directive pointing it's spam\nreport_safe 1 # The incoming messages tagged as SPAM will create a report and attach the original message to it\nreport_safe 2 # The incoming SPAM will be attached as a new report and sent as plain text<\/code><\/pre>\n\n\n\n<p>To identify spam messages on the mailbox, we need to remove the rewrite_header Subject comment line so it will identify the spam:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rewrite_header Subject <strong><em><strong>SPAM<\/strong><\/em><\/strong><\/code><\/pre>\n\n\n\n<p>And it&#8217;s done the configuration. Now, we need to integrate Spamassassin and Postfix.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Integrating Postfix and SpamAssassin<\/h2>\n\n\n\n<p>The postfix configuration file is located at \/etc\/postfix\/master.cf. The first change required to be done is related to the SMTP line, so the line would look like:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>smtp inet n - - - - smtpd<\/code><\/pre>\n\n\n\n<p>Then, after our changes, with the integration of SpamAssassin, it would look like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>smtp inet n - - - - smtpd -o content_filter=spamassassin<\/code><\/pre>\n\n\n\n<p>At the end of our file, we need to add the following content:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>spamassassin<br>unix \u2013 n n \u2013 \u2013 pipe<br>flags=R<br>user=spamd<br>argv=\/usr\/bin\/spamc<br>-e \/usr\/sbin\/sendmail<br>-oi -f ${sender} ${recipient}<\/code><\/pre>\n\n\n\n<p>That&#8217;s it. SpamAssassin is configured on your system and integrated with Postfix. At this point, you can test the email deliverability of your service to see if it&#8217;s working as expected. If you&#8217;re struggling with this, feel free to contact our <a href=\"https:\/\/linuxhostsupport.com\/per-incident-support.html\" target=\"_blank\" rel=\"noreferrer noopener\">Incident Server Support team<\/a>, and we&#8217;ll help you get everything sorted out.<\/p><div id=\"linux-416568223\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In the ongoing struggle against unwanted communication there are many technologies and strategies on how to stop receiving spam emails. One highly effective way for Linux users is the open-source Apache SpamAssassin project, offering a highly-effective and free anti-spam platform. In this article, we&#8217;ll teach you exactly how to stop receiving spam emails on Linux [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2164,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[228,2],"tags":[56,45,283,281,282],"class_list":["post-2153","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-tutorials","tag-how-to","tag-linux","tag-spam","tag-spam-emails","tag-spamassassin"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to stop Receiving Spam Emails on Linux with SpamAssassin | LinuxHostSupport<\/title>\n<meta name=\"description\" content=\"Learn how to stop receiving spam emails on Linux using SpamAssassin using our easy to follow guide, or have our team of admins do it for you.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to stop Receiving Spam Emails on Linux with SpamAssassin | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"Learn how to stop receiving spam emails on Linux using SpamAssassin using our easy to follow guide, or have our team of admins do it for you.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-15T17:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"How to stop Receiving Spam Emails on Linux with SpamAssassin\",\"datePublished\":\"2024-08-15T17:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\\\/\"},\"wordCount\":466,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin.webp\",\"keywords\":[\"how to\",\"linux\",\"spam\",\"spam emails\",\"spamassassin\"],\"articleSection\":[\"Linux\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\\\/\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\\\/\",\"name\":\"How to stop Receiving Spam Emails on Linux with SpamAssassin | LinuxHostSupport\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin.webp\",\"datePublished\":\"2024-08-15T17:30:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"Learn how to stop receiving spam emails on Linux using SpamAssassin using our easy to follow guide, or have our team of admins do it for you.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin.webp\",\"contentUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin.webp\",\"width\":742,\"height\":410,\"caption\":\"How to stop receiving spam emails on Linux with SpamAssassin\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to stop Receiving Spam Emails on Linux with SpamAssassin\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to stop Receiving Spam Emails on Linux with SpamAssassin | LinuxHostSupport","description":"Learn how to stop receiving spam emails on Linux using SpamAssassin using our easy to follow guide, or have our team of admins do it for you.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/","og_locale":"en_US","og_type":"article","og_title":"How to stop Receiving Spam Emails on Linux with SpamAssassin | LinuxHostSupport","og_description":"Learn how to stop receiving spam emails on Linux using SpamAssassin using our easy to follow guide, or have our team of admins do it for you.","og_url":"https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2024-08-15T17:30:00+00:00","og_image":[{"width":742,"height":410,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"How to stop Receiving Spam Emails on Linux with SpamAssassin","datePublished":"2024-08-15T17:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/"},"wordCount":466,"commentCount":0,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin.webp","keywords":["how to","linux","spam","spam emails","spamassassin"],"articleSection":["Linux","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/","url":"https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/","name":"How to stop Receiving Spam Emails on Linux with SpamAssassin | LinuxHostSupport","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin.webp","datePublished":"2024-08-15T17:30:00+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"Learn how to stop receiving spam emails on Linux using SpamAssassin using our easy to follow guide, or have our team of admins do it for you.","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin.webp","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin.webp","width":742,"height":410,"caption":"How to stop receiving spam emails on Linux with SpamAssassin"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-stop-receiving-spam-emails-on-linux-with-spamassassin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to stop Receiving Spam Emails on Linux with SpamAssassin"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/2153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=2153"}],"version-history":[{"count":6,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/2153\/revisions"}],"predecessor-version":[{"id":2163,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/2153\/revisions\/2163"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/2164"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=2153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=2153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=2153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}