<br />
<b>Warning</b>:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/qtranslate-x/qtranslate_frontend.php</b> on line <b>497</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
{"id":826,"date":"2017-11-13T22:07:30","date_gmt":"2017-11-13T22:07:30","guid":{"rendered":"http:\/\/tech.memoecho.com\/?p=826"},"modified":"2017-11-13T22:07:47","modified_gmt":"2017-11-13T22:07:47","slug":"centosredhat-sendmail","status":"publish","type":"post","link":"http:\/\/tech.memoecho.com\/zh\/aliyun\/centosredhat-sendmail\/","title":{"rendered":"CentOS\/RedHat\u7684Sendmail\u53d1\u4fe1"},"content":{"rendered":"<!-- WP QUADS Content Ad Plugin v. 2.0.19 -->\n<div class=\"quads-location quads-ad2\" id=\"quads-ad2\" style=\"float:none;margin:0px;\">\n\n <!-- WP QUADS - Quick AdSense Reloaded v.2.0.19 Content AdSense async --> \n\n\n<script type=\"text\/javascript\" >\nvar quads_screen_width = document.body.clientWidth;\nif ( quads_screen_width >= 1140 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width >= 1024  && quads_screen_width < 1140 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width >= 768  && quads_screen_width < 1024 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width < 768 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }\n<\/script>\n\n <!-- end WP QUADS --> \n\n\n<\/div>\n<p><\/p>\n<div class=\"tpc_content\">\n<div id=\"read_tpc\" class=\"f14 mb10\">\n<p><span style=\"font-family: Verdana, Arial, Tahoma;\">sendmail\u662fLinux\u4e0b\u4f18\u79c0\u7684\u90ae\u4ef6\u7cfb\u7edf\u3002\u5728\u4e0d\u505a\u4efb\u4f55\u8bbe\u5b9a\u7684\u60c5\u51b5\u4e0b\uff0csendmail\u53d1\u51fa\u90ae\u4ef6\u7684\u90ae\u7bb1\u6e90\u5730\u5740\u5f62\u5982<a href=\"mailto:userid@localhost.loca\">userid@localhost.loca<\/a>ldo\uff0c\u8fd9\u79cd\u5730\u5740\u51e0\u4e4e\u4f1a\u88ab\u6240\u6709\u7684\u90ae\u7bb1\u8ba4\u5b9a\u4e3aSPAM\uff08\u5783\u573e\u90ae\u4ef6\uff09\u6216\u76f4\u63a5\u62d2\u6536\u3002<\/span><\/p>\n<p><b>1\u3001 Sendmail\u5b89\u88c5<\/b><\/p>\n<p>\u5728CentOS\u4e0b\uff0csendmail\u4e00\u822c\u9ed8\u8ba4\u662f\u968f\u64cd\u4f5c\u7cfb\u7edf\u4e00\u8d77\u5b89\u88c5\u7684\u3002\u5982\u679c\u5b89\u88c5\u7cfb\u7edf\u65f6\u6ca1\u6709\u5b89\u88c5sendmail\u670d\u52a1\uff0c\u624b\u52a8\u5b89\u88c5sendmail\u4e5f\u5f88\u7b80\u5355\uff1a<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code1\" class=\"blockquote2\">\n<ol>\n<li>yum install -y sendmail<\/li>\n<li>yum install -y sendmail-cf<\/li>\n<li>#Redhat\u9700\u914dyum\u6e90<\/li>\n<\/ol>\n<\/div>\n<p><b>2\u3001 Senmail\u7684SMTP\u8ba4\u8bc1\u914d\u7f6e\uff08\u4e0d\u9700\u8981\u8ba4\u8bc1\u7684\u53ef\u5ffd\u7565\u6b64\u6b65\uff09<\/b><\/p>\n<p>\u9996\u5148\u786e\u8ba4saslauthd\u670d\u52a1\u662f\u5426\u5b89\u88c5\u6216\u542f\u52a8\u3002<\/p>\n<p>\u5b89\u88c5saslauthd\u670d\u52a1\uff1a<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code2\" class=\"blockquote2\">\n<ol>\n<li>yum install -y saslauthd<\/li>\n<\/ol>\n<\/div>\n<p>\u542f\u52a8saslauthd\u670d\u52a1\uff1a<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code3\" class=\"blockquote2\">\n<ol>\n<li>service saslauthd start<\/li>\n<\/ol>\n<\/div>\n<p>(1) \u914d\u7f6eSenmail\u7684SMTP\u8ba4\u8bc1<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code4\" class=\"blockquote2\">\n<ol>\n<li>dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN&#8217;)dnl<\/li>\n<li>dnl define(`confAUTH_MECHANISMS&#8217;, `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN&#8217;)dnl<\/li>\n<li>#\u5c06\u4e0a\u9762\u4e24\u884c\u7684\u884c\u9996\u548c\u884c\u5c3e\u7684dnl\u53bb\u6389<\/li>\n<\/ol>\n<\/div>\n<p>(2) \u8bbe\u7f6eSendmail\u670d\u52a1\u7684\u7f51\u7edc\u8bbf\u95ee\u6743\u9650<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code5\" class=\"blockquote2\">\n<ol>\n<li>vi \/etc\/mail\/sendmail.mc<\/li>\n<\/ol>\n<\/div>\n<blockquote class=\"blockquote3\">\n<div class=\"quote\">\u5f15\u7528<\/div>\n<div class=\"text\">DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA&#8217;)dnl<\/div>\n<\/blockquote>\n<p>\u5c06127.0.0.1\u6539\u4e3a0.0.0.0\uff0c\u610f\u601d\u662f\u4efb\u4f55\u4e3b\u673a\u90fd\u53ef\u4ee5\u8bbf\u95eeSendmail\u670d\u52a1\u3002\u5982\u679c\u4ec5\u8ba9\u67d0\u4e00\u4e2a\u7f51\u6bb5\u80fd\u591f\u8bbf\u95ee\u5230Sendmail\u670d\u52a1\uff0c\u5c06127.0.0.1\u6539\u4e3a\u5f62\u5982192.168.1.0\/24\u7684\u4e00\u4e2a\u7279\u5b9a\u7f51\u6bb5\u5730\u5740\u3002\u00a0\u00a0 \u5982\u679c\u9700\u8981\u5916\u90e8\u8bbf\u95ee\u7528\u8fd9\u53f0\u670d\u52a1\u5668\u53d1\u90ae\u4ef6\uff0c\u5c31\u9700\u8981\u5c06Addr\u914d\u7f6e\u62100.0.0.0\u3002\u5982\u679c\u4e0d\u9700\u8981\u8bf7\u5ffd\u7565\u672c\u6b65\u9aa4\u3002<\/p>\n<!-- WP QUADS Content Ad Plugin v. 2.0.19 -->\n<div class=\"quads-location quads-ad2\" id=\"quads-ad2\" style=\"float:none;margin:0px;\">\n\n <!-- WP QUADS - Quick AdSense Reloaded v.2.0.19 Content AdSense async --> \n\n\n<script type=\"text\/javascript\" >\nvar quads_screen_width = document.body.clientWidth;\nif ( quads_screen_width >= 1140 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width >= 1024  && quads_screen_width < 1140 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width >= 768  && quads_screen_width < 1024 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width < 768 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }\n<\/script>\n\n <!-- end WP QUADS --> \n\n\n<\/div>\n\n<p><b>3\u3001 \u751f\u6210Sendmail\u914d\u7f6e\u6587\u4ef6<\/b><\/p>\n<p>Sendmail\u7684\u914d\u7f6e\u6587\u4ef6\u7531m4\u6765\u751f\u6210\uff0cm4\u5de5\u5177\u5728sendmail-cf\u5305\u4e2d\u3002\u5982\u679c\u7cfb\u7edf\u65e0\u6cd5\u8bc6\u522bm4\u547d\u4ee4\uff0c\u8bf4\u660esendmail-cf\u8f6f\u4ef6\u5305\u6ca1\u6709\u5b89\u88c5\u3002<\/p>\n<p>\u751f\u6210Sendmail\u7684\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code6\" class=\"blockquote2\">\n<ol>\n<li>m4 \/etc\/mail\/sendmail.mc &gt; \/etc\/mail\/sendmail.cf<\/li>\n<\/ol>\n<\/div>\n<p><b>4\u3001 Sendmail\u90ae\u4ef6\u57df\u540d\u914d\u7f6e<\/b><\/p>\n<p>\u914d\u7f6esendmail\u4f7f\u7528\u5408\u6cd5\u7684\u57df\u540d\u5206\u4e24\u6b65\uff0c\u4fee\u6539sendmail\u7684\u914d\u7f6e\u6587\u4ef6\u548c\u6dfb\u52a0\u57df\u540dMX\u8bb0\u5f55\u3002<\/p>\n<p>sendmail\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528 \u201c-r <a href=\"mailto:account@domain.com\">account@domain.com<\/a>\u201d \u53c2\u6570\u6765\u4ee5\u4efb\u610f\u6e90\u5730\u5740\u53d1\u9001\u90ae\u4ef6\uff0c\u4f46\u76ee\u524d\u4e3b\u6d41\u7684\u90ae\u7bb1\u90fd\u4f1a\u5c06\u6e90\u5730\u5740\u548c\u53cd\u5411\u89e3\u6790IP\u8fdb\u884c\u6bd4\u8f83\uff0c\u5982\u679c\u89e3\u6790\u4e0d\u5230\u6216\u662f\u89e3\u6790\u7684IP\u4e0d\u5339\u914d\uff0c\u8f7b\u5219\u5c06\u90ae\u4ef6\u76f4\u63a5\u5f52\u4e3aSPAM\uff0c\u4e25\u91cd\u7684\u5c31\u76f4\u63a5\u62d2\u7edd\u63a5\u6536\u3002<\/p>\n<p>MX\u8bb0\u5f55\uff08Mail Exchanger Record\uff09\u4e3b\u8981\u662f\u63a5\u6536\u90ae\u4ef6\u65f6\u4f7f\u7528\uff0c\u5373\u5f53\u6295\u9012\u4e00\u5c01\u65b0\u90ae\u4ef6\u65f6\uff0c\u4f1a\u67e5\u8be2\u6536\u4ef6\u4eba\u57df\u540d\u7684MX\u8bb0\u5f55\uff0c\u7136\u540e\u901a\u8fc7MX\u8bb0\u5f55\u5f97\u5230\u7684IP\u5730\u5740\u8fdb\u884c\u6295\u9012\u3002\u540c\u65f6\u90ae\u4ef6\u5382\u5546\u5728\u63a5\u6536\u90ae\u4ef6\u7684\u65f6\u5019\u4e5f\u4f1a\u5c06\u6e90\u5730\u5740\u548cMX\u8bb0\u5f55\u8fdb\u884c\u6bd4\u8f83\uff0c\u4f5c\u4e3a\u5783\u573e\u90ae\u4ef6\u7684\u5224\u65ad\u6807\u51c6\u4e4b\u4e00\u3002<\/p>\n<p>(1) \u5c06\u57df\u540d\u52a0\u5165\u5230local-host-names\u6587\u4ef6<\/p>\n<p># vi \/etc\/mail\/local-host-names\uff0c\u6dfb\u52a0<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code7\" class=\"blockquote2\">\n<ol>\n<li>aliyun.com<\/li>\n<\/ol>\n<\/div>\n<p>(2) \u4fee\u6539submit.cf\u6587\u4ef6<\/p>\n<p># vi \/etc\/mail\/submit.cf\uff0c\u627e\u5230\u884c #Dj$w.Foo.COM\uff0c\u4fee\u6539\u4e3a<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code8\" class=\"blockquote2\">\n<ol>\n<li>Djaliyun.com<\/li>\n<\/ol>\n<\/div>\n<p>\u81f3\u6b64\uff0csendmail\u90ae\u4ef6\u547d\u540d\u914d\u7f6e\u5b8c\u6bd5\uff0c\u91cd\u542fsendmail\u4f7f\u914d\u7f6e\u751f\u6548<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code9\" class=\"blockquote2\">\n<ol>\n<li>service sendmail restart<\/li>\n<\/ol>\n<\/div>\n<p>\u5982\u679c\u90ae\u4ef6\u80fd\u6210\u529f\u53d1\u51fa\uff0c\u8bc1\u660e\u4f60\u5df2\u7ecf\u5b8c\u6210\u4e86\u4e0a\u9762\u6b65\u9aa4\uff0c\u4f46\u7ec6\u5fc3\u7684\u670b\u53cb\u53ef\u80fd\u4f1a\u53d1\u73b0\uff0c\u53d1\u51fa\u7684\u90ae\u4ef6\u88ab\u8fc7\u6ee4\u6389\u4e86\u3002\u8fd9\u662f\u600e\u4e48\u56de\u4e8b\u54e9\uff1f<\/p>\n<p>\u4e3b\u8981\u5c31\u662f\u56e0\u4e3a\u4f60\u6240\u914d\u7f6e\u7684\u57df\u540d\u7684MX DNS\u8bb0\u5f55\u503c\u5e76\u672a\u6307\u5411\u53d1\u51fa\u90ae\u4ef6\u7684\u4e3b\u673a\u7684IP\uff0c\u4ece\u800c\u88ab\u62d2\u7edd\u3002\u89e3\u51b3\u65b9\u6cd5\u5f88\u7b80\u5355\uff0c\u53bbDNS\u89e3\u6790\u91cc\u628aMX\u503c\u6307\u5411\u6b63\u786e\u5373\u53ef\u3002\n<!-- WP QUADS Content Ad Plugin v. 2.0.19 -->\n<div class=\"quads-location quads-ad2\" id=\"quads-ad2\" style=\"float:none;margin:0px;\">\n\n <!-- WP QUADS - Quick AdSense Reloaded v.2.0.19 Content AdSense async --> \n\n\n<script type=\"text\/javascript\" >\nvar quads_screen_width = document.body.clientWidth;\nif ( quads_screen_width >= 1140 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width >= 1024  && quads_screen_width < 1140 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width >= 768  && quads_screen_width < 1024 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width < 768 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }\n<\/script>\n\n <!-- end WP QUADS --> \n\n\n<\/div>\n<\/p>\n<\/div>\n<\/div>\n<p>","protected":false},"excerpt":{"rendered":"<p>sendmail\u662fLinux\u4e0b\u4f18\u79c0\u7684\u90ae\u4ef6\u7cfb\u7edf\u3002\u5728\u4e0d\u505a\u4efb\u4f55\u8bbe\u5b9a\u7684\u60c5\u51b5\u4e0b\uff0csendmail\u53d1\u51fa\u90ae\u4ef6\u7684\u90ae\u7bb1\u6e90\u5730\u5740\u5f62\u5982userid@localhost.loc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[28],"tags":[],"pwapp_after_post_content":"","pwapp_before_post_content":"","androapp_header":"","pwapp_author":{"ID":1,"name":"enadmin","slug":"enadmin"},"pwapp_terms":{"category":[{"term_id":28,"name":"aliyun","slug":"aliyun","term_group":0,"term_taxonomy_id":28,"taxonomy":"category","description":"","parent":0,"count":13,"filter":"raw","cat_ID":28,"category_count":13,"category_description":"","cat_name":"aliyun","category_nicename":"aliyun","category_parent":0,"ID":28}]},"pwapp_feed_image_dimension_type":"preview","pwapp_post_image":null,"share_image":null,"featured_image_showhide":"show","pwapp_excerpt":"<p>sendmail\u662fLinux\u4e0b\u4f18\u79c0\u7684\u90ae\u4ef6\u7cfb\u7edf\u3002\u5728\u4e0d\u505a\u4efb\u4f55\u8bbe\u5b9a\u7684\u60c5\u51b5\u4e0b\uff0csendmail\u53d1\u51fa\u90ae\u4ef6\u7684\u90ae\u7bb1\u6e90\u5730\u5740\u5f62\u5982userid@localhost.loc [&hellip;]<\/p>\n","pwapp_title":"CentOS\/RedHat\u7684Sendmail\u53d1\u4fe1","androapp_image_list":[],"pwapp_post_content":"<style type=\"text\/css\">androapp img{\r\n    max-width: 100%;\r\n    height: auto;\r\n}\r\niframe{\r\n    max-width: 100%;    \r\n}\r\nfigure {\r\n    max-width: 100%;\r\n    height: auto;\r\n}\r\nimg{\r\n    max-width: 100% !important;\r\n    height: auto;\r\n}\r\ndiv {\r\n    max-width: 100% !important;\r\n}\r\nspan {\r\n    max-width:100%;\r\n    overflow: auto;\r\n}\r\naudio {\r\n    display:block;\r\n    visibility:visible !important;\r\n}\r\nvideo{\r\n    width:100%;\r\n    height:auto;\r\n}\r\n<\/style><div class='androapp'><p><\/p>\n<div class=\"tpc_content\">\n<div id=\"read_tpc\" class=\"f14 mb10\">\n<p><span style=\"font-family: Verdana, Arial, Tahoma;\">sendmail\u662fLinux\u4e0b\u4f18\u79c0\u7684\u90ae\u4ef6\u7cfb\u7edf\u3002\u5728\u4e0d\u505a\u4efb\u4f55\u8bbe\u5b9a\u7684\u60c5\u51b5\u4e0b\uff0csendmail\u53d1\u51fa\u90ae\u4ef6\u7684\u90ae\u7bb1\u6e90\u5730\u5740\u5f62\u5982<a href=\"mailto:userid@localhost.loca\">userid@localhost.loca<\/a>ldo\uff0c\u8fd9\u79cd\u5730\u5740\u51e0\u4e4e\u4f1a\u88ab\u6240\u6709\u7684\u90ae\u7bb1\u8ba4\u5b9a\u4e3aSPAM\uff08\u5783\u573e\u90ae\u4ef6\uff09\u6216\u76f4\u63a5\u62d2\u6536\u3002<\/span><\/p>\n<p><b>1\u3001 Sendmail\u5b89\u88c5<\/b><\/p>\n<p>\u5728CentOS\u4e0b\uff0csendmail\u4e00\u822c\u9ed8\u8ba4\u662f\u968f\u64cd\u4f5c\u7cfb\u7edf\u4e00\u8d77\u5b89\u88c5\u7684\u3002\u5982\u679c\u5b89\u88c5\u7cfb\u7edf\u65f6\u6ca1\u6709\u5b89\u88c5sendmail\u670d\u52a1\uff0c\u624b\u52a8\u5b89\u88c5sendmail\u4e5f\u5f88\u7b80\u5355\uff1a<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code1\" class=\"blockquote2\">\n<ol>\n<li>yum install -y sendmail<\/li>\n<li>yum install -y sendmail-cf<\/li>\n<li>#Redhat\u9700\u914dyum\u6e90<\/li>\n<\/ol>\n<\/div>\n<p><b>2\u3001 Senmail\u7684SMTP\u8ba4\u8bc1\u914d\u7f6e\uff08\u4e0d\u9700\u8981\u8ba4\u8bc1\u7684\u53ef\u5ffd\u7565\u6b64\u6b65\uff09<\/b><\/p>\n<p>\u9996\u5148\u786e\u8ba4saslauthd\u670d\u52a1\u662f\u5426\u5b89\u88c5\u6216\u542f\u52a8\u3002<\/p>\n<p>\u5b89\u88c5saslauthd\u670d\u52a1\uff1a<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code2\" class=\"blockquote2\">\n<ol>\n<li>yum install -y saslauthd<\/li>\n<\/ol>\n<\/div>\n<p>\u542f\u52a8saslauthd\u670d\u52a1\uff1a<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code3\" class=\"blockquote2\">\n<ol>\n<li>service saslauthd start<\/li>\n<\/ol>\n<\/div>\n<p>(1) \u914d\u7f6eSenmail\u7684SMTP\u8ba4\u8bc1<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code4\" class=\"blockquote2\">\n<ol>\n<li>dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN&#8217;)dnl<\/li>\n<li>dnl define(`confAUTH_MECHANISMS&#8217;, `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN&#8217;)dnl<\/li>\n<li>#\u5c06\u4e0a\u9762\u4e24\u884c\u7684\u884c\u9996\u548c\u884c\u5c3e\u7684dnl\u53bb\u6389<\/li>\n<\/ol>\n<\/div>\n<p>(2) \u8bbe\u7f6eSendmail\u670d\u52a1\u7684\u7f51\u7edc\u8bbf\u95ee\u6743\u9650<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code5\" class=\"blockquote2\">\n<ol>\n<li>vi \/etc\/mail\/sendmail.mc<\/li>\n<\/ol>\n<\/div>\n<blockquote class=\"blockquote3\">\n<div class=\"quote\">\u5f15\u7528<\/div>\n<div class=\"text\">DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA&#8217;)dnl<\/div>\n<\/blockquote>\n<p>\u5c06127.0.0.1\u6539\u4e3a0.0.0.0\uff0c\u610f\u601d\u662f\u4efb\u4f55\u4e3b\u673a\u90fd\u53ef\u4ee5\u8bbf\u95eeSendmail\u670d\u52a1\u3002\u5982\u679c\u4ec5\u8ba9\u67d0\u4e00\u4e2a\u7f51\u6bb5\u80fd\u591f\u8bbf\u95ee\u5230Sendmail\u670d\u52a1\uff0c\u5c06127.0.0.1\u6539\u4e3a\u5f62\u5982192.168.1.0\/24\u7684\u4e00\u4e2a\u7279\u5b9a\u7f51\u6bb5\u5730\u5740\u3002\u00a0\u00a0 \u5982\u679c\u9700\u8981\u5916\u90e8\u8bbf\u95ee\u7528\u8fd9\u53f0\u670d\u52a1\u5668\u53d1\u90ae\u4ef6\uff0c\u5c31\u9700\u8981\u5c06Addr\u914d\u7f6e\u62100.0.0.0\u3002\u5982\u679c\u4e0d\u9700\u8981\u8bf7\u5ffd\u7565\u672c\u6b65\u9aa4\u3002<\/p>\n<p><b>3\u3001 \u751f\u6210Sendmail\u914d\u7f6e\u6587\u4ef6<\/b><\/p>\n<p>Sendmail\u7684\u914d\u7f6e\u6587\u4ef6\u7531m4\u6765\u751f\u6210\uff0cm4\u5de5\u5177\u5728sendmail-cf\u5305\u4e2d\u3002\u5982\u679c\u7cfb\u7edf\u65e0\u6cd5\u8bc6\u522bm4\u547d\u4ee4\uff0c\u8bf4\u660esendmail-cf\u8f6f\u4ef6\u5305\u6ca1\u6709\u5b89\u88c5\u3002<\/p>\n<p>\u751f\u6210Sendmail\u7684\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code6\" class=\"blockquote2\">\n<ol>\n<li>m4 \/etc\/mail\/sendmail.mc &gt; \/etc\/mail\/sendmail.cf<\/li>\n<\/ol>\n<\/div>\n<p><b>4\u3001 Sendmail\u90ae\u4ef6\u57df\u540d\u914d\u7f6e<\/b><\/p>\n<p>\u914d\u7f6esendmail\u4f7f\u7528\u5408\u6cd5\u7684\u57df\u540d\u5206\u4e24\u6b65\uff0c\u4fee\u6539sendmail\u7684\u914d\u7f6e\u6587\u4ef6\u548c\u6dfb\u52a0\u57df\u540dMX\u8bb0\u5f55\u3002<\/p>\n<p>sendmail\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528 \u201c-r <a href=\"mailto:account@domain.com\">account@domain.com<\/a>\u201d \u53c2\u6570\u6765\u4ee5\u4efb\u610f\u6e90\u5730\u5740\u53d1\u9001\u90ae\u4ef6\uff0c\u4f46\u76ee\u524d\u4e3b\u6d41\u7684\u90ae\u7bb1\u90fd\u4f1a\u5c06\u6e90\u5730\u5740\u548c\u53cd\u5411\u89e3\u6790IP\u8fdb\u884c\u6bd4\u8f83\uff0c\u5982\u679c\u89e3\u6790\u4e0d\u5230\u6216\u662f\u89e3\u6790\u7684IP\u4e0d\u5339\u914d\uff0c\u8f7b\u5219\u5c06\u90ae\u4ef6\u76f4\u63a5\u5f52\u4e3aSPAM\uff0c\u4e25\u91cd\u7684\u5c31\u76f4\u63a5\u62d2\u7edd\u63a5\u6536\u3002<\/p>\n<p>MX\u8bb0\u5f55\uff08Mail Exchanger Record\uff09\u4e3b\u8981\u662f\u63a5\u6536\u90ae\u4ef6\u65f6\u4f7f\u7528\uff0c\u5373\u5f53\u6295\u9012\u4e00\u5c01\u65b0\u90ae\u4ef6\u65f6\uff0c\u4f1a\u67e5\u8be2\u6536\u4ef6\u4eba\u57df\u540d\u7684MX\u8bb0\u5f55\uff0c\u7136\u540e\u901a\u8fc7MX\u8bb0\u5f55\u5f97\u5230\u7684IP\u5730\u5740\u8fdb\u884c\u6295\u9012\u3002\u540c\u65f6\u90ae\u4ef6\u5382\u5546\u5728\u63a5\u6536\u90ae\u4ef6\u7684\u65f6\u5019\u4e5f\u4f1a\u5c06\u6e90\u5730\u5740\u548cMX\u8bb0\u5f55\u8fdb\u884c\u6bd4\u8f83\uff0c\u4f5c\u4e3a\u5783\u573e\u90ae\u4ef6\u7684\u5224\u65ad\u6807\u51c6\u4e4b\u4e00\u3002<\/p>\n<p>(1) \u5c06\u57df\u540d\u52a0\u5165\u5230local-host-names\u6587\u4ef6<\/p>\n<p># vi \/etc\/mail\/local-host-names\uff0c\u6dfb\u52a0<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code7\" class=\"blockquote2\">\n<ol>\n<li>aliyun.com<\/li>\n<\/ol>\n<\/div>\n<p>(2) \u4fee\u6539submit.cf\u6587\u4ef6<\/p>\n<p># vi \/etc\/mail\/submit.cf\uff0c\u627e\u5230\u884c #Dj$w.Foo.COM\uff0c\u4fee\u6539\u4e3a<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code8\" class=\"blockquote2\">\n<ol>\n<li>Djaliyun.com<\/li>\n<\/ol>\n<\/div>\n<p>\u81f3\u6b64\uff0csendmail\u90ae\u4ef6\u547d\u540d\u914d\u7f6e\u5b8c\u6bd5\uff0c\u91cd\u542fsendmail\u4f7f\u914d\u7f6e\u751f\u6548<\/p>\n<div class=\"f12\"><a>\u590d\u5236\u4ee3\u7801<\/a><\/div>\n<div id=\"code9\" class=\"blockquote2\">\n<ol>\n<li>service sendmail restart<\/li>\n<\/ol>\n<\/div>\n<p>\u5982\u679c\u90ae\u4ef6\u80fd\u6210\u529f\u53d1\u51fa\uff0c\u8bc1\u660e\u4f60\u5df2\u7ecf\u5b8c\u6210\u4e86\u4e0a\u9762\u6b65\u9aa4\uff0c\u4f46\u7ec6\u5fc3\u7684\u670b\u53cb\u53ef\u80fd\u4f1a\u53d1\u73b0\uff0c\u53d1\u51fa\u7684\u90ae\u4ef6\u88ab\u8fc7\u6ee4\u6389\u4e86\u3002\u8fd9\u662f\u600e\u4e48\u56de\u4e8b\u54e9\uff1f<\/p>\n<p>\u4e3b\u8981\u5c31\u662f\u56e0\u4e3a\u4f60\u6240\u914d\u7f6e\u7684\u57df\u540d\u7684MX DNS\u8bb0\u5f55\u503c\u5e76\u672a\u6307\u5411\u53d1\u51fa\u90ae\u4ef6\u7684\u4e3b\u673a\u7684IP\uff0c\u4ece\u800c\u88ab\u62d2\u7edd\u3002\u89e3\u51b3\u65b9\u6cd5\u5f88\u7b80\u5355\uff0c\u53bbDNS\u89e3\u6790\u91cc\u628aMX\u503c\u6307\u5411\u6b63\u786e\u5373\u53ef\u3002<\/p>\n<\/div>\n<\/div>\n<p><\/p><\/div>","pwapp_post_content_type":"postprocessed","pwapp_preview_type":"excerpt","androapp_failover_post_content_type":"","share_text":"sendmail\u662fLinux\u4e0b\u4f18\u79c0\u7684\u90ae\u4ef6\u7cfb\u7edf\u3002\u5728\u4e0d\u505a\u4efb\u4f55\u8bbe\u5b9a\u7684\u60c5\u51b5\u4e0b\uff0csendmail\u53d1\u51fa\u90ae\u4ef6\u7684\u90ae\u7bb1\u6e90\u5730\u5740\u5f62\u5982userid@localhost.loc [&hellip;]\n\nvia http:\/\/tech.memoecho.com\/zh\/aliyun\/centosredhat-sendmail\/","supercache":"androappsupercache","_links":{"self":[{"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/posts\/826"}],"collection":[{"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/comments?post=826"}],"version-history":[{"count":1,"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/posts\/826\/revisions"}],"predecessor-version":[{"id":827,"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/posts\/826\/revisions\/827"}],"wp:attachment":[{"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/media?parent=826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/categories?post=826"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/tags?post=826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}