{"id":131125,"date":"2019-01-05T08:00:05","date_gmt":"2019-01-05T00:00:05","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=131125"},"modified":"2019-01-02T10:53:13","modified_gmt":"2019-01-02T02:53:13","slug":"linux-postfix-1","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-postfix-1.html","title":{"rendered":"Linux\u4e2dPostfix\u90ae\u4ef6\u539f\u7406\u4ecb\u7ecd\uff08\u4e00\uff09"},"content":{"rendered":"
\u90ae\u4ef6\u76f8\u5173\u534f\u8bae<\/strong><\/div>\n

SMTP\uff08Simple Mail Transfer Protocol\uff09\u5373\u7b80\u5355\u90ae\u4ef6\u4f20\u8f93\u534f\u8bae\uff0c \u5de5\u4f5c\u5728TCP\u768425\u7aef\u53e3\u3002\u5b83\u662f\u4e00\u7ec4\u7528\u4e8e\u7531\u6e90\u5730\u5740\u5230\u76ee\u7684\u5730\u5740\u4f20\u9001\u90ae\u4ef6\u7684\u89c4\u5219\uff0c\u7531\u5b83\u6765\u63a7\u5236\u4fe1\u4ef6\u7684\u4e2d\u8f6c\u65b9\u5f0f\u3002\u8ddf\u540d\u5b57\u4e00\u6837smtp\u975e\u5e38\u7b80\u5355\uff0c\u65e0\u6cd5\u505a\u5230\u8ba4\u8bc1\uff0c\u90ae\u4ef6\u5b58\u653e\u7b49\u529f\u80fd\u3002<\/p>\n

POP3\uff08Post Office Protocol\uff09\u90ae\u5c40\u534f\u8bae\u7b2c3\u7248\uff0c\u5de5\u4f5c\u5728TCP\u7684110\u7aef\u53e3\u3002\u672c\u534f\u8bae\u4e3b\u8981\u7528\u4e8e\u652f\u6301\u4f7f\u7528\u5ba2\u6237\u7aef\u8fdc\u7a0b\u7ba1\u7406\u5728\u670d\u52a1\u5668\u4e0a\u7684\u7535\u5b50\u90ae\u4ef6\u3002POP \u534f\u8bae\u652f\u6301\u201c\u79bb\u7ebf\u201d\u90ae\u4ef6\u5904\u7406\u3002\u5176\u5177\u4f53\u8fc7\u7a0b\u662f\uff1a\u90ae\u4ef6\u53d1\u9001\u5230\u670d\u52a1\u5668\u4e0a\uff0c\u7535\u5b50\u90ae\u4ef6\u5ba2\u6237\u7aef\u8c03\u7528\u90ae\u4ef6\u5ba2\u6237\u673a\u7a0b\u5e8f\u4ee5\u8fde\u63a5\u670d\u52a1\u5668\uff0c\u5e76\u4e0b\u8f7d\u6240\u6709\u672a\u9605\u8bfb\u7684\u7535\u5b50\u90ae\u4ef6\u3002\u8fd9\u79cd\u79bb\u7ebf\u8bbf\u95ee\u6a21\u5f0f\u662f\u4e00\u79cd\u5b58\u50a8\u8f6c\u53d1\u670d\u52a1\uff0c\u5c06\u90ae\u4ef6\u4ece\u90ae\u4ef6\u670d\u52a1\u5668\u7aef\u9001\u5230\u4e2a\u4eba\u7ec8\u7aef\u673a\u5668\u4e0a\uff0c\u4e00\u822c\u662fPC\u673a\u6216 MAC\u3002\u4e00\u65e6\u90ae\u4ef6\u53d1\u9001\u5230 PC \u673a\u6216MAC\u4e0a\uff0c\u90ae\u4ef6\u670d\u52a1\u5668\u4e0a\u7684\u90ae\u4ef6\u5c06\u4f1a\u88ab\u5220\u9664\u3002\u4f46\u76ee\u524d\u7684POP3\u90ae\u4ef6\u670d\u52a1\u5668\u5927\u90fd\u53ef\u4ee5\u201c\u53ea\u4e0b\u8f7d\u90ae\u4ef6\uff0c\u670d\u52a1\u5668\u7aef\u5e76\u4e0d\u5220\u9664\u201d\uff0c\u4e5f\u5c31\u662f\u6539\u8fdb\u7684POP3\u534f\u8bae\u3002<\/p>\n

IMAP4\uff08Internet Mail Access Protocol\uff09\u56e0\u7279\u7f51\u90ae\u4ef6\u8bbf\u95ee\u534f\u8bae\u7b2c4\u7248\uff0c\u5de5\u4f5c\u5728TCP\u7684143\u7aef\u53e3\u3002IMAP4\u534f\u8bae\u4e0ePOP3\u534f\u8bae\u4e00\u6837\u4e5f\u662f\u89c4\u5b9a\u4e2a\u4eba\u8ba1\u7b97\u673a\u5982\u4f55\u8bbf\u95ee\u7f51\u4e0a\u7684\u90ae\u4ef6\u7684\u670d\u52a1\u5668\u8fdb\u884c\u6536\u53d1\u90ae\u4ef6\u7684\u534f\u8bae\uff0c\u4f46\u662fIMAP4\u534f\u8bae\u540cPOP3\u534f\u8bae\u76f8\u6bd4\u66f4\u9ad8\u7ea7\u3002IMAP4\u652f\u6301\u534f\u8bae\u5ba2\u6237\u673a\u5728\u7ebf\u6216\u8005\u79bb\u5f00\u8bbf\u95ee\u5e76\u9605\u8bfb\u670d\u52a1\u5668\u4e0a\u7684\u90ae\u4ef6\uff0c\u8fd8\u80fd\u4ea4\u4e92\u5f0f\u7684\u64cd\u4f5c\u670d\u52a1\u5668\u4e0a\u7684\u90ae\u4ef6\u3002IMAP4\u534f\u8bae\u66f4\u4eba\u6027\u5316\u7684\u5730\u65b9\u662f\u4e0d\u9700\u8981\u50cfPOP3\u534f\u8bae\u90a3\u6837\u628a\u90ae\u4ef6\u4e0b\u8f7d\u5230\u672c\u5730\uff0c\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u5ba2\u6237\u7aef\u76f4\u63a5\u5bf9\u670d\u52a1\u5668\u4e0a\u7684\u90ae\u4ef6\u8fdb\u884c\u64cd\u4f5c\uff08\u8fd9\u91cc\u7684\u64cd\u4f5c\u662f\u6307\uff1a\u5728\u7ebf\u9605\u8bfb\u90ae\u4ef6 \u5728\u7ebf\u67e5\u770b\u90ae\u4ef6\u4e3b\u9898 \u5927\u5c0f \u53d1\u4ef6\u5730\u5740\u7b49\u4fe1\u606f)\u3002\u7528\u6237\u8fd8\u53ef\u4ee5\u5728\u670d\u52a1\u5668\u4e0a\u7ef4\u62a4\u81ea\u5df1\u90ae\u4ef6\u76ee\u5f55\uff08\u7ef4\u62a4\u662f\u6307\u79fb\u52a8\uff09\u65b0\u5efa \u5220\u9664\u91cd\u547d\u540d\u5171\u4eab \u6293\u53d6\u6587\u672c \u7b49\u64cd\u4f5c)\u3002IMAP4\u534f\u8bae\u5f25\u8865\u4e86POP3\u534f\u8bae\u7684\u5f88\u591a\u7f3a\u9677\u3002<\/p>\n

