{"id":1239,"date":"2016-03-15T03:57:27","date_gmt":"2016-03-15T01:57:27","guid":{"rendered":"http:\/\/www.shukko.com\/x3\/?p=1239"},"modified":"2016-03-15T03:58:38","modified_gmt":"2016-03-15T01:58:38","slug":"sunucuda-port-25-den-hic-bisi-mail-gonderemesin-sadece-exim-gondersin","status":"publish","type":"post","link":"https:\/\/www.shukko.com\/x3\/2016\/03\/15\/sunucuda-port-25-den-hic-bisi-mail-gonderemesin-sadece-exim-gondersin\/","title":{"rendered":"sunucuda port 25 den hic bisi mail gonderemesin sadece exim gondersin?"},"content":{"rendered":"\n<pre class=\"lang:default decode:true \" >actual iptables code used:\r\n\r\n#SMTP output, only allow mail to send remotely.\r\niptables -A OUTPUT -m owner --uid-owner mail -p tcp --dport 25 -j ACCEPT\r\niptables -A OUTPUT -m owner --uid-owner root -p tcp --dport 25 -j ACCEPT\r\niptables -A OUTPUT -p tcp -d 127.0.0.1 --dport 25 -j ACCEPT\r\niptables -A OUTPUT -p tcp --dport 25 -j REJECT\r\n\r\n\/sbin\/service iptables save\r\n\r\ncat \/etc\/sysconfig\/iptables\r\n\r\n\r\nFeel free to remove the whole line containing \"--uid-owner root\" if you don't need it.\r\nI personally do a lot of debugging with telnet to port 25, hence I'm leaving it open.\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>actual iptables code used: #SMTP output, only allow mail to send remotely. iptables -A OUTPUT -m owner &#8211;uid-owner mail -p tcp &#8211;dport 25 -j ACCEPT iptables -A OUTPUT -m owner &#8211;uid-owner root -p tcp &#8211;dport 25 -j ACCEPT iptables -A OUTPUT -p tcp -d 127.0.0.1 &#8211;dport 25 -j ACCEPT iptables -A OUTPUT -p tcp &#8211;dport [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1239","post","type-post","status-publish","format-standard","hentry","category-kategerisiz"],"_links":{"self":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/comments?post=1239"}],"version-history":[{"count":2,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1239\/revisions"}],"predecessor-version":[{"id":1241,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1239\/revisions\/1241"}],"wp:attachment":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/media?parent=1239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/categories?post=1239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/tags?post=1239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}