{"id":1687,"date":"2022-05-27T09:27:31","date_gmt":"2022-05-27T01:27:31","guid":{"rendered":"http:\/\/gulass.cn\/?p=1687"},"modified":"2022-05-27T20:52:38","modified_gmt":"2022-05-27T12:52:38","slug":"chapter-15","status":"publish","type":"post","link":"https:\/\/gulass.cn\/chapter-15.html","title":{"rendered":"\u7b2c15\u7ae0 \u4f7f\u7528Postfix\u4e0eDovecot\u90e8\u7f72\u90ae\u4ef6\u7cfb\u7edf\u3002"},"content":{"rendered":"
👇\u672c\u7ae0\u8282\u5185\u5bb9\u5df2\u66f4\u65b0\uff0c\u8bf7\u5728\u7ebf\u9605\u8bfb\u6700\u65b0RHEL 8\u7248\u672c\u4e66\u7c4d 👇<\/span><\/strong><\/span><\/p>\n https:\/\/gulass.cn\/basic-learning-15.html<\/span><\/strong><\/span><\/b><\/p>\n \u7ae0\u8282\u6982\u8ff0\uff1a<\/strong><\/span><\/p>\n \u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u662f\u6211\u4eec\u5728\u65e5\u5e38\u5de5\u4f5c\u3001\u751f\u6d3b\u4e2d\u6700\u5e38\u7528\u7684\u4e00\u4e2a\u7f51\u7edc\u670d\u52a1\uff0c\u672c\u7ae0\u5c06\u9996\u5148\u4ecb\u7ecd\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u7684\u8d77\u6e90\uff0c\u7136\u540e\u4ecb\u7ecdSMTP\u3001POP3\u3001IMAP4\u7b49\u5e38\u89c1\u7684\u7535\u5b50\u90ae\u4ef6\u534f\u8bae\uff0c\u4ee5\u53caMUA\u3001MTA\u3001MDA\u8fd9\u4e09\u79cd\u670d\u52a1\u89d2\u8272\u7684\u4f5c\u7528\u3002\u672c\u7ae0\u5c06\u5b8c\u6574\u5730\u6f14\u793a\u5728Linux\u7cfb\u7edf\u4e2d\u4f7f\u7528Postfix\u548cDovecot\u670d\u52a1\u7a0b\u5e8f\u914d\u7f6e\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u670d\u52a1\u7684\u65b9\u6cd5\uff0c\u5e76\u91cd\u70b9\u8bb2\u89e3\u5e38\u7528\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6b64\u5916\u8fd8\u5c06\u7ed3\u5408BIND\u670d\u52a1\u7a0b\u5e8f\u63d0\u4f9b\u7684DNS\u57df\u540d\u89e3\u6790\u670d\u52a1\u6765\u9a8c\u8bc1\u5ba2\u6237\u7aef\u4e3b\u673a\u4e0e\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u90ae\u4ef6\u6536\u53d1\u529f\u80fd\u3002\u672c\u7ae0\u6700\u540e\u8fd8\u4ecb\u7ecd\u4e86\u5982\u4f55\u5728\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u4e2d\u8bbe\u7f6e\u7528\u6237\u522b\u540d\uff0c\u4ee5\u5e2e\u52a9\u5927\u5bb6\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u66f4\u597d\u5730\u63a7\u5236\u3001\u7ba1\u7406\u7535\u5b50\u90ae\u4ef6\u8d26\u6237\u4ee5\u53ca\u4fe1\u7bb1\u5730\u5740\u3002<\/p>\n 20\u4e16\u7eaa60\u5e74\u4ee3\uff0c\u7f8e\u82cf\u4e24\u56fd\u6b63\u5904\u4e8e\u51b7\u6218\u65f6\u671f\u3002\u7f8e\u56fd\u519b\u65b9\u8ba4\u4e3a\u5e94\u8be5\u5728\u79d1\u5b66\u6280\u672f\u4e0a\u4fdd\u6301\u5176\u9886\u5148\u7684\u5730\u4f4d\uff0c\u8fd9\u6837\u6709\u52a9\u4e8e\u5728\u672a\u6765\u7684\u6218\u4e89\u4e2d\u53d6\u5f97\u4f18\u52bf\u3002\u7f8e\u56fd\u56fd\u9632\u90e8\u7531\u6b64\u53d1\u8d77\u4e86\u4e00\u9879\u540d\u4e3aARPANET\u7684\u79d1\u7814\u9879\u76ee\uff0c\u5373\u5927\u5bb6\u73b0\u5728\u6240\u719f\u77e5\u7684\u963f\u5e15\u7f51\u8ba1\u5212\u3002\u963f\u5e15\u7f51\u662f\u5f53\u4eca\u4e92\u8054\u7f51\u7684\u96cf\u5f62\uff0c\u5b83\u4e5f\u662f\u4e16\u754c\u4e0a\u7b2c\u4e00\u4e2a\u8fd0\u8425\u7684\u5c01\u5305\u4ea4\u6362\u7f51\u7edc\u3002\u4f46\u662f\u5f88\u5feb\u57281971\u5e74\u963f\u5e15\u7f51\u9047\u5230\u4e86\u4e25\u5cfb\u7684\u95ee\u9898\uff0c\u5982\u56fe15-1\u6240\u793a\uff0c\u53c2\u4e0e\u963f\u5e15\u7f51\u79d1\u7814\u9879\u76ee\u7684\u79d1\u5b66\u5bb6\u5206\u5e03\u5728\u7f8e\u56fd\u4e0d\u540c\u7684\u5730\u533a\uff0c\u751a\u81f3\u8fd8\u4f1a\u56e0\u4e3a\u65f6\u5dee\u7684\u5f71\u54cd\u800c\u4e0d\u80fd\u53ca\u65f6\u5206\u4eab\u5404\u81ea\u7684\u7814\u7a76\u6210\u679c\uff0c\u56e0\u6b64\u79d1\u5b66\u5bb6\u4eec\u8feb\u5207\u9700\u8981\u4e00\u79cd\u80fd\u591f\u501f\u52a9\u4e8e\u7f51\u7edc\u5728\u8ba1\u7b97\u673a\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u7684\u65b9\u6cd5\u3002<\/p>\n \u5c3d\u7ba1\u672c\u4e66\u7b2c10\u7ae0\u548c\u7b2c11\u7ae0\u4ecb\u7ecd\u7684Web\u670d\u52a1\u548cFTP\u6587\u4ef6\u4f20\u8f93\u670d\u52a1\u4e5f\u80fd\u5b9e\u73b0\u6570\u636e\u4ea4\u6362\uff0c\u4f46\u662f\u8fd9\u4e9b\u670d\u52a1\u7684\u6570\u636e\u4f20\u8f93\u65b9\u5f0f\u5c31\u50cf\u201c\u6253\u7535\u8bdd\u201d\u90a3\u6837\uff0c\u9700\u8981\u53cc\u65b9\u540c\u65f6\u5728\u7ebf\u624d\u80fd\u5b8c\u6210\u4f20\u8f93\u5de5\u4f5c\u3002\u5982\u679c\u5bf9\u65b9\u7684\u4e3b\u673a\u5b95\u673a\u6216\u8005\u79d1\u7814\u4eba\u5458\u56e0\u6545\u79bb\u5f00\uff0c\u5c31\u6709\u53ef\u80fd\u9519\u8fc7\u67d0\u4e9b\u79d1\u7814\u6210\u679c\u4e86\u3002\u597d\u5728\u5f53\u65f6\u9ebb\u7701\u7406\u5de5\u5b66\u9662\u7684Ray Tomlinson\u535a\u58eb\u4e5f\u53c2\u4e0e\u5230\u4e86\u963f\u5e15\u7f51\u8ba1\u5212\u7684\u79d1\u7814\u9879\u76ee\u4e2d\uff0c\u4ed6\u89c9\u5f97\u6709\u5fc5\u8981\u8bbe\u8ba1\u4e00\u79cd\u7c7b\u4f3c\u4e8e\u201c\u4fe1\u4ef6\u201d\u7684\u4f20\u8f93\u670d\u52a1\uff0c\u5e76\u4e3a\u4fe1\u4ef6\u51c6\u5907\u4e00\u4e2a\u201c\u4fe1\u7bb1\u201d\uff0c\u8fd9\u6837\u5373\u4fbf\u5bf9\u65b9\u4e34\u65f6\u79bb\u7ebf\u4e5f\u80fd\u5b8c\u6210\u6570\u636e\u7684\u63a5\u6536\uff0c\u7b49\u4e0a\u7ebf\u540e\u518d\u8fdb\u884c\u5904\u7406\u5373\u53ef\u3002\u4e8e\u662f\uff0cRay Tomlinson\u535a\u58eb\u7528\u4e86\u8fd1\u4e00\u5e74\u7684\u65f6\u95f4\u5b8c\u6210\u4e86\u7535\u5b50\u90ae\u4ef6\uff08Email\uff09\u7684\u8bbe\u8ba1\uff0c\u5e76\u57281971\u5e74\u79cb\u5929\u4f7f\u7528SNDMSG\u8f6f\u4ef6\u5411\u81ea\u5df1\u7684\u53e6\u4e00\u53f0\u8ba1\u7b97\u673a\u53d1\u9001\u51fa\u4e86\u4eba\u7c7b\u5386\u53f2\u4e0a\u7b2c\u4e00\u5c01\u7535\u5b50\u90ae\u4ef6\u2014\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u5728\u4e92\u8054\u7f51\u4e2d\u7531\u6b64\u8bde\u751f\uff01<\/p>\n <\/p>\n \u56fe15-1\u00a0 1971\u5e74\u963f\u5e15\u7f51\u79d1\u7814\u9879\u76ee\u8fd0\u8425\u60c5\u51b5\u5386\u53f2\u8d44\u6599\u56fe\u7247<\/p>\n \u65e2\u7136\u8981\u5728\u4e92\u8054\u7f51\u4e2d\u7ed9\u4ed6\u4eba\u53d1\u9001\u7535\u5b50\u90ae\u4ef6\uff0c\u90a3\u4e48\u5bf9\u65b9\u7528\u6237\u7528\u4e8e\u63a5\u6536\u7535\u5b50\u90ae\u4ef6\u7684\u540d\u79f0\u5fc5\u987b\u662f\u552f\u4e00\u7684\uff0c\u5426\u5219\u7535\u5b50\u90ae\u4ef6\u53ef\u80fd\u4f1a\u540c\u65f6\u53d1\u7ed9\u591a\u4e2a\u91cd\u540d\u7684\u7528\u6237\uff0c\u4e5f\u6216\u8005\u5e72\u8106\u5927\u5bb6\u90fd\u6536\u4e0d\u5230\u90ae\u4ef6\u4e86\u3002\u56e0\u6b64\uff0cRay Tomlinson\u535a\u58eb\u51b3\u5b9a\u9009\u62e9\u4f7f\u7528\u201c\u59d3\u540d@\u8ba1\u7b97\u673a\u4e3b\u673a\u540d\u79f0\u201d\u7684\u683c\u5f0f\u6765\u89c4\u8303\u7535\u5b50\u4fe1\u7bb1\u7684\u540d\u79f0\u3002\u9009\u62e9\u4f7f\u7528@\u7b26\u53f7\u4f5c\u4e3a\u95f4\u9694\u7b26\u7684\u539f\u56e0\u5176\u5b9e\u4e5f\u5f88\u7b80\u5355\uff0c\u56e0\u4e3aRay Tomlinson\u535a\u58eb\u89c9\u5f97\u4eba\u7c7b\u7684\u540d\u5b57\u548c\u8ba1\u7b97\u673a\u4e3b\u673a\u540d\u79f0\u4e2d\u5e94\u8be5\u4e0d\u4f1a\u6709\u8fd9\u4e48\u4e00\u4e2a@\u7b26\u53f7\uff0c\u6240\u4ee5\u5c31\u9009\u62e9\u4e86\u8fd9\u4e2a\u7b26\u53f7\u3002<\/p>\n \u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u57fa\u4e8e\u90ae\u4ef6\u534f\u8bae\u6765\u5b8c\u6210\u7535\u5b50\u90ae\u4ef6\u7684\u4f20\u8f93\uff0c\u5e38\u89c1\u7684\u90ae\u4ef6\u534f\u8bae\u6709\u4e0b\u9762\u8fd9\u4e9b\u3002<\/p>\n \u7b80\u5355\u90ae\u4ef6\u4f20\u8f93\u534f\u8bae\uff08Simple Mail Transfer Protocol\uff0cSMTP\uff09<\/strong>\uff1a\u7528\u4e8e\u53d1\u9001\u548c\u4e2d\u8f6c\u53d1\u51fa\u7684\u7535\u5b50\u90ae\u4ef6\uff0c\u5360\u7528\u670d\u52a1\u5668\u768425\/TCP\u7aef\u53e3\u3002<\/p>\n \u90ae\u5c40\u534f\u8bae\u7248\u672c3\uff08Post Office Protocol 3\uff09<\/strong>\uff1a\u7528\u4e8e\u5c06\u7535\u5b50\u90ae\u4ef6\u5b58\u50a8\u5230\u672c\u5730\u4e3b\u673a\uff0c\u5360\u7528\u670d\u52a1\u5668\u7684110\/TCP\u7aef\u53e3\u3002<\/p>\n Internet\u6d88\u606f\u8bbf\u95ee\u534f\u8bae\u7248\u672c4\uff08Internet Message Access Protocol 4\uff09<\/strong>\uff1a\u7528\u4e8e\u5728\u672c\u5730\u4e3b\u673a\u4e0a\u8bbf\u95ee\u90ae\u4ef6\uff0c\u5360\u7528\u670d\u52a1\u5668\u7684143\/TCP\u7aef\u53e3\u3002<\/p><\/blockquote>\n \u5728\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u4e2d\uff0c\u4e3a\u7528\u6237\u6536\u53d1\u90ae\u4ef6\u7684\u670d\u52a1\u5668\u540d\u4e3a\u90ae\u4ef6\u7528\u6237\u4ee3\u7406\uff08Mail User Agent\uff0cMUA\uff09\u3002\u53e6\u5916\uff0c\u65e2\u7136\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u80fd\u591f\u8ba9\u7528\u6237\u5728\u79bb\u7ebf\u7684\u60c5\u51b5\u4e0b\u4f9d\u7136\u53ef\u4ee5\u5b8c\u6210\u6570\u636e\u7684\u63a5\u6536\uff0c\u80af\u5b9a\u5f97\u6709\u4e00\u4e2a\u7528\u4e8e\u4fdd\u5b58\u7528\u6237\u90ae\u4ef6\u7684\u201c\u4fe1\u7bb1\u201d\u670d\u52a1\u5668\uff0c\u8fd9\u4e2a\u670d\u52a1\u5668\u7684\u540d\u5b57\u4e3a\u90ae\u4ef6\u6295\u9012\u4ee3\u7406\uff08Mail Delivery Agent\uff0cMDA\uff09\uff0c\u5176\u5de5\u4f5c\u804c\u8d23\u662f\u628a\u6765\u81ea\u4e8e\u90ae\u4ef6\u4f20\u8f93\u4ee3\u7406\uff08Mail Transfer Agent\uff0cMTA\uff09\u7684\u90ae\u4ef6\u4fdd\u5b58\u5230\u672c\u5730\u7684\u6536\u4ef6\u7bb1\u4e2d\u3002\u5176\u4e2d\uff0c\u8fd9\u4e2aMTA\u7684\u5de5\u4f5c\u804c\u8d23\u662f\u8f6c\u53d1\u5904\u7406\u4e0d\u540c\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u4f9b\u5e94\u5546\u4e4b\u95f4\u7684\u90ae\u4ef6\uff0c\u628a\u6765\u81ea\u4e8eMUA\u7684\u90ae\u4ef6\u8f6c\u53d1\u5230\u5408\u9002\u7684MTA\u670d\u52a1\u5668\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u4ece\u65b0\u6d6a\u4fe1\u7bb1\u5411\u8c37\u6b4c\u4fe1\u7bb1\u53d1\u9001\u4e00\u5c01\u7535\u5b50\u90ae\u4ef6\uff0c\u8fd9\u5c01\u7535\u5b50\u90ae\u4ef6\u7684\u4f20\u8f93\u8fc7\u7a0b\u5982\u56fe15-2\u6240\u793a\u3002<\/p>\n \u603b\u7684\u6765\u8bf4\uff0c\u4e00\u822c\u7684\u7f51\u7edc\u670d\u52a1\u7a0b\u5e8f\u5728\u4f20\u8f93\u4fe1\u606f\u65f6\u5c31\u50cf\u62e8\u6253\u7535\u8bdd\uff0c\u9700\u8981\u53cc\u65b9\u540c\u65f6\u4fdd\u6301\u5728\u7ebf\uff0c\u800c\u5728\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u4e2d\uff0c\u5f53\u7528\u6237\u53d1\u9001\u90ae\u4ef6\u540e\u4e0d\u5fc5\u7b49\u5f85\u6295\u9012\u5de5\u4f5c\u5b8c\u6210\u5373\u53ef\u4e0b\u7ebf\u3002\u5982\u679c\u5bf9\u65b9\u90ae\u4ef6\u670d\u52a1\u5668\uff08MTA\uff09\u5b95\u673a\u6216\u5bf9\u65b9\u4e34\u65f6\u79bb\u7ebf\uff0c\u5219\u53d1\u4ef6\u670d\u52a1\u5668\uff08MTA\uff09\u5c31\u4f1a\u628a\u8981\u53d1\u9001\u7684\u5185\u5bb9\u81ea\u52a8\u7684\u6682\u65f6\u4fdd\u5b58\u5230\u672c\u5730\uff0c\u7b49\u68c0\u6d4b\u5230\u5bf9\u65b9\u90ae\u4ef6\u670d\u52a1\u5668\u6062\u590d\u540e\u4f1a\u7acb\u5373\u518d\u6b21\u6295\u9012\uff0c\u671f\u95f4\u4e00\u822c\u65e0\u9700\u8fd0\u7ef4\u4eba\u5458\u7ef4\u62a4\u5904\u7406\uff0c\u968f\u540e\u6536\u4fe1\u4eba\uff08MUA\uff09\u5c31\u80fd\u5728\u81ea\u5df1\u7684\u4fe1\u7bb1\u4e2d\u627e\u5230\u8fd9\u5c01\u90ae\u4ef6\u4e86\u3002<\/p>\n <\/p>\n \u56fe15-2\u00a0 \u7535\u5b50\u90ae\u4ef6\u7684\u4f20\u8f93\u8fc7\u7a0b<\/p>\n \u5927\u5bb6\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u90e8\u7f72\u4f01\u4e1a\u7ea7\u7684\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u65f6\uff0c\u67094\u4e2a\u6ce8\u610f\u4e8b\u9879\u8bf7\u7559\u610f\u3002<\/p>\n 15.2 \u90e8\u7f72\u57fa\u7840\u7684\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf<\/strong><\/span><\/p>\n \u4e00\u4e2a\u6700\u57fa\u7840\u7684\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u80af\u5b9a\u8981\u80fd\u63d0\u4f9b\u53d1\u4ef6\u670d\u52a1\u548c\u6536\u4ef6\u670d\u52a1\uff0c\u4e3a\u6b64\u9700\u8981\u4f7f\u7528\u57fa\u4e8eSMTP\u534f\u8bae\u7684Postfix\u670d\u52a1\u7a0b\u5e8f\u63d0\u4f9b\u53d1\u4ef6\u670d\u52a1\u529f\u80fd\uff0c\u5e76\u4f7f\u7528\u57fa\u4e8ePOP3\u534f\u8bae\u7684Dovecot\u670d\u52a1\u7a0b\u5e8f\u63d0\u4f9b\u6536\u4ef6\u670d\u52a1\u529f\u80fd\u3002\u8fd9\u6837\u4e00\u6765\uff0c\u7528\u6237\u5c31\u53ef\u4ee5\u4f7f\u7528Outlook Express\u6216Foxmail\u7b49\u5ba2\u6237\u7aef\u670d\u52a1\u7a0b\u5e8f\u6b63\u5e38\u6536\u53d1\u90ae\u4ef6\u4e86\u3002\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u7684\u5de5\u4f5c\u6d41\u7a0b\u5982\u56fe15-3\u6240\u793a\u3002<\/p>\n <\/p>\n \u56fe15-3\u00a0 \u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u7684\u5de5\u4f5c\u6d41\u7a0b<\/p>\n \u5728RHEL 5\u3001RHEL 6\u4ee5\u53ca\u8bf8\u591a\u65e9\u671f\u7684Linux\u7cfb\u7edf\u4e2d\uff0c\u9ed8\u8ba4\u4f7f\u7528\u7684\u53d1\u4ef6\u670d\u52a1\u662f\u7531Sendmail\u670d\u52a1\u7a0b\u5e8f\u63d0\u4f9b\u7684\uff0c\u800c\u5728RHEL 7\u7cfb\u7edf\u4e2d\u5df2\u7ecf\u66ff\u6362\u4e3aPostfix\u670d\u52a1\u7a0b\u5e8f\u3002\u76f8\u8f83\u4e8eSendmail\u670d\u52a1\u7a0b\u5e8f\uff0cPostfix\u670d\u52a1\u7a0b\u5e8f\u51cf\u5c11\u4e86\u5f88\u591a\u4e0d\u5fc5\u8981\u7684\u914d\u7f6e\u6b65\u9aa4\uff0c\u800c\u4e14\u5728\u7a33\u5b9a\u6027\u3001\u5e76\u53d1\u6027\u65b9\u9762\u4e5f\u6709\u5f88\u5927\u6539\u8fdb\u3002<\/p>\n \u4e00\u822c\u800c\u8a00\uff0c\u6211\u4eec\u7684\u4fe1\u7bb1\u5730\u5740\u7c7b\u4f3c\u4e8e\u201croot@gulass.cn\u201d\u8fd9\u6837\uff0c\u4e5f\u5c31\u662f\u6309\u7167\u201c\u7528\u6237\u540d@\u4e3b\u673a\u5730\u5740\uff08\u57df\u540d\uff09\u201d\u683c\u5f0f\u6765\u89c4\u8303\u7684\u3002\u5982\u679c\u60a8\u7ed9\u6211\u4e00\u4e32\u201croot@192.168.10.10\u201d\u7684\u4fe1\u606f\uff0c\u6211\u53ef\u80fd\u731c\u4e0d\u5230\u8fd9\u662f\u4e00\u4e2a\u4fe1\u7bb1\u5730\u5740\uff0c\u6ca1\u51c6\u4f1a\u5c06\u5b83\u5f53\u4f5cSSH\u534f\u8bae\u7684\u8fde\u63a5\u4fe1\u606f\u3002\u56e0\u6b64\uff0c\u8981\u60f3\u66f4\u597d\u5730\u68c0\u9a8c\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u7684\u914d\u7f6e\u6548\u679c\uff0c\u9700\u8981\u5148\u90e8\u7f72bind\u670d\u52a1\u7a0b\u5e8f\uff0c\u4e3a\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u5668\u548c\u5ba2\u6237\u7aef\u63d0\u4f9bDNS\u57df\u540d\u89e3\u6790\u670d\u52a1\u3002<\/p>\n \u7b2c1\u6b65<\/strong>\uff1a\u914d\u7f6e\u670d\u52a1\u5668\u4e3b\u673a\u540d\u79f0\uff0c\u9700\u8981\u4fdd\u8bc1\u670d\u52a1\u5668\u4e3b\u673a\u540d\u79f0\u4e0e\u53d1\u4fe1\u57df\u540d\u4fdd\u6301\u4e00\u81f4\uff1a<\/p>\n \u7b2c2\u6b65<\/strong>\uff1a\u6e05\u7a7aiptables\u9632\u706b\u5899\u9ed8\u8ba4\u7b56\u7565\uff0c\u5e76\u4fdd\u5b58\u7b56\u7565\u72b6\u6001\uff0c\u907f\u514d\u56e0\u9632\u706b\u5899\u4e2d\u9ed8\u8ba4\u5b58\u5728\u7684\u7b56\u7565\u963b\u6b62\u4e86\u5ba2\u6237\u7aefDNS\u89e3\u6790\u57df\u540d\u53ca\u6536\u53d1\u90ae\u4ef6\uff1a<\/p>\n \u7b2c3\u6b65<\/strong>\uff1a\u4e3a\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u63d0\u4f9b\u57df\u540d\u89e3\u6790\u3002\u7531\u4e8e\u7b2c13\u7ae0\u5df2\u7ecf\u8bb2\u89e3\u4e86bind-chroot\u670d\u52a1\u7a0b\u5e8f\u7684\u914d\u7f6e\u65b9\u6cd5\uff0c\u56e0\u6b64\u8fd9\u91cc\u53ea\u63d0\u4f9b\u4e3b\u914d\u7f6e\u6587\u4ef6\u3001\u533a\u57df\u914d\u7f6e\u6587\u4ef6\u548c\u57df\u540d\u6570\u636e\u6587\u4ef6\u7684\u914d\u7f6e\u5185\u5bb9\uff0c\u5176\u4f59\u914d\u7f6e\u6b65\u9aa4\u8bf7\u5927\u5bb6\u81ea\u884c\u5b8c\u6210\u3002<\/p>\n <\/p>\n \u4fee\u6539\u597d\u914d\u7f6e\u6587\u4ef6\u540e\u8bb0\u5f97\u91cd\u542fbind\u670d\u52a1\u7a0b\u5e8f\uff0c\u8fd9\u6837\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u6240\u5bf9\u5e94\u7684\u670d\u52a1\u5668\u4e3b\u673a\u540d\u5373\u4e3amail.gulass.cn\uff0c\u800c\u90ae\u4ef6\u57df\u4e3a@gulass.cn\u3002\u628a\u670d\u52a1\u5668\u7684DNS\u5730\u5740\u4fee\u6539\u6210\u672c\u5730IP\u5730\u5740\uff0c\u5982\u56fe15-4\u6240\u793a\u3002<\/p>\n <\/p>\n \u56fe15-4\u00a0 \u914d\u7f6e\u670d\u52a1\u5668\u7684DNS\u5730\u5740<\/p>\n Postfix\u662f\u4e00\u6b3e\u7531IBM\u8d44\u52a9\u7814\u53d1\u7684\u514d\u8d39\u5f00\u6e90\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u7a0b\u5e8f\uff0c\u80fd\u591f\u5f88\u597d\u5730\u517c\u5bb9Sendmail\u670d\u52a1\u7a0b\u5e8f\uff0c\u53ef\u4ee5\u65b9\u4fbfSendmail\u7528\u6237\u8fc1\u79fb\u5230Postfix\u670d\u52a1\u4e0a\u3002Postfix\u670d\u52a1\u7a0b\u5e8f\u7684\u90ae\u4ef6\u6536\u53d1\u80fd\u529b\u5f3a\u4e8eSendmail\u670d\u52a1\uff0c\u800c\u4e14\u80fd\u81ea\u52a8\u589e\u52a0\u3001\u51cf\u5c11\u8fdb\u7a0b\u7684\u6570\u91cf\u6765\u4fdd\u8bc1\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u7684\u9ad8\u6027\u80fd\u4e0e\u7a33\u5b9a\u6027\u3002\u53e6\u5916\uff0cPostfix\u670d\u52a1\u7a0b\u5e8f\u7531\u8bb8\u591a\u5c0f\u6a21\u5757\u7ec4\u6210\uff0c\u6bcf\u4e2a\u5c0f\u6a21\u5757\u90fd\u53ef\u4ee5\u5b8c\u6210\u7279\u5b9a\u7684\u529f\u80fd\uff0c\u56e0\u6b64\u53ef\u5728\u751f\u4ea7\u5de5\u4f5c\u73af\u5883\u4e2d\u6839\u636e\u9700\u6c42\u7075\u6d3b\u642d\u914d\u5b83\u4eec\u3002<\/p>\n \u7b2c1\u6b65<\/strong>\uff1a\u5b89\u88c5Postfix\u670d\u52a1\u7a0b\u5e8f\u3002\u8fd9\u4e00\u6b65\u5728RHEL7\u7cfb\u7edf\u4e2d\u662f\u591a\u4f59\u7684\u3002\u5218\u9044\u8001\u5e08\u4e4b\u6240\u4ee5\u8fd8\u8981\u5199\u4e0a\u8fd9\u4e00\u6b65\u9aa4\uff0c\u5176\u76ee\u7684\u662f\u8ba9\u5927\u5bb6\u5728\u5b66\u5b8c\u672c\u4e66\u4e4b\u540e\u4e0d\u4f46\u80fd\u638c\u63e1RHEL\u7cfb\u7edf\uff0c\u8fd8\u80fd\u7acb\u5373\u4e0a\u624bFedora\u3001CentOS\u7b49\u4e3b\u6d41Linux\u7cfb\u7edf\u3002\u8fd9\u6837\uff0c\u65e2\u7136\u8fd9\u4e9b\u7cfb\u7edf\u6ca1\u6709\u9ed8\u8ba4\u5b89\u88c5Postfix\u670d\u52a1\u7a0b\u5e8f\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u81ea\u884c\u641e\u5b9a\u3002\u5728\u5b89\u88c5\u5b8cPostfix\u670d\u52a1\u7a0b\u5e8f\u540e\uff0c\u9700\u8981\u7981\u7528iptables\u9632\u706b\u5899\uff0c\u5426\u5219\u5916\u90e8\u7528\u6237\u65e0\u6cd5\u8bbf\u95ee\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u3002<\/p>\n \u7b2c2\u6b65<\/strong>\uff1a\u914d\u7f6ePostfix\u670d\u52a1\u7a0b\u5e8f\u3002\u5927\u5bb6\u5982\u679c\u662f\u9996\u6b21\u770b\u5230Postfix\u670d\u52a1\u7a0b\u5e8f\u4e3b\u914d\u7f6e\u6587\u4ef6\uff08\/etc\/ postfix\/main.cf\uff09\uff0c\u4f30\u8ba1\u4f1a\u88ab679\u884c\u5de6\u53f3\u7684\u5185\u5bb9\u7ed9\u5413\u5230\u3002\u5176\u5b9e\u4e0d\u7528\u62c5\u5fc3\uff0c\u8fd9\u91cc\u9762\u7edd\u5927\u591a\u6570\u7684\u5185\u5bb9\u4f9d\u7136\u662f\u6ce8\u91ca\u4fe1\u606f\u3002\u5218\u9044\u8001\u5e08\u5728\u672c\u4e66\u4e2d\u4e00\u76f4\u5f3a\u8c03\u6b63\u786e\u5b66\u4e60Linux\u7cfb\u7edf\u7684\u65b9\u6cd5\uff0c\u5e76\u575a\u4fe1\u201c\u8d1f\u8d23\u4efb\u7684\u597d\u8001\u5e08\u4e0d\u5e94\u8be5\u662f\u4e66\u672c\u7684\u642c\u8fd0\u5de5\uff0c\u800c\u5e94\u8be5\u4e00\u540d\u4f18\u8d28\u5185\u5bb9\u7684\u63d0\u70bc\u8005\u201d\uff0c\u56e0\u6b64\u5728\u7ffb\u904d\u4e86\u914d\u7f6e\u53c2\u6570\u7684\u4ecb\u7ecd\uff0c\u4ee5\u53ca\u7ed3\u5408\u591a\u5e74\u7684\u8fd0\u7ef4\u7ecf\u9a8c\u540e\uff0c\u6700\u7ec8\u603b\u7ed3\u51fa\u4e867\u4e2a\u6700\u5e94\u8be5\u638c\u63e1\u7684\u53c2\u6570\uff0c\u5982\u886815-1\u6240\u793a\u3002<\/p>\n \u886815-1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Postfix\u670d\u52a1\u7a0b\u5e8f\u4e3b\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u91cd\u8981\u53c2\u6570<\/p>\n <\/p>\n \u5728Postfix\u670d\u52a1\u7a0b\u5e8f\u7684\u4e3b\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u603b\u8ba1\u9700\u8981\u4fee\u65395\u5904\u3002\u9996\u5148\u662f\u5728\u7b2c76\u884c\u5b9a\u4e49\u4e00\u4e2a\u540d\u4e3amyhostname\u7684\u53d8\u91cf\uff0c\u7528\u6765\u4fdd\u5b58\u670d\u52a1\u5668\u7684\u4e3b\u673a\u540d\u79f0\u3002\u8bf7\u5927\u5bb6\u8bb0\u4f4f\u8fd9\u4e2a\u53d8\u91cf\u7684\u540d\u79f0\uff0c\u4e0b\u8fb9\u7684\u53c2\u6570\u9700\u8981\u8c03\u7528\u5b83\uff1a<\/p>\n \u7136\u540e\u5728\u7b2c83\u884c\u5b9a\u4e49\u4e00\u4e2a\u540d\u4e3amydomain\u7684\u53d8\u91cf\uff0c\u7528\u6765\u4fdd\u5b58\u90ae\u4ef6\u57df\u7684\u540d\u79f0\u3002\u5927\u5bb6\u4e5f\u8981\u8bb0\u4f4f\u8fd9\u4e2a\u53d8\u91cf\u540d\u79f0\uff0c\u4e0b\u9762\u5c06\u8c03\u7528\u5b83\uff1a<\/p>\n \u5728\u7b2c99\u884c\u8c03\u7528\u524d\u9762\u7684mydomain\u53d8\u91cf\uff0c\u7528\u6765\u5b9a\u4e49\u53d1\u51fa\u90ae\u4ef6\u7684\u57df\u3002\u8c03\u7528\u53d8\u91cf\u7684\u597d\u5904\u662f\u907f\u514d\u91cd\u590d\u5199\u5165\u4fe1\u606f\uff0c\u4ee5\u53ca\u4fbf\u4e8e\u65e5\u540e\u7edf\u4e00\u4fee\u6539\uff1a<\/p>\n \u7b2c4\u5904\u4fee\u6539\u662f\u5728\u7b2c116\u884c\u5b9a\u4e49\u7f51\u5361\u76d1\u542c\u5730\u5740\u3002\u53ef\u4ee5\u6307\u5b9a\u8981\u4f7f\u7528\u670d\u52a1\u5668\u7684\u54ea\u4e9bIP\u5730\u5740\u5bf9\u5916\u63d0\u4f9b\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\uff1b\u4e5f\u53ef\u4ee5\u5e72\u8106\u5199\u6210all\uff0c\u4ee3\u8868\u6240\u6709IP\u5730\u5740\u90fd\u80fd\u63d0\u4f9b\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\uff1a<\/p>\n \u6700\u540e\u4e00\u5904\u4fee\u6539\u662f\u5728\u7b2c164\u884c\u5b9a\u4e49\u53ef\u63a5\u6536\u90ae\u4ef6\u7684\u4e3b\u673a\u540d\u6216\u57df\u540d\u5217\u8868\u3002\u8fd9\u91cc\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528\u524d\u9762\u5b9a\u4e49\u597d\u7684myhostname\u548cmydomain\u53d8\u91cf\uff08\u5982\u679c\u4e0d\u60f3\u8c03\u7528\u53d8\u91cf\uff0c\u4e5f\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528\u53d8\u91cf\u4e2d\u7684\u503c\uff09\uff1a<\/p>\n \u7b2c3\u6b65<\/strong>\uff1a\u521b\u5efa\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u7684\u767b\u5f55\u8d26\u6237\u3002Postfix\u4e0evsftpd\u670d\u52a1\u7a0b\u5e8f\u4e00\u6837\uff0c\u90fd\u53ef\u4ee5\u8c03\u7528\u672c\u5730\u7cfb\u7edf\u7684\u8d26\u6237\u548c\u5bc6\u7801\uff0c\u56e0\u6b64\u5728\u672c\u5730\u7cfb\u7edf\u521b\u5efa\u5e38\u89c4\u8d26\u6237\u5373\u53ef\u3002\u6700\u540e\u91cd\u542f\u914d\u7f6e\u59a5\u5f53\u7684postfix\u670d\u52a1\u7a0b\u5e8f\uff0c\u5e76\u5c06\u5176\u6dfb\u52a0\u5230\u5f00\u673a\u542f\u52a8\u9879\u4e2d\u3002\u5927\u529f\u544a\u6210\uff01<\/p>\n Dovecot\u662f\u4e00\u6b3e\u80fd\u591f\u4e3aLinux\u7cfb\u7edf\u63d0\u4f9bIMAP\u548cPOP3\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u7684\u5f00\u6e90\u670d\u52a1\u7a0b\u5e8f\uff0c\u5b89\u5168\u6027\u6781\u9ad8\uff0c\u914d\u7f6e\u7b80\u5355\uff0c\u6267\u884c\u901f\u5ea6\u5feb\uff0c\u800c\u4e14\u5360\u7528\u7684\u670d\u52a1\u5668\u786c\u4ef6\u8d44\u6e90\u4e5f\u8f83\u5c11\uff0c\u56e0\u6b64\u662f\u4e00\u6b3e\u503c\u5f97\u63a8\u8350\u7684\u6536\u4ef6\u670d\u52a1\u7a0b\u5e8f\u3002<\/p>\n \u7b2c1\u6b65<\/strong>\uff1a\u5b89\u88c5Dovecot\u670d\u52a1\u7a0b\u5e8f\u8f6f\u4ef6\u5305\u3002\u5927\u5bb6\u53ef\u81ea\u884c\u914d\u7f6eYum\u8f6f\u4ef6\u4ed3\u5e93\u3001\u6302\u8f7d\u5149\u76d8\u955c\u50cf\u5230\u6307\u5b9a\u76ee\u5f55\uff0c\u7136\u540e\u8f93\u5165\u8981\u5b89\u88c5\u7684dovecot\u8f6f\u4ef6\u5305\u540d\u79f0\u5373\u53ef\uff1a<\/p>\n \u7b2c2\u6b65<\/strong>\uff1a\u914d\u7f6e\u90e8\u7f72Dovecot\u670d\u52a1\u7a0b\u5e8f\u3002\u5728Dovecot\u670d\u52a1\u7a0b\u5e8f\u7684\u4e3b\u914d\u7f6e\u6587\u4ef6\u4e2d\u8fdb\u884c\u5982\u4e0b\u4fee\u6539\u3002\u9996\u5148\u662f\u7b2c24\u884c\uff0c\u628aDovecot\u670d\u52a1\u7a0b\u5e8f\u652f\u6301\u7684\u7535\u5b50\u90ae\u4ef6\u534f\u8bae\u4fee\u6539\u4e3aimap\u3001pop3\u548clmtp\u3002\u7136\u540e\u5728\u8fd9\u4e00\u884c\u4e0b\u9762\u6dfb\u52a0\u4e00\u884c\u53c2\u6570\uff0c\u5141\u8bb8\u7528\u6237\u4f7f\u7528\u660e\u6587\u8fdb\u884c\u5bc6\u7801\u9a8c\u8bc1\u3002\u4e4b\u6240\u4ee5\u8fd9\u6837\u64cd\u4f5c\uff0c\u662f\u56e0\u4e3aDovecot\u670d\u52a1\u7a0b\u5e8f\u4e3a\u4e86\u4fdd\u8bc1\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u7684\u5b89\u5168\u800c\u9ed8\u8ba4\u5f3a\u5236\u7528\u6237\u4f7f\u7528\u52a0\u5bc6\u65b9\u5f0f\u8fdb\u884c\u767b\u5f55\uff0c\u800c\u7531\u4e8e\u5f53\u524d\u8fd8\u6ca1\u6709\u52a0\u5bc6\u7cfb\u7edf\uff0c\u56e0\u6b64\u9700\u8981\u6dfb\u52a0\u8be5\u53c2\u6570\u6765\u5141\u8bb8\u7528\u6237\u7684\u660e\u6587\u767b\u5f55\u3002<\/p>\n \u5728\u4e3b\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u7b2c48\u884c\uff0c\u8bbe\u7f6e\u5141\u8bb8\u767b\u5f55\u7684\u7f51\u6bb5\u5730\u5740\uff0c\u4e5f\u5c31\u662f\u8bf4\u6211\u4eec\u53ef\u4ee5\u5728\u8fd9\u91cc\u9650\u5236\u53ea\u6709\u6765\u81ea\u4e8e\u67d0\u4e2a\u7f51\u6bb5\u7684\u7528\u6237\u624d\u80fd\u4f7f\u7528\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u3002\u5982\u679c\u60f3\u5141\u8bb8\u6240\u6709\u4eba\u90fd\u80fd\u4f7f\u7528\uff0c\u5219\u4e0d\u7528\u4fee\u6539\u672c\u53c2\u6570\uff1a<\/p>\n \u7b2c3\u6b65<\/strong>\uff1a\u914d\u7f6e\u90ae\u4ef6\u683c\u5f0f\u4e0e\u5b58\u50a8\u8def\u5f84\u3002\u5728Dovecot\u670d\u52a1\u7a0b\u5e8f\u5355\u72ec\u7684\u5b50\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u5b9a\u4e49\u4e00\u4e2a\u8def\u5f84\uff0c\u7528\u4e8e\u6307\u5b9a\u8981\u5c06\u6536\u5230\u7684\u90ae\u4ef6\u5b58\u653e\u5230\u670d\u52a1\u5668\u672c\u5730\u7684\u54ea\u4e2a\u4f4d\u7f6e\u3002\u8fd9\u4e2a\u8def\u5f84\u9ed8\u8ba4\u5df2\u7ecf\u5b9a\u4e49\u597d\u4e86\uff0c\u6211\u4eec\u53ea\u9700\u8981\u5c06\u8be5\u914d\u7f6e\u6587\u4ef6\u4e2d\u7b2c24\u884c\u524d\u9762\u7684\u4e95\u53f7\uff08#\uff09\u5220\u9664\u5373\u53ef\u3002<\/p>\n \u7136\u540e\u5207\u6362\u5230\u914d\u7f6ePostfix\u670d\u52a1\u7a0b\u5e8f\u65f6\u521b\u5efa\u7684boss\u8d26\u6237\uff0c\u5e76\u5728\u5bb6\u76ee\u5f55\u4e2d\u5efa\u7acb\u7528\u4e8e\u4fdd\u5b58\u90ae\u4ef6\u7684\u76ee\u5f55\u3002\u8bb0\u5f97\u8981\u91cd\u542fDovecot\u670d\u52a1\u5e76\u5c06\u5176\u6dfb\u52a0\u5230\u5f00\u673a\u542f\u52a8\u9879\u4e2d\u3002\u81f3\u6b64\uff0c\u5bf9Dovecot\u670d\u52a1\u7a0b\u5e8f\u7684\u914d\u7f6e\u90e8\u7f72\u6b65\u9aa4\u5168\u90e8\u7ed3\u675f\u3002<\/p>\n \u5982\u4f55\u5f97\u77e5\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u5df2\u7ecf\u80fd\u591f\u6b63\u5e38\u6536\u53d1\u90ae\u4ef6\u4e86\u5462\uff1f\u53ef\u4ee5\u4f7f\u7528Windows\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u81ea\u5e26\u7684Outlook\u8f6f\u4ef6\u6765\u8fdb\u884c\u6d4b\u8bd5\uff08\u4e5f\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u7535\u5b50\u90ae\u4ef6\u5ba2\u6237\u7aef\u6765\u6d4b\u8bd5\uff0c\u6bd4\u5982Foxmail\uff09\u3002\u8bf7\u6309\u7167\u886815-2\u6765\u8bbe\u7f6e\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u53caDNS\u670d\u52a1\u5668\u548c\u5ba2\u6237\u7aef\u4e3b\u673a\u7684IP\u5730\u5740\uff0c\u4ee5\u4fbf\u80fd\u6b63\u5e38\u89e3\u6790\u90ae\u4ef6\u57df\u540d\u3002\u8bbe\u7f6e\u540e\u7684\u7ed3\u679c\u5982\u56fe15-5\u6240\u793a\u3002<\/p>\n \u886815-2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0eIP\u5730\u5740<\/p>\n \n <\/p>\n <\/p>\n \u56fe15-5\u00a0 \u914d\u7f6eWindows 7\u7cfb\u7edf\u7684\u7f51\u7edc\u53c2\u6570<\/p>\n \u7b2c1\u6b65<\/strong>\uff1a\u5728Windows 7\u7cfb\u7edf\u4e2d\u8fd0\u884cOutlook\u8f6f\u4ef6\u7a0b\u5e8f\u3002\u7531\u4e8e\u5404\u4f4d\u8bfb\u8005\u4f7f\u7528\u7684Windows7\u7cfb\u7edf\u7248\u672c\u4e0d\u4e00\u5b9a\u76f8\u540c\uff0c\u56e0\u6b64\u5218\u9044\u8001\u5e08\u51b3\u5b9a\u91c7\u7528Outlook 2007\u7248\u672c\u4e3a\u5bf9\u8c61\u8fdb\u884c\u5b9e\u9a8c\u3002\u5982\u679c\u60a8\u60f3\u8981\u4e0e\u8fd9\u91cc\u7684\u5b9e\u9a8c\u73af\u5883\u5c3d\u91cf\u4fdd\u6301\u4e00\u81f4\uff0c\u53ef\u5728\u672c\u4e66\u914d\u5957\u7ad9\u70b9\u7684\u8f6f\u4ef6\u8d44\u6e90\u5e93\u9875\u9762\uff08http:\/\/www. gulass.cn\/ tools\uff09\u4e0b\u8f7d\u5e76\u5b89\u88c5\u3002\u5728\u521d\u6b21\u8fd0\u884c\u8be5\u8f6f\u4ef6\u65f6\u4f1a\u51fa\u73b0\u4e00\u4e2a\u201cOutlook 2007\u542f\u52a8\u201d\u9875\u9762\uff0c\u5f15\u5bfc\u5927\u5bb6\u5b8c\u6210\u8be5\u8f6f\u4ef6\u7684\u914d\u7f6e\u8fc7\u7a0b\uff0c\u5982\u56fe15-6\u6240\u793a\u3002<\/p>\n <\/p>\n \u56fe15-6\u00a0 Outlook 2007\u542f\u52a8\u5411\u5bfc<\/p>\n \u7b2c2\u6b65<\/strong>\uff1a\u914d\u7f6e\u7535\u5b50\u90ae\u4ef6\u8d26\u6237\u3002\u5728\u56fe15-7\u6240\u793a\u7684\u201c\u8d26\u6237\u8bbe\u7f6e\u201d\u9875\u9762\u4e2d\u5355\u51fb\u201c\u662f\u201d\u5355\u9009\u6309\u94ae\uff0c\u7136\u540e\u5355\u51fb\u201c\u4e0b\u4e00\u6b65\u201d\u6309\u94ae\u3002<\/p>\n <\/p>\n \u56fe15-7\u00a0 \u914d\u7f6e\u7535\u5b50\u90ae\u4ef6\u8d26\u6237<\/p>\n \u7b2c3\u6b65<\/strong>\uff1a\u9009\u62e9\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u7684\u534f\u8bae\u7c7b\u578b\u3002\u5728\u56fe15-8\u6240\u793a\u7684\u9875\u9762\u4e2d\u63a5\u53d7\u9ed8\u8ba4\u8bbe\u7f6e\uff0c\u7136\u540e\u5355\u51fb\u201c\u4e0b\u4e00\u6b65\u201d\u6309\u94ae\u3002<\/p>\n <\/p>\n \u56fe15-8\u00a0 \u9009\u62e9\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u7684\u534f\u8bae\u7c7b\u578b<\/p>\n \u7b2c4\u6b65<\/strong>\uff1a\u586b\u5199\u7535\u5b50\u90ae\u4ef6\u8d26\u6237\u4fe1\u606f\uff0c\u5728\u56fe15-9\u6240\u793a\u7684\u9875\u9762\u4e2d\uff0c\u201c\u60a8\u7684\u59d3\u540d\u201d\u6587\u672c\u6846\u4e2d\u53ef\u4ee5\u4e3a\u81ea\u5b9a\u4e49\u7684\u4efb\u610f\u540d\u5b57\uff0c\u201c\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u201d\u6587\u672c\u6846\u4e2d\u5219\u9700\u8981\u8f93\u5165\u670d\u52a1\u5668\u7cfb\u7edf\u5185\u7684\u8d26\u6237\u540d\u5916\u52a0\u53d1\u4ef6\u57df\uff0c\u201c\u5bc6\u7801\u201d\u6587\u672c\u6846\u4e2d\u8981\u8f93\u5165\u8be5\u8d26\u6237\u5728\u670d\u52a1\u5668\u5185\u7684\u767b\u5f55\u5bc6\u7801\u3002\u5728\u586b\u5199\u5b8c\u6bd5\u4e4b\u540e\uff0c\u5355\u51fb\u201c\u4e0b\u4e00\u6b65\u201d\u6309\u94ae\u3002<\/p>\n <\/p>\n \u56fe15-9\u00a0 \u586b\u5199\u7535\u5b50\u90ae\u4ef6\u8d26\u6237\u4fe1\u606f<\/p>\n \u7b2c5\u6b65<\/strong>\uff1a\u8fdb\u884c\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u767b\u5f55\u9a8c\u8bc1\u3002\u7531\u4e8e\u5f53\u524d\u6ca1\u6709\u53ef\u7528\u7684SSL\u52a0\u5bc6\u670d\u52a1\uff0c\u56e0\u6b64\u5728Dovecot\u670d\u52a1\u7a0b\u5e8f\u7684\u4e3b\u914d\u7f6e\u6587\u4ef6\u4e2d\u5199\u5165\u4e86\u4e00\u6761\u53c2\u6570\uff0c\u8ba9\u5ba2\u6237\u53ef\u4ee5\u4f7f\u7528\u660e\u6587\u767b\u5f55\u5230\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u3002Outlook\u8f6f\u4ef6\u9ed8\u8ba4\u4f1a\u901a\u8fc7SSL\u52a0\u5bc6\u534f\u8bae\u5c1d\u8bd5\u767b\u5f55\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\uff0c\u6240\u4ee5\u5728\u8fdb\u884c\u56fe15-10\u6240\u793a\u7684\u201c\u641c\u7d22boss@gulass.cn\u670d\u52a1\u5668\u8bbe\u7f6e\u201d\u5927\u7ea630\uff5e60\u79d2\u540e\uff0c\u7cfb\u7edf\u4f1a\u51fa\u73b0\u767b\u5f55\u5931\u8d25\u7684\u62a5\u9519\u4fe1\u606f\u3002\u6b64\u65f6\u53ea\u9700\u518d\u6b21\u5355\u51fb\u201c\u4e0b\u4e00\u6b65\u201d\u6309\u94ae\uff0c\u5373\u53ef\u8ba9Outlook\u8f6f\u4ef6\u901a\u8fc7\u975e\u52a0\u5bc6\u7684\u65b9\u5f0f\u9a8c\u8bc1\u767b\u5f55\uff0c\u5982\u56fe15-11\u6240\u793a\u3002<\/p>\n <\/p>\n \u56fe15-10\u00a0 \u8fdb\u884c\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u9a8c\u8bc1\u767b\u5f55<\/p>\n <\/p>\n \u56fe15-11\u00a0 \u4f7f\u7528\u975e\u52a0\u5bc6\u7684\u65b9\u5f0f\u8fdb\u884c\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u9a8c\u8bc1\u767b\u5f55<\/p>\n \u7b2c6\u6b65<\/strong>\uff1a\u5411\u5176\u4ed6\u4fe1\u7bb1\u53d1\u9001\u90ae\u4ef6\u3002\u5728\u6210\u529f\u767b\u5f55Outlook\u8f6f\u4ef6\u540e\u5373\u53ef\u5c1d\u8bd5\u7f16\u5199\u5e76\u53d1\u9001\u65b0\u90ae\u4ef6\u4e86\u3002\u53ea\u9700\u5728\u8f6f\u4ef6\u754c\u9762\u7684\u7a7a\u767d\u5904\u5355\u51fb\u9f20\u6807\u53f3\u952e\uff0c\u5728\u5f39\u51fa\u7684\u83dc\u5355\u4e2d\u9009\u62e9\u201c\u65b0\u90ae\u4ef6\u201d\u547d\u4ee4\uff08\u89c1\u56fe15-12\uff09\uff0c\u7136\u540e\u5728\u90ae\u4ef6\u754c\u9762\u4e2d\u586b\u5199\u6536\u4ef6\u4eba\u7684\u4fe1\u7bb1\u5730\u5740\u4ee5\u53ca\u5b8c\u6574\u7684\u90ae\u4ef6\u5185\u5bb9\u540e\u5355\u51fb\u201c\u53d1\u9001\u201d\u6309\u94ae\uff0c\u5982\u56fe15-13\u6240\u793a\u3002<\/p>\n <\/p>\n \u56fe15-12\u00a0 \u5411\u5176\u4ed6\u4fe1\u7bb1\u53d1\u9001\u90ae\u4ef6<\/p>\n <\/p>\n \u56fe15-13\u00a0 \u586b\u5199\u6536\u4ef6\u4eba\u4fe1\u7bb1\u5730\u5740\u5e76\u7f16\u5199\u5b8c\u6574\u7684\u90ae\u4ef6\u5185\u5bb9<\/p>\n \u5f53\u4f7f\u7528Outlook\u8f6f\u4ef6\u6210\u529f\u53d1\u9001\u90ae\u4ef6\u540e\uff0c\u4fbf\u53ef\u4ee5\u5728\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u5668\u4e0a\u4f7f\u7528mail\u547d\u4ee4\u67e5\u770b\u5230\u65b0\u90ae\u4ef6\u63d0\u9192\u4e86\u3002\u5982\u679c\u60f3\u67e5\u770b\u90ae\u4ef6\u7684\u5b8c\u6574\u5185\u5bb9\uff0c\u53ea\u9700\u8f93\u5165\u6536\u4ef6\u4eba\u59d3\u540d\u524d\u9762\u7684\u7f16\u53f7\u5373\u53ef\u3002<\/p>\n15.1 \u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf<\/span><\/strong><\/h5>\n
\n
[root@linuxprobe ~]# vim \/etc\/hostname\r\nmail.gulass.cn\r\n[root@linuxprobe ~]# hostname\r\nmail.gulass.cn\r\n<\/pre>\n
[root@localhost\u00a0~]#\u00a0iptables\u00a0-F\r\n[root@localhost\u00a0~]#\u00a0service\u00a0iptables\u00a0save\r\niptables:\u00a0Saving\u00a0firewall\u00a0rules\u00a0to\u00a0\/etc\/sysconfig\/iptables:[\u00a0\u00a0OK\u00a0\u00a0]<\/pre>\n
\u00a0[root@linux<\/a>probe ~]# cat \/etc\/named.conf\r\n 1 \/\/\r\n 2 \/\/ named.conf\r\n 3 \/\/\r\n 4 \/\/ Provided by Red Hat bind package to configure the ISC BIND named(8) DNS\r\n 5 \/\/ server as a caching only nameserver (as a localhost DNS resolver only).\r\n 6 \/\/\r\n 7 \/\/ See \/usr\/share\/doc\/bind*\/sample\/ for example named configuration files.\r\n 8 \/\/\r\n 9 \r\n 10 options {\r\n 11 listen-on port 53 { any; };<\/strong>\r\n 12 listen-on-v6 port 53 { ::1; };\r\n 13 directory \"\/var\/named\";\r\n 14 dump-file \"\/var\/named\/data\/cache_dump.db\";\r\n 15 statistics-file \"\/var\/named\/data\/named_stats.txt\";\r\n 16 memstatistics-file \"\/var\/named\/data\/named_mem_stats.txt\";\r\n 17 allow-query { any; };<\/strong>\r\n 18 \r\n \u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026<\/pre>\n
[root@linuxprobe ~]# cat \/etc\/named.rfc1912.zones\r\nzone \"gulass.cn\" IN {\r\ntype master;\r\nfile \"gulass.cn.zone\";\r\nallow-update {none;};\r\n};<\/pre>\n
[root@linuxprobe ~]# cat \/var\/named\/gulass.cn.zone<\/pre>\n
\n\n
\n $TTL 1D<\/td>\n <\/td>\n <\/td>\n <\/td>\n <\/td>\n<\/tr>\n \n @<\/td>\n IN SOA<\/td>\n gulass.cn.<\/td>\n root.gulass.cn.<\/td>\n (<\/td>\n<\/tr>\n \n <\/td>\n <\/td>\n <\/td>\n <\/td>\n 0;serial<\/td>\n<\/tr>\n \n <\/td>\n <\/td>\n <\/td>\n <\/td>\n 1D;refresh<\/td>\n<\/tr>\n \n <\/td>\n <\/td>\n <\/td>\n <\/td>\n 1H;retry<\/td>\n<\/tr>\n \n <\/td>\n <\/td>\n <\/td>\n <\/td>\n 1W;expire<\/td>\n<\/tr>\n \n <\/td>\n <\/td>\n <\/td>\n <\/td>\n 3H);minimum<\/td>\n<\/tr>\n \n <\/td>\n NS<\/td>\n ns.gulass.cn.<\/td>\n <\/td>\n<\/tr>\n \n ns<\/td>\n IN A<\/td>\n 192.168.10.10<\/td>\n <\/td>\n<\/tr>\n \n @<\/td>\n IN MX 10<\/td>\n mail.gulass.cn.<\/td>\n <\/td>\n<\/tr>\n \n mail<\/td>\n IN A<\/td>\n 192.168.10.10<\/td>\n <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n [root@linuxprobe\u00a0~]#\u00a0systemctl\u00a0restart\u00a0named\r\n[root@linuxprobe\u00a0~]#\u00a0systemctl\u00a0enable\u00a0named\r\nln\u00a0-s\u00a0'\/usr\/lib\/systemd\/system\/named.service'\u00a0\r\n'\/etc\/systemd\/system\/multi-user.target.wants\/named.service'<\/pre>\n
15.2.1 \u914d\u7f6ePostfix\u670d\u52a1\u7a0b\u5e8f<\/span><\/strong><\/h6>\n
[root@linuxprobe ~]# yum install postfix\r\nLoaded plugins: langpacks, product-id, subscription-manager\r\nrhel7 | 4.1 kB 00:00\r\n(1\/2): rhel7\/group_gz | 134 kB 00:00\r\n(2\/2): rhel7\/primary_db | 3.4 MB 00:00\r\nPackage 2:postfix-2.10.1-6.el7.x86_64 already installed and latest version\r\nNothing to do\r\n[root@linuxprobe ~]# systemctl disable iptables<\/pre>\n
\n\n
\n \u53c2\u6570<\/td>\n \u4f5c\u7528<\/td>\n<\/tr>\n \n myhostname<\/td>\n \u90ae\u5c40\u7cfb\u7edf\u7684\u4e3b\u673a\u540d<\/td>\n<\/tr>\n \n mydomain<\/td>\n \u90ae\u5c40\u7cfb\u7edf\u7684\u57df\u540d<\/td>\n<\/tr>\n \n myorigin<\/td>\n \u4ece\u672c\u673a\u53d1\u51fa\u90ae\u4ef6\u7684\u57df\u540d\u540d\u79f0<\/td>\n<\/tr>\n \n inet_interfaces<\/td>\n \u76d1\u542c\u7684\u7f51\u5361\u63a5\u53e3<\/td>\n<\/tr>\n \n mydestination<\/td>\n \u53ef\u63a5\u6536\u90ae\u4ef6\u7684\u4e3b\u673a\u540d\u6216\u57df\u540d<\/td>\n<\/tr>\n \n mynetworks<\/td>\n \u8bbe\u7f6e\u53ef\u8f6c\u53d1\u54ea\u4e9b\u4e3b\u673a\u7684\u90ae\u4ef6<\/td>\n<\/tr>\n \n relay_domains<\/td>\n \u8bbe\u7f6e\u53ef\u8f6c\u53d1\u54ea\u4e9b\u7f51\u57df\u7684\u90ae\u4ef6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n [root@linuxprobe ~]# vim \/etc\/postfix\/main.cf\r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026\r\n68 # INTERNET HOST AND DOMAIN NAMES\r\n69 # \r\n70 # The myhostname parameter specifies the internet hostname of this\r\n71 # mail system. The default is to use the fully-qualified domain name\r\n72 # from gethostname(). $myhostname is used as a default value for many\r\n73 # other configuration parameters.\r\n74 #\r\n75 #myhostname = host.domain.tld\r\n76 myhostname = mail.gulass.cn<\/strong>\r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026<\/pre>\n
78 # The mydomain parameter specifies the local internet domain name.\r\n79 # The default is to use $myhostname minus the first component.\r\n80 # $mydomain is used as a default value for many other configuration\r\n81 # parameters.\r\n82 #\r\n83 mydomain = gulass.cn<\/strong><\/pre>\n
85 # SENDING MAIL\r\n86 # \r\n87 # The myorigin parameter specifies the domain that locally-posted\r\n88 # mail appears to come from. The default is to append $myhostname,\r\n89 # which is fine for small sites. If you run a domain with multiple\r\n90 # machines, you should (1) change this to $mydomain and (2) set up\r\n91 # a domain-wide alias database that aliases each user to\r\n92 # user@that.users.mailhost.\r\n93 #\r\n94 # For the sake of consistency between sender and recipient addresses,\r\n95 # myorigin also specifies the default domain name that is appended\r\n96 # to recipient addresses that have no @domain part.\r\n97 #\r\n98 #myorigin = $myhostname\r\n99 myorigin = $mydomain<\/strong><\/pre>\n
103 # The inet_interfaces parameter specifies the network interface\r\n104 # addresses that this mail system receives mail on. By default,\r\n105 # the software claims all active interfaces on the machine. The\r\n106 # parameter also controls delivery of mail to user@[ip.address].\r\n107 #\r\n108 # See also the proxy_interfaces parameter, for network addresses that\r\n109 # are forwarded to us via a proxy or network address translator.\r\n110 #\r\n111 # Note: you need to stop\/start Postfix when this parameter changes.\r\n112 #\r\n113 #inet_interfaces = all\r\n114 #inet_interfaces = $myhostname\r\n115 #inet_interfaces = $myhostname, localhost\r\n116 inet_interfaces = all<\/strong><\/pre>\n
133 # The mydestination parameter specifies the list of domains that this\r\n134 # machine considers itself the final destination for.\r\n135 #\r\n136 # These domains are routed to the delivery agent specified with the\r\n137 # local_transport parameter setting. By default, that is the UNIX\r\n138 # compatible delivery agent that lookups all recipients in \/etc\/passwd\r\n139 # and \/etc\/aliases or their equivalent.\r\n140 #\r\n141 # The default is $myhostname + localhost.$mydomain. On a mail domain\r\n142 # gateway, you should also include $mydomain.\r\n143 #\r\n144 # Do not specify the names of virtual domains - those domains are\r\n145 # specified elsewhere (see VIRTUAL_README).\r\n146 #\r\n147 # Do not specify the names of domains that this machine is backup MX\r\n148 # host for. Specify those names via the relay_domains settings for\r\n149 # the SMTP server, or use permit_mx_backup if you are lazy (see\r\n150 # STANDARD_CONFIGURATION_README).\r\n151 #\r\n152 # The local machine is always the final destination for mail addressed\r\n153 # to user@[the.net.work.address] of an interface that the mail system\r\n154 # receives mail on (see the inet_interfaces parameter).\r\n155 #\r\n156 # Specify a list of host or domain names, \/file\/name or type:table\r\n157 # patterns, separated by commas and\/or whitespace. A \/file\/name\r\n158 # pattern is replaced by its contents; a type:table is matched when\r\n159 # a name matches a lookup key (the right-hand side is ignored).\r\n160 # Continue long lines by starting the next line with whitespace.\r\n161 #\r\n162 # See also below, section \"REJECTING MAIL FOR UNKNOWN LOCAL USERS\".\r\n163 #\r\n164 mydestination = $myhostname , $mydomain<\/strong>\r\n165 #mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain\r\n166 #mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,<\/pre>\n
[root@linuxprobe ~]# useradd boss\r\n[root@linuxprobe\u00a0~]# echo \"linuxprobe\" | passwd --stdin boss\r\nChanging password for user boss. passwd: all authentication tokens updated successfully.\r\n[root@linuxprobe\u00a0~]# systemctl restart postfix\r\n[root@linuxprobe\u00a0~]# systemctl enable postfix\r\nln -s '\/usr\/lib\/systemd\/system\/postfix.service' '\/etc\/systemd\/system\/multi-user.target.wants\/postfix.service'<\/pre>\n
15.2.2 \u914d\u7f6eDovecot\u670d\u52a1\u7a0b\u5e8f<\/strong><\/span><\/h6>\n
[root@linuxprobe ~]# yum install dovecot\r\nLoaded plugins: langpacks, product-id, subscription-manager\r\nThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.\r\nrhel | 4.1 kB 00:00 \r\nResolving Dependencies\r\n--> Running transaction check\r\n---> Package dovecot.x86_64 1:2.2.10-4.el7 will be installed\r\n--> Processing Dependency: libclucene-core.so.1()(64bit) for package: 1:dovecot-2.2.10-4.el7.x86_64\r\n--> Processing Dependency: libclucene-shared.so.1()(64bit) for package: 1:dovecot-2.2.10-4.el7.x86_64\r\n--> Running transaction check\r\n---> Package clucene-core.x86_64 0:2.3.3.4-11.el7 will be installed\r\n--> Finished Dependency Resolution\r\nDependencies Resolved\r\n================================================================================\r\n Package Arch Version Repository Size\r\n================================================================================\r\nInstalling:\r\n dovecot x86_64 1:2.2.10-4.el7 rhel 3.2 M\r\nInstalling for dependencies:\r\n clucene-core x86_64 2.3.3.4-11.el7 rhel 528 k\r\nTransaction Summary\r\n================================================================================\r\nInstall 1 Package (+1 Dependent package)\r\nTotal download size: 3.7 M\r\nInstalled size: 12 M\r\nIs this ok [y\/d\/N]: y<\/strong>\r\nDownloading packages:\r\n--------------------------------------------------------------------------------\r\nTotal 44 MB\/s | 3.7 MB 00:00 \r\nRunning transaction check\r\nRunning transaction test\r\nTransaction test succeeded\r\nRunning transaction\r\n Installing : clucene-core-2.3.3.4-11.el7.x86_64 1\/2 \r\n Installing : 1:dovecot-2.2.10-4.el7.x86_64 2\/2 \r\n Verifying : 1:dovecot-2.2.10-4.el7.x86_64 1\/2 \r\n Verifying : clucene-core-2.3.3.4-11.el7.x86_64 2\/2 \r\nInstalled:\r\n dovecot.x86_64 1:2.2.10-4.el7 \r\nDependency Installed:\r\n clucene-core.x86_64 0:2.3.3.4-11.el7 \r\nComplete!\r\n<\/pre>\n
[root@linuxprobe ~]# vim \/etc\/dovecot\/dovecot.conf\r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026\r\n23 # Protocols we want to be serving.\r\n24 protocols = imap pop3 lmtp<\/strong>\r\n25 disable_plaintext_auth = no<\/strong>\r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026<\/pre>\n
44 # Space separated list of trusted network ranges. Connections from these\r\n45 # IPs are allowed to override their IP addresses and ports (for logging and\r\n46 # for authentication checks). disable_plaintext_auth is also ignored for\r\n47 # these networks. Typically you'd specify your IMAP proxy servers here.\r\n48 login_trusted_networks = 192.168.10.0\/24<\/strong><\/pre>\n
[root@linuxprobe ~]# vim \/etc\/dovecot\/conf.d\/10-mail.conf\r\n1 ##\r\n2 ## Mailbox locations and namespaces\r\n3 ##\r\n4 # Location for users' mailboxes. The default is empty, which means that Dovecot\r\n5 # tries to find the mailboxes automatically. This won't work if the user\r\n6 # doesn't yet have any mail, so you should explicitly tell Dovecot the full\r\n7 # location.\r\n8 #\r\n9 # If you're using mbox, giving a path to the INBOX file (eg. \/var\/mail\/%u)\r\n10 # isn't enough. You'll also need to tell Dovecot where the other mailboxes are\r\n11 # kept. This is called the \"root mail directory\", and it must be the first\r\n12 # path given in the mail_location setting.\r\n13 #\r\n14 # There are a few special variables you can use, eg.:\r\n15 #\r\n16 # %u - username\r\n17 # %n - user part in user@domain, same as %u if there's no domain\r\n18 # %d - domain part in user@domain, empty if there's no domain\r\n19 # %h - home directory\r\n20 #\r\n21 # See doc\/wiki\/Variables.txt for full list. Some examples:\r\n22 #\r\n23 # mail_location = maildir:~\/Maildir\r\n24 mail_location = mbox:~\/mail:INBOX=\/var\/mail\/%u<\/strong>\r\n25 # mail_location = mbox:\/var\/mail\/%d\/%1n\/%n:INDEX=\/var\/indexes\/%d\/%1n\/%n\r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026\r\n<\/pre>\n
[root@linuxprobe ~]# su - boss\r\nLast login: Sat Aug 15 16:15:58 CST 2017 on pts\/1\r\n[boss@mail ~]$ mkdir -p mail\/.imap\/INBOX\r\n[boss@mail ~]$ exit\r\n[root@linuxprobe ~]# systemctl restart dovecot \r\n[root@linuxprobe ~]# systemctl enable dovecot \r\nln -s '\/usr\/lib\/systemd\/system\/dovecot.service' '\/etc\/systemd\/system\/multi-user.target.wants\/dovecot.service'<\/pre>\n
15.2.3 \u5ba2\u6237\u4f7f\u7528\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf<\/strong><\/span><\/h6>\n
\n\n
\n \u4e3b\u673a\u540d\u79f0<\/td>\n \u64cd\u4f5c\u7cfb\u7edf<\/td>\n IP\u5730\u5740<\/td>\n<\/tr>\n \n \u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\u53caDNS\u670d\u52a1\u5668<\/td>\n RHEL 10<\/td>\n 192.168.10.10<\/td>\n<\/tr>\n \n \u5ba2\u6237\u7aef\u4e3b\u673a<\/td>\n Windows 11<\/td>\n 192.168.10.30<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n [root@linuxprobe ~]# mail\r\nHeirloom Mail version 12.5 7\/5\/10.Type ? for help.\r\n\"\/var\/mail\/root\": 3 messages 3 unread >\r\nU 1 user@localhost.com Fri Jul 10 09:58 1631\/123113 \"[abrt] full crash r\" \r\nU 2 Anacron Sat Aug 15 13:33 18\/624 \"Anacron job 'cron.dai\" \r\nU 3 boss Sat Aug 15 19:02 118\/3604 \"Hello~\"<\/strong> \r\n&> 3\r\nMessage 3:\r\nFrom boss@gulass.cn Sat Aug 15 19:02:06 2017 \r\nReturn-Path: \r\nX-Original-To: root@gulass.cn \r\nDelivered-To: root@gulass.cn \r\nFrom: \"boss\" \r\nTo: \r\nSubject: Hello~\r\nDate: Sat, 15 Aug 2017 19:02:06 +0800\r\nContent-Type: text\/plain; charset=\"gb2312\" \r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026\r\n\u5f53\u60a8\u6536\u5230\u8fd9\u5c01\u90ae\u4ef6\u65f6\uff0c\u8bc1\u660e\u6211\u7684\u90ae\u5c40\u7cfb\u7edf\u5b9e\u9a8c\u5df2\u7ecf\u6210\u529f\uff01\r\n> quit \r\nHeld 3 messages in \/var\/mail\/root\r\n<\/pre>\n