\u90ae\u4ef6\u76f8\u5173\u540d\u8bcd<\/strong><\/div>\n

\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u628a\u7535\u5b50\u90ae\u4ef6\u7a0b\u5e8f\u5206\u89e3\u6210\u4f20\u8f93\u4ee3\u7406\uff0c\u6295\u9012\u4ee3\u7406\u7528\u6237\u4ee3\u7406\u3002\u7528\u6237\u4ee3\u7406\u7528\u6765\u63a5\u53d7\u7528\u6237\u7684\u6307\u4ee4\uff0c\u5c06\u7528\u6237\u7684\u4fe1\u4ef6\u4f20\u9001\u81f3\u4fe1\u4ef6\u4f20\u8f93\u4ee3\u7406.\u800c\u6295\u9012\u4ee3\u7406\u5219\u4ece\u4fe1\u4ef6\u4f20\u8f93\u4ee3\u7406\u53d6\u5f97\u4fe1\u4ef6\u4f20\u9001\u81f3\u6700\u7ec8\u7528\u6237\u7684\u90ae\u7bb1.\u5f53\u7528\u6237\u8bd5\u56fe\u53d1\u9001\u4e00\u5c01\u7535\u5b50\u90ae\u4ef6\u7684\u65f6\u5019\uff0c\u4ed6\u5e76\u4e0d\u80fd\u76f4\u63a5\u5c06\u4fe1\u4ef6\u53d1\u9001\u5230\u5bf9\u65b9\u7684\u673a\u5668\u4e0a\uff0c\u7528\u6237\u4ee3\u7406\u5fc5\u987b\u8bd5\u56fe\u53bb\u5bfb\u627e\u4e00\u4e2a\u4fe1\u4ef6\u4f20\u8f93\u4ee3\u7406\uff0c\u628a\u90ae\u4ef6\u63d0\u4ea4\u7ed9\u5b83\u3002\u4fe1\u4ef6\u4f20\u8f93\u4ee3\u7406\u5f97\u5230\u4e86\u90ae\u4ef6\u540e\uff0c\u9996\u5148\u5c06\u5b83\u4fdd\u5b58\u5728\u81ea\u8eab\u7684\u7f13\u51b2\u961f\u5217\u4e2d\uff0c\u7136\u540e\uff0c\u6839\u636e\u90ae\u4ef6\u7684\u76ee\u6807\u5730\u5740\uff0c\u4fe1\u4ef6\u4f20\u8f93\u4ee3\u7406\u7a0b\u5e8f\u5c06\u627e\u5230\u5e94\u8be5\u5bf9\u8fd9\u4e2a\u76ee\u6807\u5730\u5740\u8d1f\u8d23\u7684\u90ae\u4ef6\u4f20\u8f93\u4ee3\u7406\u670d\u52a1\u5668\uff0c \u5e76\u4e14\u901a\u8fc7\u7f51\u7edc\u5c06\u90ae\u4ef6\u4f20\u9001\u7ed9\u5b83\u3002\u5bf9\u65b9\u7684\u670d\u52a1\u5668\u63a5\u6536\u5230\u90ae\u4ef6\u4e4b\u540e\uff0c\u5c06\u5176\u7f13\u51b2\u5b58\u50a8\u5728\u672c\u5730\uff0c\u76f4\u5230\u7535\u5b50\u90ae\u4ef6\u7684\u63a5\u6536\u8005\u67e5\u770b\u81ea\u5df1\u7684\u7535\u5b50\u4fe1\u7bb1\u3002<\/p>\n

