{"id":88,"date":"2019-05-01T22:12:15","date_gmt":"2019-05-01T22:12:15","guid":{"rendered":"https:\/\/techplushost.com\/blog\/?p=88"},"modified":"2019-05-01T22:12:19","modified_gmt":"2019-05-01T22:12:19","slug":"how-to-resolve-spamming-issue-with-postfix","status":"publish","type":"post","link":"https:\/\/techplushost.com\/blog\/how-to-resolve-spamming-issue-with-postfix\/","title":{"rendered":"How to resolve spamming issue with postfix"},"content":{"rendered":"\n<p><strong>How to resolve the spamming issue with your postfix mailserver having CWP.<\/strong><\/p>\n\n\n\n<p>Before starting we should stop the postfix mailserver.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">service postix stop<\/pre>\n\n\n\n<p>For start lets count the number of emails stuck in the mail server queue:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">postqueue -p | grep -c \"^[A-Z0-9]\"<\/pre>\n\n\n\n<p>Select few similar emails and use IDs to check them<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">postqueue -p<\/pre>\n\n\n\n<p>you will get something like:<br><code>47071F9C08 2262516 Thu Jan 21 13:14:52 erica.bello@abc.com<\/code><\/p>\n\n\n\n<p>Now we need to read that email by ID<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">postcat -q 47071F9C08<\/pre>\n\n\n\n<p>By reading the content of the email we can determinate if that is a spam or not.<br>If the email is spam then you need to locate the source of it.<\/p>\n\n\n\n<p>If the email source contains something similar like sasl login:<br><code>named_attribute: sasl_method=LOGIN<br>named_attribute: sasl_username=info@abc.com<\/code><br>That means that \u201csasl\u201d password login was hacked for the email account \u201cinfo@abc.com\u201d.<br>To protect your server you need to change the email account password.<\/p>\n\n\n\n<p>Once you have changed the account password then you should restart the postfix.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">service postfix restart<\/pre>\n\n\n\n<p>Don\u2019t forget to install mod security with automatic update of rules within you CWP to prevent any further hacking of your sites.<\/p>\n\n\n\n<p><em>This article will be updated from time to time!!!<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to resolve the spamming issue with your postfix mailserver having CWP. Before starting we should stop the postfix mailserver. service postix stop For start lets count the number of emails stuck in the mail server queue: postqueue -p | grep -c &#8220;^[A-Z0-9]&#8221; Select few similar emails and use IDs &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[14,11],"tags":[70],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to resolve spamming issue with postfix | TechPlusHost | Blog<\/title>\n<meta name=\"description\" content=\"How to resolve the spamming issue with your postfix mailserver having CWP.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techplushost.com\/blog\/how-to-resolve-spamming-issue-with-postfix\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to resolve spamming issue with postfix | TechPlusHost | Blog\" \/>\n<meta property=\"og:description\" content=\"How to resolve the spamming issue with your postfix mailserver having CWP.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techplushost.com\/blog\/how-to-resolve-spamming-issue-with-postfix\/\" \/>\n<meta property=\"og:site_name\" content=\"TechPlusHost | Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/techplushost\" \/>\n<meta property=\"article:published_time\" content=\"2019-05-01T22:12:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-05-01T22:12:19+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@techplushost\" \/>\n<meta name=\"twitter:site\" content=\"@techplushost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"webmaster\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"1 minute\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/techplushost.com\/blog\/#organization\",\"name\":\"TechPlusHost\",\"url\":\"https:\/\/techplushost.com\/blog\/\",\"sameAs\":[\"https:\/\/web.facebook.com\/techplushost\",\"https:\/\/www.instagram.com\/techplushost\/\",\"https:\/\/twitter.com\/techplushost\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/techplushost.com\/blog\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/i1.wp.com\/techplushost.com\/blog\/wp-content\/uploads\/2018\/04\/logo.png?fit=314%2C108&ssl=1\",\"width\":314,\"height\":108,\"caption\":\"TechPlusHost\"},\"image\":{\"@id\":\"https:\/\/techplushost.com\/blog\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/techplushost.com\/blog\/#website\",\"url\":\"https:\/\/techplushost.com\/blog\/\",\"name\":\"TechPlusHost\",\"description\":\"Our Blog\",\"publisher\":{\"@id\":\"https:\/\/techplushost.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/techplushost.com\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/techplushost.com\/blog\/how-to-resolve-spamming-issue-with-postfix\/#webpage\",\"url\":\"https:\/\/techplushost.com\/blog\/how-to-resolve-spamming-issue-with-postfix\/\",\"name\":\"How to resolve spamming issue with postfix | TechPlusHost | Blog\",\"isPartOf\":{\"@id\":\"https:\/\/techplushost.com\/blog\/#website\"},\"datePublished\":\"2019-05-01T22:12:15+00:00\",\"dateModified\":\"2019-05-01T22:12:19+00:00\",\"description\":\"How to resolve the spamming issue with your postfix mailserver having CWP.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/techplushost.com\/blog\/how-to-resolve-spamming-issue-with-postfix\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/techplushost.com\/blog\/how-to-resolve-spamming-issue-with-postfix\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/techplushost.com\/blog\/how-to-resolve-spamming-issue-with-postfix\/#webpage\"},\"author\":{\"@id\":\"https:\/\/techplushost.com\/blog\/#\/schema\/person\/e9b6bc75fbd0a0176bc8a21d1d0d63e8\"},\"headline\":\"How to resolve spamming issue with postfix\",\"datePublished\":\"2019-05-01T22:12:15+00:00\",\"dateModified\":\"2019-05-01T22:12:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/techplushost.com\/blog\/how-to-resolve-spamming-issue-with-postfix\/#webpage\"},\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/techplushost.com\/blog\/#organization\"},\"keywords\":\"locating spam\",\"articleSection\":\"Linux Applications,Web hosting control panels\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/techplushost.com\/blog\/how-to-resolve-spamming-issue-with-postfix\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/techplushost.com\/blog\/#\/schema\/person\/e9b6bc75fbd0a0176bc8a21d1d0d63e8\",\"name\":\"webmaster\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/techplushost.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1a625aa01c08b671df0ee214786b94e9?s=96&d=wavatar&r=g\",\"caption\":\"webmaster\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9RiNW-1q","jetpack-related-posts":[{"id":86,"url":"https:\/\/techplushost.com\/blog\/how-to-manually-import-emails\/","url_meta":{"origin":88,"position":0},"title":"How to manually import emails","date":"May 1, 2019","format":false,"excerpt":"Instructions for manual import of the emails to your CWP server. 1. Create all required mailboxes via CWP2. Login in each created mailbox (this will create required file and folder structure)3. Copy the emails (like any other files) in \/var\/vmail\/DOMAIN.COM\/USERNAME4. Fix Permissions (chown uploaded files vmail:mail) Example path for email\u2026","rel":"","context":"In &quot;Web hosting control panels&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":57,"url":"https:\/\/techplushost.com\/blog\/make-minimal-os\/","url_meta":{"origin":88,"position":1},"title":"Make minimal OS","date":"April 25, 2018","format":false,"excerpt":"In order to make standard OpenVZ OS image minimal you need to follow this instruction: 1. Install standard OS from the\u00a0client area 2. Login to the VPS SSH and execute one of the following commands (depending on your OS): CentOS 6 64-bit yum remove acl apr apr-util apr-util-ldap aspell attr\u2026","rel":"","context":"In &quot;General Discussions&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":67,"url":"https:\/\/techplushost.com\/blog\/directadmin-license-renewal\/","url_meta":{"origin":88,"position":2},"title":"[DirectAdmin] license renewal","date":"April 25, 2018","format":false,"excerpt":"In some cases you may encounter an issue in your DirectAdmin control panel with error message \"License has expired\". We provide the DirectAdmin license until you use the server you purchased the DirectAdmin with and to solve this issue you need to apply three simple commands in your server while\u2026","rel":"","context":"In &quot;Web hosting control panels&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27,"url":"https:\/\/techplushost.com\/blog\/how-to-view-linux-logs\/","url_meta":{"origin":88,"position":3},"title":"How to view Linux Logs?","date":"April 24, 2018","format":false,"excerpt":"When your systems are running smoothly, take some time to learn and understand the content of various log files, which will help you when there is a crisis and you have to look though the log files to identify the issue. The operating system and running applications constantly create different\u2026","rel":"","context":"In &quot;Various Tutorials&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65,"url":"https:\/\/techplushost.com\/blog\/webmin-lets-encrypt-certificates-installation-in-your-webmin-control-panel\/","url_meta":{"origin":88,"position":4},"title":"[Webmin] Let's encrypt certificates installation in your Webmin control panel","date":"April 25, 2018","format":false,"excerpt":"Let\u2019s Encrypt is a free, automated, and open certificate authority (CA), run for the public\u2019s benefit. Let\u2019s Encrypt is a service provided by the Internet Security Research Group (ISRG). In this tutorial you will find out how you can benefit from these certificates by providing security for your Webmin websites.\u2026","rel":"","context":"In &quot;Tutorials&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":74,"url":"https:\/\/techplushost.com\/blog\/vestacp-getting-started-with-vestacp\/","url_meta":{"origin":88,"position":5},"title":"[VestaCP] Getting started with VestaCP","date":"June 8, 2018","format":false,"excerpt":"Introduction The Vesta Control Panel is a free, open source website control panel with website, email, database, and DNS functionalities built in. More information can be found on official web page: https:\/\/vestacp.com\/ VestaCP Template In Time4VPS you are able to install VestaCP template really easy and fast, only with few\u2026","rel":"","context":"In &quot;Web hosting control panels&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/techplushost.com\/blog\/wp-json\/wp\/v2\/posts\/88"}],"collection":[{"href":"https:\/\/techplushost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techplushost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techplushost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techplushost.com\/blog\/wp-json\/wp\/v2\/comments?post=88"}],"version-history":[{"count":1,"href":"https:\/\/techplushost.com\/blog\/wp-json\/wp\/v2\/posts\/88\/revisions"}],"predecessor-version":[{"id":89,"href":"https:\/\/techplushost.com\/blog\/wp-json\/wp\/v2\/posts\/88\/revisions\/89"}],"wp:attachment":[{"href":"https:\/\/techplushost.com\/blog\/wp-json\/wp\/v2\/media?parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techplushost.com\/blog\/wp-json\/wp\/v2\/categories?post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techplushost.com\/blog\/wp-json\/wp\/v2\/tags?post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}