{"id":421,"date":"2009-08-06T01:20:43","date_gmt":"2009-08-05T17:20:43","guid":{"rendered":"http:\/\/blog.yonok.ac.th\/?p=421"},"modified":"2009-08-06T01:39:11","modified_gmt":"2009-08-05T17:39:11","slug":"%e0%b8%9b%e0%b8%a3%e0%b8%b1%e0%b8%9a%e0%b9%80%e0%b8%84%e0%b8%a3%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%87%e0%b8%9a%e0%b8%a3%e0%b8%b4%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%80%e0%b8%a1%e0%b8%a5%e0%b9%83%e0%b8%ab","status":"publish","type":"post","link":"http:\/\/blog.nation.ac.th\/?p=421","title":{"rendered":"\u0e1b\u0e23\u0e31\u0e1a\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e40\u0e21\u0e25\u0e43\u0e2b\u0e49\u0e25\u0e14\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a-\u0e2a\u0e48\u0e07 junk mail"},"content":{"rendered":"<p><strong>5 \u0e01.\u0e04.52<\/strong> \u0e21\u0e35\u0e42\u0e2d\u0e01\u0e32\u0e2a\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a <span style=\"color: #ff0000;\"><strong>Mail Server \u0e08\u0e23\u0e34\u0e07\u0e08\u0e31\u0e07\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07 <\/strong><\/span>\u0e2a\u0e23\u0e38\u0e1b\u0e27\u0e48\u0e32\u0e44\u0e14\u0e49\u0e14\u0e33\u0e40\u0e19\u0e34\u0e19\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e31\u0e1a\u0e1b\u0e23\u0e38\u0e07\u0e40\u0e1a\u0e37\u0e49\u0e2d\u0e07\u0e15\u0e49\u0e19 \u0e14\u0e31\u0e07\u0e19\u0e35\u0e49 <span style=\"color: #ff0000;\"><strong>1)<\/strong><\/span>\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a \/etc \/mail \/sendmail.mc \u0e27\u0e48\u0e32\u0e21\u0e35\u0e19\u0e42\u0e22\u0e1a\u0e32\u0e22\u0e2d\u0e30\u0e44\u0e23\u0e17\u0e35\u0e48\u0e15\u0e01\u0e44\u0e1b\u0e08\u0e19\u0e2a\u0e48\u0e07 junk mail \u0e2d\u0e2d\u0e01\u0e08\u0e32\u0e01\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23 \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a \/var \/log \/maillog \u0e41\u0e25\u0e49\u0e27\u0e44\u0e14\u0e49\u0e41\u0e01\u0e49\u0e44\u0e02\u0e01\u0e0e\u0e2b\u0e25\u0e32\u0e22\u0e02\u0e49\u0e2d \u0e40\u0e0a\u0e48\u0e19<span style=\"text-decoration: underline;\"> <\/span><span style=\"color: #003300;\"><span style=\"text-decoration: underline;\">\u0e40\u0e1e\u0e34\u0e48\u0e21<\/span> delay_checks, relay_based_on_MX, SMART_HOST, UUCP_MAILER_MAX <span style=\"text-decoration: underline;\">\u0e25\u0e1a<\/span> accept_unresolvable_domains <\/span>\u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e01\u0e47\u0e43\u0e0a\u0e49 m4 \u0e2a\u0e31\u0e48\u0e07\u0e1b\u0e23\u0e31\u0e1a\u0e1b\u0e23\u0e38\u0e07\u0e41\u0e1f\u0e49\u0e21 sendmail.cf \u0e41\u0e25\u0e49\u0e27\u0e2a\u0e31\u0e48\u0e07 <em>#service sendmail reload<\/em> \u0e41\u0e25\u0e30\u0e14\u0e39\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e04\u0e27\u0e32\u0e21\u0e40\u0e04\u0e25\u0e37\u0e48\u0e2d\u0e19\u0e44\u0e2b\u0e27\u0e02\u0e2d\u0e07 sendmail \u0e14\u0e49\u0e27\u0e22 <em>#tail -30 maillog<\/em> <span style=\"color: #ff0000;\"><strong>2)<\/strong><\/span>\u0e17\u0e1a\u0e17\u0e27\u0e19\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e14\u0e39\u0e41\u0e25\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23 sendmail \u0e21\u0e35\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e17\u0e35\u0e48\u0e40\u0e01\u0e35\u0e48\u0e22\u0e27\u0e02\u0e49\u0e2d\u0e07 \u0e0b\u0e36\u0e48\u0e07\u0e41\u0e15\u0e01\u0e15\u0e48\u0e32\u0e07\u0e01\u0e31\u0e19\u0e44\u0e1b\u0e15\u0e32\u0e21\u0e2b\u0e19\u0e49\u0e32\u0e17\u0e35\u0e48 \u0e14\u0e31\u0e07\u0e19\u0e35\u0e49 <strong>1.<\/strong>\u0e15\u0e23\u0e27\u0e08\u0e27\u0e48\u0e32\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19 sendmail \u0e17\u0e33\u0e07\u0e32\u0e19\u0e2d\u0e30\u0e44\u0e23\u0e1a\u0e49\u0e32\u0e07\u0e14\u0e49\u0e27\u0e22 <em>#service sendmail status<\/em> \u0e08\u0e30\u0e1e\u0e1a\u0e40\u0e25\u0e02 process \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e43\u0e0a\u0e49 <em>#cat \/var \/log \/maillog | grep [number of process]<\/em> \u0e14\u0e39\u0e27\u0e48\u0e32\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e02\u0e2d\u0e07 process \u0e19\u0e31\u0e49\u0e19\u0e27\u0e48\u0e32\u0e17\u0e33\u0e2d\u0e30\u0e44\u0e23\u0e1a\u0e49\u0e32\u0e07 <strong>2.<\/strong>\u0e17\u0e14\u0e2a\u0e2d\u0e1a\u0e2a\u0e48\u0e07\u0e2d\u0e35\u0e40\u0e21\u0e25\u0e14\u0e49\u0e27\u0e22 <em>echo &#8220;abc&#8221;| sendmail\u00a0a@b.com<\/em>\u00a0<strong>3.<\/strong>\u0e17\u0e14\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32 imap \u0e2b\u0e23\u0e37\u0e2d pop3 \u0e40\u0e1b\u0e34\u0e14\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e2d\u0e35\u0e40\u0e21\u0e25\u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48 \u0e14\u0e49\u0e27\u0e22 <em>#telnet localhost 143<\/em> \u0e2b\u0e23\u0e37\u0e2d 110<strong> 4.<\/strong>\u0e15\u0e23\u0e27\u0e08\u0e23\u0e38\u0e48\u0e19\u0e02\u0e2d\u0e07 sendmail \u0e14\u0e49\u0e27\u0e22 <em>#rpm -qa|grep sendmail<\/em> <span style=\"color: #ff0000;\"><strong>3)<\/strong><\/span>\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e01\u0e23\u0e2d\u0e07 spam 2 \u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e04\u0e37\u0e2d \u0e01\u0e32\u0e23\u0e01\u0e23\u0e2d\u0e07\u0e2d\u0e35\u0e40\u0e21\u0e25\u0e02\u0e32\u0e40\u0e02\u0e49\u0e32 inbox \u0e43\u0e0a\u0e49\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 spamassassin + bayes \u0e21\u0e35 config\u00a0\u0e2d\u0e22\u0e39\u0e48\u0e17\u0e35\u0e48 \/etc \/mail \/spamassassin \/local.cf \u0e0b\u0e36\u0e48\u0e07\u0e21\u0e35\u0e40\u0e27\u0e47\u0e1a\u0e40\u0e1e\u0e08\u0e17\u0e35\u0e48\u0e0a\u0e48\u0e27\u0e22\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e02\u0e49\u0e2d\u0e01\u0e33\u0e2b\u0e19\u0e14 \u0e17\u0e35\u0e48\u00a0<a href=\"http:\/\/www.yrex.com\">\u00a0http:\/\/www.yrex.com<\/a> \/spam \/spamconfig.php \u0e42\u0e14\u0e22\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e27\u0e48\u0e32 required_score 7.5, use_bayes 1, bayes_auto_learn 1 \u0e2d\u0e35\u0e01\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e04\u0e37\u0e2d procmailrc \u0e43\u0e0a\u0e49\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e01\u0e23\u0e2d\u0e07 keyword \u0e01\u0e47\u0e22\u0e31\u0e07\u0e43\u0e0a\u0e49\u0e2d\u0e22\u0e39\u0e48 \u0e41\u0e15\u0e48\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19\u00a0 junk mail \u0e1e\u0e31\u0e12\u0e19\u0e32\u0e04\u0e33\u0e43\u0e2b\u0e21\u0e48\u0e17\u0e38\u0e01\u0e27\u0e31\u0e19 <span style=\"color: #ff0000;\"><strong>4)<\/strong><\/span>\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e1c\u0e25\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e31\u0e1a\u0e1b\u0e23\u0e38\u0e07 Mail Server \u0e43\u0e19\u0e27\u0e31\u0e19\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49\u0e15\u0e49\u0e2d\u0e07\u0e15\u0e23\u0e27\u0e08 mail log \u0e27\u0e48\u0e32 junk mail \u0e40\u0e02\u0e49\u0e32\u0e21\u0e32\u0e21\u0e32\u0e01\u0e40\u0e2b\u0e21\u0e37\u0e2d\u0e19\u0e40\u0e14\u0e34\u0e21\u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48<br \/>\n<strong>\u0e41\u0e2b\u0e25\u0e48\u0e07\u0e2d\u0e49\u0e32\u0e07\u0e2d\u0e34\u0e07<br \/>\n+ <\/strong><a href=\"http:\/\/rd.cc.psu.ac.th\/content\/view\/107\/46\/\">http:\/\/rd.cc.psu.ac.th\/content\/view\/107\/46\/<\/a><br \/>\n<strong>+ <\/strong><a href=\"http:\/\/www.thaicert.org\/paper\/unix_linux\/sendmail.php\">http:\/\/www.thaicert.org\/paper\/unix_linux\/sendmail.php<\/a><br \/>\n<strong>+ <\/strong><a href=\"http:\/\/www.arnut.com\/linux\/sendmail.php\">http:\/\/www.arnut.com\/linux\/sendmail.php<\/a><br \/>\n<strong>+ <\/strong><a href=\"http:\/\/www.yrex.com\/spam\/spamconfig.php\">http:\/\/www.yrex.com\/spam\/spamconfig.php<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>5 \u0e01.\u0e04.52 \u0e21\u0e35\u0e42\u0e2d\u0e01\u0e32\u0e2a\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a Mail Server \u0e08\u0e23\u0e34\u0e07 &hellip; <a href=\"http:\/\/blog.nation.ac.th\/?p=421\">\u0e2d\u0e48\u0e32\u0e19\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[81,32],"tags":[134,136,140,141],"_links":{"self":[{"href":"http:\/\/blog.nation.ac.th\/index.php?rest_route=\/wp\/v2\/posts\/421"}],"collection":[{"href":"http:\/\/blog.nation.ac.th\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.nation.ac.th\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.nation.ac.th\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.nation.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=421"}],"version-history":[{"count":3,"href":"http:\/\/blog.nation.ac.th\/index.php?rest_route=\/wp\/v2\/posts\/421\/revisions"}],"predecessor-version":[{"id":423,"href":"http:\/\/blog.nation.ac.th\/index.php?rest_route=\/wp\/v2\/posts\/421\/revisions\/423"}],"wp:attachment":[{"href":"http:\/\/blog.nation.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.nation.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=421"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.nation.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}