MTA\uff08Mail Transfer Agent\uff09<\/strong><\/span><\/div>\n

\u90ae\u4ef6\u4f20\u8f93\u4ee3\u7406\u5de5\u5177\uff0c\u901a\u8fc7SMTP\u534f\u8bae\u6240\u6307\u5b9a\u7684\u670d\u52a1\u5668,\u5c31\u53ef\u4ee5\u628aE-mail\u5bc4\u5230\u6536\u4fe1\u4eba\u7684\u670d\u52a1\u5668\u4e0a\u4e86\uff0c\u6574\u4e2a\u8fc7\u7a0b\u53ea\u8981\u51e0\u5206\u949f\u3002SMTP\u670d\u52a1\u5668\u5219\u662f\u9075\u5faaSMTP\u534f\u8bae\u7684\u53d1\u9001\u90ae\u4ef6\u670d\u52a1\u5668\uff0c\u7528\u6765\u53d1\u9001\u6216\u4e2d\u8f6c\u53d1\u51fa\u7684\u7535\u5b50\u90ae\u4ef6\u3002\u5e38\u7528\u7684MTA\u6709\uff1a<\/p>\n

\r\nSendMail\uff1a\u90ae\u4ef6\u7684\u9f3b\u7956\u3002\r\n\r\nQmail\uff1a\u4e00\u4e2a\u6570\u5b66\u5bb6\u5f00\u53d1\uff0c\u4f5c\u4e3aLinux\u4e0b\u9762\u4e3b\u6d41\u7684\u90ae\u4ef6\u7cfb\u7edf\u5185\u6838\uff0c\u5927\u91cf\u8457\u540d\u7684\u5546\u4e1a\u90ae\u4ef6\u7cfb\u7edf\u90fd\u662f\u5728Qmail\u5185\u6838\u4e0b\u5f00\u53d1\uff0c\u6bd4\u5982Hotmail\u3002\r\n\r\nPostfix\uff1aIBM\u5b89\u5168\u4e13\u5bb6\u5f00\u53d1\uff0c\u6a21\u5757\u5316\u8bbe\u8ba1\uff0c\u5e76\u4e14\u6bd4sendmail\u517c\u5bb9\u6548\u7387\u66f4\u9ad8\u3002\r\n\r\nExim\uff1a\u662f\u57fa\u4e8eGPL\u534f\u8bae\u7684\u5f00\u653e\u6e90\u4ee3\u7801\u8f6f\u4ef6\uff0c\u7531\u82f1\u56fd\u5251\u6865\u5927\u5b66\u7684Philip Hazel\u5f00\u53d1\u3002\r\n\r\nExchange\uff1a\u5fae\u8f6f\u516c\u53f8\u7684\u4e00\u5957\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u7ec4\u4ef6\uff0c\u662f\u4e2a\u6d88\u606f\u4e0e\u534f\u4f5c\u7cfb\u7edf\u3002\r\n<\/pre>\n
MDA\uff08Mail Delivery Agent\uff09<\/strong><\/span><\/div>\n

