{"id":33,"date":"2011-07-21T15:15:35","date_gmt":"2011-07-21T11:15:35","guid":{"rendered":"http:\/\/xxxl.co.za\/?p=33"},"modified":"2023-03-16T14:38:17","modified_gmt":"2023-03-16T10:38:17","slug":"dealing-with-outgoing-smtp-problems","status":"publish","type":"post","link":"https:\/\/xxxl.co.za\/?p=33","title":{"rendered":"Dealing with outgoing smtp problems"},"content":{"rendered":"<p>In some of my networks there are a huge number users connected through a\u00a0 internet connection with NAT.<br \/>\nUsers do pick up virus&#8217;s and bots from time to time. The result is lots of port 25 smtp traffic streaming out the network and the gateway ip obviously gets blacklisted soon.<\/p>\n<p>Seems like <a href=\"http:\/\/software.klolik.org\/smtp-gated\/\">SMTP-Gated<\/a> offers some help with this.<\/p>\n<p>I start of with building a rpm of smtp-gated.<br \/>\nGetting a rpm building environment is easy:<\/p>\n<p>yum install rpm-build redhat-rpm-config gcc openssl openssl-devel<\/p>\n<p>Add a user. It is essential that you NEVER build rpm&#8217;s as root.<\/p>\n<p><code><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">useradd devel\r\npassword devel<\/pre>\n<p><\/code><\/p>\n<p>Login as newly created devel user.<\/p>\n<p>Add these to make build directory structure:<br \/>\n<code><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nmkdir -p ~\/rpmbuild\/{BUILD,RPMS,SOURCES,SPECS,SRPMS}\r\necho &#039;%_topdir %(echo $HOME)\/rpmbuild&#039; &gt;&gt; ~\/.rpmmacros\r\n<\/pre>\n<p><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In some of my networks there are a huge number users connected through a\u00a0 internet connection with NAT. Users do pick up virus&#8217;s and bots from time to time. The result is lots of port 25 smtp traffic streaming out the network and the gateway ip obviously gets blacklisted soon. Seems like SMTP-Gated offers some &hellip; <a href=\"https:\/\/xxxl.co.za\/?p=33\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Dealing with outgoing smtp problems<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-33","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/xxxl.co.za\/index.php?rest_route=\/wp\/v2\/posts\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xxxl.co.za\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xxxl.co.za\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xxxl.co.za\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xxxl.co.za\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=33"}],"version-history":[{"count":10,"href":"https:\/\/xxxl.co.za\/index.php?rest_route=\/wp\/v2\/posts\/33\/revisions"}],"predecessor-version":[{"id":361,"href":"https:\/\/xxxl.co.za\/index.php?rest_route=\/wp\/v2\/posts\/33\/revisions\/361"}],"wp:attachment":[{"href":"https:\/\/xxxl.co.za\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xxxl.co.za\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xxxl.co.za\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}