{"id":2003,"date":"2018-05-28T15:59:32","date_gmt":"2018-05-28T15:59:32","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=2003"},"modified":"2018-05-28T16:01:54","modified_gmt":"2018-05-28T16:01:54","slug":"cpanel-whm-apache-spamassassin-add-domain-to-blacklist-from-ssh-command-line","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/cpanel-whm-apache-spamassassin-add-domain-to-blacklist-from-ssh-command-line\/","title":{"rendered":"cPanel\/WHM &#8211; Apache SpamAssassin add Domain to Blacklist or Whitelist from SSH Command Line"},"content":{"rendered":"<p>The domains are stored in the &#8220;~\/.spamassassin\/user_prefs&#8221; config file.<\/p>\n<p>To blacklist a domain just add it to the config file.<\/p>\n<pre>blacklist_from *.domain_to_block.com<\/pre>\n<p>To whitelist, change blacklist to whitelist<\/p>\n<pre>whitelist_from *.incredigeek.com<\/pre>\n<p>Save and exit the file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The domains are stored in the &#8220;~\/.spamassassin\/user_prefs&#8221; config file. To blacklist a domain just add it to the config file. blacklist_from *.domain_to_block.com To whitelist, change blacklist to whitelist whitelist_from *.incredigeek.com Save and exit the file.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[195],"tags":[448,196,223,446,447,449,382],"class_list":["post-2003","post","type-post","status-publish","format-standard","hentry","category-cpanel","tag-blacklist","tag-cpanel-2","tag-email","tag-spam","tag-spamassassin","tag-whitelist","tag-whm"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=2003"}],"version-history":[{"count":3,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2003\/revisions"}],"predecessor-version":[{"id":2006,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2003\/revisions\/2006"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=2003"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=2003"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=2003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}