\u90ae\u4ef6\u6295\u9012\u4ee3\u7406\uff0c\u6295\u9012\u4ee3\u7406\u5219\u4ece\u4fe1\u4ef6\u4f20\u8f93\u4ee3\u7406\u53d6\u5f97\u4fe1\u4ef6\u4f20\u9001\u81f3\u6700\u7ec8\u7528\u6237\u7684\u90ae\u7bb1\u3002\u5e38\u7528\u7684MDA\u6709\uff1a<\/p>\n

\r\nProcMail\uff1aPostfix\u9ed8\u8ba4\u7684\u90ae\u4ef6\u6295\u9012\u5de5\u5177\u3002\r\n\r\nMailDrop\uff1a\u76f8\u5bf9\u6bd4\u8f83\u4e13\u4e1a\u7684\u6295\u9012\u4ee3\u7406\u5de5\u5177\u3002\r\n<\/pre>\n
MRA(Mail Retrieval Agent)<\/strong><\/span><\/div>\n

\u90ae\u4ef6\u53d6\u56de\u4ee3\u7406\uff0c\u4f7f\u7528POP3\u6216IMAP4\u534f\u8bae\u5de5\u4f5c\u3002\u4e00\u822c\u7528\u4e8e\u4ece\u7528\u6237\u4fe1\u7bb1\u53d6\u56de\u90ae\u4ef6\u5230\u90ae\u4ef6\u7528\u6237\u4ee3\u7406\u5ba2\u6237\u7aef\u3002\u5e38\u7528\u7684MRA\u6709\uff1a<\/p>\n

\r\nDovecot\uff1a\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u652f\u6301IMAP\u548cPOP3\u534f\u8bae\u7684\u6536\u90ae\u4ef6\u670d\u52a1\u5668\uff08\u81ea\u5e26SASL\u529f\u80fd\uff09\u3002\r\n<\/pre>\n
MUA(Mail User Agent)<\/strong><\/span><\/div>\n

\u90ae\u4ef6\u7528\u6237\u4ee3\u7406\u5de5\u5177\u3002\u5e38\u7528\u7684MUA\u6709\uff1a<\/p>\n

\r\nOE\uff1aWindows\u65e7\u7248\u672c\u81ea\u5e26\u7684\u5de5\u5177\u3002\r\n\r\nOutlook\uff1aOffice\u5957\u4ef6\u5e26\u7684\u5de5\u5177\u3002\r\n\r\nFoxMail\uff1a\u817e\u8baf\u516c\u53f8\u7684\u90ae\u4ef6\u5ba2\u6237\u7aef\u5de5\u5177\u3002\r\n\r\nThunderbird\uff1a\u96f7\u9e1f\u662fLinux\u4e0b\u7684\u5ba2\u6237\u7aef\u5de5\u5177\u3002\r\n\r\nMutt\uff1aLinux\u4e0b\u7684\u5b57\u7b26\u754c\u9762\u5ba2\u6237\u7aef\u5de5\u5177\u3002\r\n<\/pre>\n
WebMail<\/strong><\/span><\/div>\n

\u57fa\u4e8eWeb\u7684\u7535\u5b50\u90ae\u4ef6\u6536\u53d1\u7cfb\u7edf\uff0c\u626e\u6f14\u90ae\u4ef6\u7528\u6237\u4ee3\u7406\u89d2\u8272\uff0c\u4e00\u822c\u800c\u8a00\uff0cWebMail\u7cfb\u7edf\u63d0\u4f9b\u90ae\u4ef6\u6536\u53d1\u3001\u7528\u6237\u5728\u7ebf\u670d\u52a1\u548c\u7cfb\u7edf\u670d\u52a1\u7ba1\u7406\u7b49\u529f\u80fd\u3002WebMail\u7684\u754c\u9762\u76f4\u89c2\u3001\u53cb\u597d\uff0c\u4e0d\u9700\u8981\u501f\u52a9\u5ba2\u6237\u7aef\uff0c\u514d\u9664\u4e86\u7528\u6237\u5bf9E-mail\u5ba2\u6237\u8f6f\u4ef6\uff08\u5982\uff1aFoxmail\u3001Outlook\u7b49\uff09\u8fdb\u884c\u914d\u7f6e\u65f6\u7684\u9ebb\u70e6\uff0c\u53ea\u8981\u80fd\u4e0a\u7f51\u5c31\u80fd\u4f7f\u7528WebMail\uff0c\u65b9\u4fbf\u7528\u6237\u5bf9\u90ae\u4ef6\u8fdb\u884c\u63a5\u6536\u548c\u53d1\u9001\u3002WebMail\u4f7f\u5f97E-mail\u5728Internet\u4e0a\u7684\u5e94\u7528\u5e7f\u6cdb\u3002\u5e38\u7528\u7684Webmail\u6709:<\/p>\n

\r\nOpenwebmail\uff1a\u53f0\u6e7e\u5f00\u53d1\u7684\u3002\r\n\r\nSquirrelmail\uff1aCentos\u7cfb\u7edf\u81ea\u5e26\u3002\r\n\r\nExtmail\uff0cExtman\uff1a\u56fd\u5185\u5f00\u53d1\u7684\u4e5f\u88ab\u79f0\u4e3aEMOS\u7cfb\u7edf\u3002\r\n<\/pre>\n
Mail Relay<\/strong><\/span><\/div>\n

\u90ae\u4ef6\u4e2d\u7ee7\uff0c\u5148\u8981\u660e\u767d\u4e00\u4e2a\u6982\u5ff5\uff0c\u4e00\u5c01\u90ae\u4ef6\u53ea\u8981\u4e0d\u662f\u53d1\u9001\u7ed9\u672c\u57df\u5185\u7528\u6237\u7684\uff0c\u6bd4\u5982\u4ece\u5f53\u524d\u57df\u53d1\u9001\u5230\u53e6\u4e00\u4e2a\u57df\uff0c\u6216\u4ece\u5f53\u524d\u57df\u53d1\u9001\u5230\u53e6\u4e00\u4e2a\u57df\u7136\u540e\u8f6c\u5230\u53e6\u5916\u4e00\u4e2a\u57df\u7684\uff0c\u8fd9\u5c31\u5c5e\u4e8e\u4e2d\u7ee7\u3002\u4f46\u662f\u4e00\u822c\u90ae\u4ef6\u670d\u52a1\u5668\u90fd\u4f1a\u5141\u8bb8\u672c\u5730\u6216\u672c\u57df\u5185\u7684\u7528\u6237\u8fdb\u884c\u4e2d\u7ee7\u3002\u4e0d\u7136\u5c31\u53ea\u80fd\u5728\u672c\u57df\u5185\u53d1\u9001\u90ae\u4ef6\u800c\u4e0d\u80fd\u7ed9\u5916\u90e8\u90ae\u7bb1\u53d1\u9001\u90ae\u4ef6\u3002Postfix\u9ed8\u8ba4\u53ea\u80fd\u57fa\u4e8eIP\u5730\u5740\u505a\u4e2d\u7ee7\u8ba4\u8bc1\u3002<\/p>\n

SASL\uff08simple authentication secure layer\uff09<\/strong><\/span><\/div>\n

\u7b80\u5355\u8ba4\u8bc1\u5b89\u5168\u5c42\uff0c\u662f\u4e00\u79cd\u7528\u6765\u6269\u5145C\/S\u6a21\u5f0f\u9a8c\u8bc1\u80fd\u529b\u7684\u673a\u5236\u3002\u5728Postfix\u53ef\u4ee5\u5229\u7528SASL\u6765\u5224\u65ad\u7528\u6237\u662f\u5426\u6709\u6743\u4f7f\u7528\u8f6c\u53d1\u670d\u52a1\uff0c\u6216\u662f\u8fa8\u8ba4\u8c01\u5728\u4f7f\u7528\u4f60\u7684\u670d\u52a1\u5668\u3002<\/p>\n

\u5e38\u7528\u7684Sasl\u6709<\/strong><\/span><\/div>\n
\r\ncyrus-sasl\uff1aRedhat\u7cfb\u5217\u81ea\u5e26\u7684SASL\u8ba4\u8bc1\u6846\u67b6\u3002\r\n\r\ndovecot-sasl\uff1adovecot\u7ec4\u4ef6\u5e26\u7684SASL\u8ba4\u8bc1\u6846\u67b6\u3002\r\n\r\ncourier-authlib\uff1a\u8fd9\u662f\u4e00\u4e2a\u5e26\u6709MTA\uff0cMDA\u4ee5\u53caSASL\u8ba4\u8bc1\u7684\u8f6f\u4ef6\uff0c\u4f46\u662f\u4e00\u822c\u53ea\u662f\u7528\u5b83\u7684SASL\u529f\u80fd\u3002\r\n<\/pre>\n
Postfix\u4ecb\u7ecd<\/strong><\/div>\n

Postfix\u662fWietse Venema\u5728IBM\u7684GPL\u534f\u8bae\u4e4b\u4e0b\u5f00\u53d1\u7684MTA\uff08\u90ae\u4ef6\u4f20\u8f93\u4ee3\u7406\uff09\u8f6f\u4ef6\u3002\u662f\u4e3a\u4e86\u6539\u826fsendmail\u90ae\u4ef6\u670d\u52a1\u5668\u800c\u4ea7\u751f\u7684\u3002\u5176\u7279\u70b9\uff1a<\/p>\n

\r\n1. postfix\u662f\u514d\u8d39\u7684:postfix\u60f3\u8981\u4f5c\u7528\u7684\u8303\u56f4\u662f\u5e7f\u5927\u7684Internet\u7528\u6237\uff0c\u8bd5\u56fe\u5f71\u54cd\u5927\u591a\u6570\u7684Internet\u4e0a\u7684\u7535\u5b50\u90ae\u4ef6\u7cfb\u7edf\uff0c\u56e0\u6b64\u5b83\u662f\u514d\u8d39\u7684\u3002\r\n\r\n2. \u66f4\u5feb:postfix\u5728\u6027\u80fd\u4e0a\u5927\u7ea6\u6bd4sendmail\u5feb\u4e09\u500d\u3002\u4e00\u90e8\u8fd0\u884cpostfix\u7684\u53f0\u5f0fPC\u6bcf\u5929\u53ef\u4ee5\u6536\u53d1\u4e0a\u767e\u4e07\u5c01\u90ae\u4ef6\u3002\r\n\r\n3. \u517c\u5bb9\u6027\u597d:postfix\u662fsendmail\u517c\u5bb9\u7684\uff0c\u4ece\u800c\u4f7fsendmail\u7528\u6237\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u8fc1\u79fb\u5230postfix\u3002Postfix\u652f\u6301\/var[\/spool]\/mail\u3001\/etc\/aliases\u3001 NIS\u3001\u548c ~\/.forward \u6587\u4ef6\u3002\r\n\r\n4. \u66f4\u5065\u58ee:postfix\u88ab\u8bbe\u8ba1\u6210\u5728\u91cd\u8d1f\u8377\u4e4b\u4e0b\u4ecd\u7136\u53ef\u4ee5\u6b63\u5e38\u5de5\u4f5c\u3002\u5f53\u7cfb\u7edf\u8fd0\u884c\u8d85\u51fa\u4e86\u53ef\u7528\u7684\u5185\u5b58\u6216\u78c1\u76d8\u7a7a\u95f4\u65f6\uff0cpostfix\u4f1a\u81ea\u52a8\u51cf\u5c11\u8fd0\u884c\u8fdb\u7a0b\u7684\u6570\u76ee\u3002\u5f53\u5904\u7406\u7684\u90ae\u4ef6\u6570\u76ee\u589e\u957f\u65f6\uff0cpostfix\u8fd0\u884c\u7684\u8fdb\u7a0b\u4e0d\u4f1a\u8ddf\u7740\u589e\u52a0\u3002\r\n\r\n5. \u66f4\u7075\u6d3b:postfix\u662f\u7531\u8d85\u8fc7\u4e00\u6253\u7684\u5c0f\u7a0b\u5e8f\u7ec4\u6210\u7684\uff0c\u6bcf\u4e2a\u7a0b\u5e8f\u5b8c\u6210\u7279\u5b9a\u7684\u529f\u80fd\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e\u6587\u4ef6\u8bbe\u7f6e\u6bcf\u4e2a\u7a0b\u5e8f\u7684\u8fd0\u884c\u53c2\u6570\u3002\r\n\r\n6. \u5b89\u5168\u6027:postfix\u5177\u6709\u591a\u5c42\u9632\u5fa1\u7ed3\u6784\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u62b5\u5fa1\u6076\u610f\u5165\u4fb5\u8005\u3002\u5982\u5927\u591a\u6570\u7684postfix\u7a0b\u5e8f\u53ef\u4ee5\u8fd0\u884c\u5728\u8f83\u4f4e\u7684\u6743\u9650\u4e4b\u4e0b\uff0c\u4e0d\u53ef\u4ee5\u901a\u8fc7\u7f51\u7edc\u8bbf\u95ee\u5b89\u5168\u6027\u76f8\u5173\u7684\u672c\u5730\u6295\u9012\u7a0b\u5e8f\u7b49\u7b49\u3002\r\n<\/pre>\n
Postfix\u670d\u52a1\u5668\u5de5\u4f5c\u539f\u7406<\/strong><\/span><\/div>\n

\"\"<\/p>\n

\u90ae\u4ef6\u670d\u52a1\u5668\u5de5\u4f5c\u5728\u4e24\u79cd\u60c5\u51b5\u4e0b\uff1a\u4e00\u79cd\u662f\u76f8\u540c\u57df\u5185\u8f6c\u53d1\uff1b\u4e8c\u662f\u4e0d\u540c\u57df\u5185\u8f6c\u53d1\u3002\u6240\u4ee5MTA\uff08postfix\uff09\u5185\u90e8\u4e00\u822c\u90fd\u4f1a\u6709\u670d\u52a1\u7aef\uff08smtpd\uff09\u3001\u5ba2\u6237\u7aef\uff08smtp\uff09\u548cMDA\u3002smtpd\u90ae\u4ef6\u670d\u52a1\u5668\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u8d1f\u8d23\u8f6c\u53d1\u90ae\u4ef6\u522b\u7684\u4ec0\u4e48\u529f\u80fd\u4e5f\u6ca1\u6709\u5e76\u4e14\u53d1\u9001\u65b9\u4e0d\u7ba1\u662f\u4ec0\u4e48\u5730\u5740\u90fd\u53ef\u4ee5\u4ecesmtpd\u670d\u52a1\u5668\u8f6c\u53d1\u5230\u76ee\u6807\u5730\u5740\u3002<\/p>\n

\u90ae\u4ef6\u670d\u52a1\u5668\u4e24\u79cd\u5de5\u4f5c\u673a\u5236<\/strong><\/span><\/div>\n

\u76f8\u540c\u57df\u5185\u8f6c\u53d1:\u7528\u6237A\u901a\u8fc7\u5de5\u5177\u8fde\u63a5\u5230SMTPD\u670d\u52a1\u7aef\uff0c\u7136\u540e\u53d1\u9001\u4e00\u4efd\u90ae\u4ef6\uff0c\u800c\u76ee\u6807\u6536\u4ef6\u4eba\u662fB\u7528\u6237\u3002\u5f53SMPTD\u6536\u5230\u90ae\u4ef6\u540e\u5224\u65ad\u53d1\u73b0\u662f\u540c\u57df\u5185\u7684\u7528\u6237\uff0c\u5c31\u4f1a\u76f4\u63a5\u542f\u52a8MDA\u8fdb\u7a0b\u628a\u90ae\u4ef6\u6295\u8fdb\u7528\u6237\u90ae\u7bb1\u4e2d\uff0c\u5f53\u7528\u6237\u901a\u8fc7MUA\u5de5\u5177\uff08\u5982mail\u547d\u4ee4\uff09\u5c31\u53ef\u4ee5\u76f4\u63a5\u6536\u5230\u90ae\u4ef6\u3002<\/p>\n

\u4e0d\u540c\u57df\u5185\u8f6c\u53d1:\u7528\u6237A\u901a\u8fc7\u5de5\u5177\u8fde\u63a5\u5230SMTPD\u670d\u52a1\u7aef\uff0c\u7136\u540e\u53d1\u9001\u4e00\u4efd\u90ae\u4ef6\uff0c\u800c\u76ee\u6807\u6536\u4ef6\u4eba\u662fC\u7528\u6237\u3002\u5f53SMPTD\u6536\u5230\u90ae\u4ef6\u540e\u5224\u65ad\u53d1\u73b0\u662f\u4e0d\u540c\u57df\u5185\u7528\u6237\uff0c\u5c31\u4f1a\u542f\u52a8SMTP\u5ba2\u6237\u7aef\u6765\u8f6c\u53d1\u6b64\u90ae\u4ef6\u3002SMTP\u6536\u5230\u8bf7\u6c42\u540e\u5c31\u4f1a\u89e3\u6790\u5bf9\u65b9MX\u8bb0\u5f55\uff0c\u7136\u540e\u8fde\u63a5\u5bf9\u65b9SMTPD\u670d\u52a1\u5668\u5e76\u628a\u90ae\u4ef6\u53d1\u9001\u8fc7\u53bb\u3002\u5f53\u5bf9\u65b9SMTPD\u53d1\u73b0\u6b64\u90ae\u4ef6\u5c31\u662f\u672c\u57df\u5185\u7684\u90ae\u4ef6\u540e\u4e5f\u4f1a\u8c03\u7528MDA\u8fdb\u7a0b\u628a\u90ae\u4ef6\u6295\u9012\u8fdb\u7528\u6237\u90ae\u7bb1\u4e2d\uff0c\u5f53\u7528\u6237\u901a\u8fc7MUA\u5de5\u5177\uff08\u5982mail\u547d\u4ee4\uff09\u5c31\u53ef\u4ee5\u76f4\u63a5\u6536\u5230\u90ae\u4ef6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

SMTP\uff08Simple Mail Transfer Protocol\uff09\u5373\u7b80\u5355\u90ae\u4ef6\u4f20\u8f93\u534f\u8bae\uff0c \u5de5\u4f5c\u5728TCP\u768425 […]<\/p>\n","protected":false},"author":668,"featured_media":131145,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-131125","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/131125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/668"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=131125"}],"version-history":[{"count":5,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/131125\/revisions"}],"predecessor-version":[{"id":132906,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/131125\/revisions\/132906"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/131145"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=131125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=131125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=131125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}