{"id":63,"date":"2024-04-11T21:30:22","date_gmt":"2024-04-11T13:30:22","guid":{"rendered":"\/blog\/?p=63"},"modified":"2024-05-22T12:40:37","modified_gmt":"2024-05-22T04:40:37","slug":"imap%e5%8d%8f%e8%ae%ae%e4%bb%8b%e7%bb%8d%e5%8f%8a%e5%b8%b8%e8%a7%81%e6%8c%87%e4%bb%a4%e6%bc%94%e7%a4%ba","status":"publish","type":"post","link":"https:\/\/www.mailabc.cn\/blog\/2024\/04\/11\/imap%e5%8d%8f%e8%ae%ae%e4%bb%8b%e7%bb%8d%e5%8f%8a%e5%b8%b8%e8%a7%81%e6%8c%87%e4%bb%a4%e6%bc%94%e7%a4%ba\/","title":{"rendered":"IMAP\u534f\u8bae\u4ecb\u7ecd\u53ca\u5e38\u89c1\u6307\u4ee4\u6f14\u793a"},"content":{"rendered":"<section>\n<section>\n<section>\n<h2><strong>\u4ec0\u4e48\u662fIMAP\u534f\u8bae<\/strong><\/h2>\n<\/section>\n<section>\n<section><\/section>\n<\/section>\n<section><\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>IMAP\u534f\u8bae\uff08Internet Message Access Protocol\uff09\u662f\u4e00\u79cd\u7528\u4e8e\u7535\u5b50\u90ae\u4ef6\u68c0\u7d22\u548c\u7ba1\u7406\u7684\u6807\u51c6\u5e94\u7528\u5c42\u534f\u8bae\uff0c\u5141\u8bb8\u7528\u6237\u5728\u5176\u672c\u5730\u7535\u5b50\u90ae\u4ef6\u5ba2\u6237\u7aef\u7a0b\u5e8f\u4e0e\u8fdc\u7a0b\u90ae\u4ef6\u670d\u52a1\u5668\u4e4b\u95f4\u8fdb\u884c<strong>\u4ea4\u4e92\u5f0f<\/strong>\u7684\u90ae\u4ef6\u8bbf\u95ee\u3002IMAP\u534f\u8bae\u8d77\u6e90\u4e8e1986\u5e74\uff0c\u5728\u540e\u7eed\u7684\u53d1\u5c55\u4e2d\u7ecf\u5386\u4e86\u591a\u6b21\u4fee\u8ba2\uff0c\u76ee\u524d\u666e\u904d\u4f7f\u7528\u7684\u662fIMAP4rev1\uff08RFC 3501\uff09\u3002<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<h2><strong>IMAP\u6838\u5fc3\u529f\u80fd\u7279\u6027<\/strong><\/h2>\n<\/section>\n<section>\n<section><\/section>\n<\/section>\n<section><\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\u76f8\u6bd4POP3\u534f\u8bae\uff0cIMAP\u534f\u8bae\u8981\u590d\u6742\u5f88\u591a\uff0c\u7b80\u5355\u4ecb\u7ecd\u5176\u529f\u80fd\u7279\u6027\u5982\u4e0b\u3002<\/section>\n<h3><strong>\u90ae\u4ef6\u5b58\u50a8\u4e0e\u540c\u6b65\uff1a<\/strong><\/h3>\n<section>IMAP\u534f\u8bae\u5141\u8bb8\u90ae\u4ef6\u4fdd\u7559\u5728\u670d\u52a1\u5668\u4e0a\uff0c\u800c\u4e0d\u662f\u50cfPOP3\u90a3\u6837\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u5c06\u90ae\u4ef6\u4e0b\u8f7d\u5230\u672c\u5730\u540e\u53ef\u80fd\u4ece\u670d\u52a1\u5668\u79fb\u9664\u3002\u8fd9\u6837\u7528\u6237\u53ef\u4ee5\u4ece\u4efb\u4f55\u5730\u65b9\u901a\u8fc7\u7f51\u7edc\u8fde\u63a5\u8bbf\u95ee\u5176\u5b8c\u6574\u7684\u90ae\u4ef6\u5b58\u50a8\u5e93\uff0c\u5b9e\u73b0\u591a\u8bbe\u5907\u95f4\u7684\u90ae\u4ef6\u540c\u6b65\u3002<\/section>\n<h3><strong>\u5728\u7ebf\u8bbf\u95ee\uff1a<\/strong><\/h3>\n<section>\u7528\u6237\u53ef\u4ee5\u76f4\u63a5\u5728\u90ae\u4ef6\u670d\u52a1\u5668\u4e0a\u6d4f\u89c8\u3001\u641c\u7d22\u3001\u9605\u8bfb\u3001\u79fb\u52a8\u3001\u5220\u9664\u90ae\u4ef6\uff0c\u6240\u6709\u7684\u64cd\u4f5c\u90fd\u4f1a\u5b9e\u65f6\u53cd\u6620\u5728\u670d\u52a1\u5668\u7aef\uff0c\u4f7f\u5f97\u5176\u4ed6\u5df2\u8fde\u63a5\u7684\u5ba2\u6237\u7aef\u4e5f\u80fd\u7acb\u523b\u770b\u5230\u66f4\u65b0\u7684\u7ed3\u679c\u3002<\/section>\n<h3><strong>\u591a\u6587\u4ef6\u5939\u652f\u6301\uff1a<\/strong><\/h3>\n<section>IMAP\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6587\u4ef6\u5939\u7ba1\u7406\u529f\u80fd\uff0c\u5141\u8bb8\u7528\u6237\u5728\u670d\u52a1\u5668\u4e0a\u521b\u5efa\u3001\u5220\u9664\u3001\u91cd\u547d\u540d\u6587\u4ef6\u5939\uff0c\u5e76\u5c06\u90ae\u4ef6\u79fb\u52a8\u81f3\u4e0d\u540c\u7684\u6587\u4ef6\u5939\u5185\uff0c\u4fbf\u4e8e\u90ae\u4ef6\u5206\u7c7b\u548c\u5f52\u6863\u3002<\/section>\n<h3><strong>\u90e8\u5206\u4e0b\u8f7d\u4e0e\u7f13\u5b58\u673a\u5236\uff1a<\/strong><\/h3>\n<section>\u652f\u6301\u4ec5\u4e0b\u8f7d\u90ae\u4ef6\u7684\u90e8\u5206\u5185\u5bb9\uff0c\u6bd4\u5982\u90ae\u4ef6\u5934\u4fe1\u606f\uff0c\u7528\u6237\u53ef\u4ee5\u9009\u62e9\u6027\u5730\u4e0b\u8f7d\u90ae\u4ef6\u6b63\u6587\u548c\u9644\u4ef6\uff0c\u5927\u5927\u51cf\u5c11\u4e86\u7f51\u7edc\u6d41\u91cf\u6d88\u8017\uff0c\u5c24\u5176\u9002\u7528\u4e8e\u4f4e\u5e26\u5bbd\u73af\u5883\u6216\u5b58\u50a8\u7a7a\u95f4\u6709\u9650\u7684\u8bbe\u5907\u3002<\/section>\n<h3><strong>\u72b6\u6001\u4fdd\u7559\uff1a<\/strong><\/h3>\n<section>IMAP\u80fd\u8bb0\u4f4f\u6bcf\u4e2a\u90ae\u4ef6\u7684\u8bfb\u53d6\u72b6\u6001\uff08\u5df2\u8bfb\u6216\u672a\u8bfb\uff09\u3001\u6807\u5fd7\uff08\u5982\u661f\u6807\u6216\u6807\u7b7e\uff09\u4ee5\u53ca\u5176\u4ed6\u5143\u6570\u636e\uff0c\u786e\u4fdd\u65e0\u8bba\u4f55\u65f6\u4f55\u5730\u767b\u5f55\uff0c\u7528\u6237\u7684\u90ae\u4ef6\u72b6\u6001\u90fd\u80fd\u4fdd\u6301\u4e00\u81f4\u3002<\/section>\n<h3><strong>\u5e76\u53d1\u8bbf\u95ee\u80fd\u529b\uff1a<\/strong><\/h3>\n<section>\u540c\u4e00\u8d26\u6237\u5141\u8bb8\u591a\u4e2a\u5ba2\u6237\u7aef\u540c\u65f6\u8fde\u63a5\u5e76\u8fdb\u884c\u64cd\u4f5c\uff0c\u5404\u5ba2\u6237\u7aef\u7684\u64cd\u4f5c\u4e92\u4e0d\u5f71\u54cd\u3002<\/section>\n<h3><strong>\u5b89\u5168\u4f20\u8f93\uff1a<\/strong><\/h3>\n<section>\u4e3a\u4e86\u4fdd\u8bc1\u901a\u4fe1\u5b89\u5168\uff0c\u73b0\u4ee3IMAP\u901a\u5e38\u91c7\u7528TLS\/SSL\u52a0\u5bc6\u6280\u672f\uff0c\u5373IMAPS\uff0c\u901a\u8fc7\u7aef\u53e3993\u63d0\u4f9b\u5b89\u5168\u8fde\u63a5\u670d\u52a1\u3002<\/section>\n<h3><strong>\u6269\u5c55\u6027\uff1a<\/strong><\/h3>\n<section>IMAP\u534f\u8bae\u5177\u6709\u826f\u597d\u7684\u6269\u5c55\u6027\uff0c\u53ef\u901a\u8fc7\u6269\u5c55\u547d\u4ee4\u652f\u6301\u66f4\u591a\u529f\u80fd\uff0c\u4f8b\u5982\u641c\u7d22\u8bed\u6cd5\u7684\u589e\u5f3a\uff08\u5982RFC 3501\u548cRFC 6203\uff09\u3001\u8eab\u4efd\u9a8c\u8bc1\u673a\u5236\uff08\u5982CRAM-MD5, DIGEST-MD5, LOGIN\u7b49\uff09\u4ee5\u53ca\u56fd\u9645\u5316\u5b57\u7b26\u96c6\u652f\u6301\u7b49\u3002<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<h2><strong>\u4e0eSMTP\u534f\u8bae\u7684\u914d\u5408<\/strong><\/h2>\n<\/section>\n<section>\n<section><\/section>\n<\/section>\n<section><\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\u4e0ePOP3\u534f\u8bae\u7c7b\u4f3c\uff0cIMAP\u534f\u8bae\u901a\u5e38\u4e0eSMTP\uff08Simple Mail Transfer Protocol\uff09\u914d\u5408\u4f7f\u7528\uff0cSMTP\u8d1f\u8d23\u90ae\u4ef6\u7684\u53d1\u9001\uff0c\u800cIMAP\u5219\u5904\u7406\u90ae\u4ef6\u63a5\u6536\u3002\u7528\u6237\u5728\u5ba2\u6237\u7aef\u64b0\u5199\u90ae\u4ef6\u5e76\u901a\u8fc7SMTP\u53d1\u9001\u51fa\u53bb\uff0c\u4e4b\u540e\u901a\u8fc7IMAP\u63a5\u6536\u5e76\u5728\u7ebf\u5904\u7406\u3002<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<h2><strong>IMAP\u534f\u8bae\u5de5\u4f5c\u65b9\u5f0f<\/strong><\/h2>\n<\/section>\n<section>\n<section><\/section>\n<\/section>\n<section><\/section>\n<\/section>\n<\/section>\n<section>\n<section><a href=\"\/blog\/wp-content\/uploads\/2024\/04\/202404111329026.webp\" rel=\"nofollow\" ><img class=\"aligncenter size-full wp-image-64\" data-original=\"\/blog\/wp-content\/uploads\/2024\/04\/202404111329026.webp\"  alt=\"\" \/><\/a><\/section>\n<noscript><img loading=\"lazy\" decoding=\"async\" width=\"795\" height=\"531\" class=\"aligncenter size-full wp-image-64\" src=\"\/blog\/wp-content\/uploads\/2024\/04\/202404111329026.webp\" alt=\"\" \/><\/a><\/section><\/noscript>\n<\/section>\n<section>\n<p style=\"text-align: center;\">Foxmail\u5ba2\u6237\u7aefIMAP\u76f8\u5173\u914d\u7f6e<\/p>\n<\/section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\u5ba2\u6237\u7aef\u5e94\u7528\u7a0b\u5e8f\u901a\u8fc7TCP\/IP\u534f\u8bae\u8fde\u63a5\u5230\u90ae\u4ef6\u670d\u52a1\u5668\uff0c\u901a\u5e38\u5728\u9ed8\u8ba4\u7684TCP\u7aef\u53e3\u53f7143\u4e0a\uff08\u5bf9\u4e8e\u975e\u52a0\u5bc6\u8fde\u63a5\uff09\u6216993\u4e0a\uff08\u5bf9\u4e8eSSL\/TLS\u52a0\u5bc6\u8fde\u63a5\uff09\u3002\u8fde\u63a5\u5efa\u7acb\u540e\uff0c\u5ba2\u6237\u7aef\u901a\u8fc7\u4e00\u7cfb\u5217\u547d\u4ee4\u548c\u54cd\u5e94\u4e0e\u670d\u52a1\u5668\u4ea4\u4e92\uff0c\u6267\u884c\u767b\u5f55\u9a8c\u8bc1\u3001\u5217\u51fa\u90ae\u4ef6\u3001\u4e0b\u8f7d\u90ae\u4ef6\u5185\u5bb9\u3001\u79fb\u52a8\u90ae\u4ef6\u3001\u6807\u8bb0\u90ae\u4ef6\u3001\u5220\u9664\u90ae\u4ef6\u7b49\u64cd\u4f5c\u3002\u5f53\u7528\u6237\u901a\u8fc7IMAP\u534f\u8bae\u8bbf\u95ee\u90ae\u4ef6\u65f6\uff0c\u901a\u5e38\u7ecf\u5386\u4ee5\u4e0b\u6b65\u9aa4\uff1a<\/section>\n<section>\u2705\u00a0<strong>\u8fde\u63a5\uff1a<\/strong><\/section>\n<section>\u5ba2\u6237\u7aef\u4e0e\u670d\u52a1\u5668\u5efa\u7acbTCP\u8fde\u63a5\uff0c\u5e76\u53ef\u80fd\u901a\u8fc7STARTTLS\u5347\u7ea7\u5230\u52a0\u5bc6\u8fde\u63a5\u3002<\/section>\n<section>\u2705\u00a0<strong>\u8ba4\u8bc1\uff1a<\/strong><\/section>\n<section>\u5ba2\u6237\u7aef\u5411\u670d\u52a1\u5668\u63d0\u4ea4\u7528\u6237\u540d\u548c\u5bc6\u7801\u8fdb\u884c\u8ba4\u8bc1\u3002<\/section>\n<section>\u2705 <strong>\u9009\u62e9\u90ae\u4ef6\u7bb1\uff1a<\/strong><\/section>\n<section>\u5ba2\u6237\u7aef\u6307\u5b9a\u8981\u8bbf\u95ee\u7684\u90ae\u4ef6\u7bb1\uff08\u5982\u6536\u4ef6\u7bb1\u6216\u81ea\u5b9a\u4e49\u6587\u4ef6\u5939\uff09\u3002<\/section>\n<section>\u2705 <strong>\u547d\u4ee4\u4ea4\u4e92\uff1a<\/strong><\/section>\n<section>\u5ba2\u6237\u7aef\u53d1\u51fa\u4e00\u7cfb\u5217\u547d\u4ee4\u6765\u6267\u884c\u5404\u79cd\u64cd\u4f5c\uff0c\u5982\u83b7\u53d6\u90ae\u4ef6\u5217\u8868\u3001\u68c0\u7d22\u90ae\u4ef6\u8be6\u60c5\u3001\u66f4\u65b0\u90ae\u4ef6\u72b6\u6001\u7b49\u3002<\/section>\n<section>\u2705 <strong>\u65ad\u5f00\u8fde\u63a5\uff1a<\/strong><\/section>\n<section>\u5b8c\u6210\u64cd\u4f5c\u540e\uff0c\u5ba2\u6237\u7aef\u53ef\u9009\u62e9\u65ad\u5f00\u8fde\u63a5\uff0c\u4f46\u90ae\u4ef6\u4ecd\u4fdd\u7559\u5728\u670d\u52a1\u5668\u4e0a\u3002<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<h2><strong>IMAP\u534f\u8bae\u5e38\u89c1\u6307\u4ee4<\/strong><\/h2>\n<\/section>\n<section>\n<section><\/section>\n<\/section>\n<section><\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<section>\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>IMAP\u534f\u8bae\u5305\u542b\u4e86\u4e00\u7cfb\u5217\u6307\u4ee4\uff08\u6e29\u99a8\u63d0\u793a\uff1a\u6307\u4ee4\u592a\u591a\uff0c\u5efa\u8bae\u4ec5\u4f5c\u4e86\u89e3\uff09\uff0c\u7528\u4e8e\u5ba2\u6237\u7aef\u4e0e\u90ae\u4ef6\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u4ea4\u4e92\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9bIMAP\u534f\u8bae\u4e2d\u7684\u57fa\u672c\u548c\u5e38\u89c1\u7684\u6307\u4ee4\uff0c\u4ee5\u53ca\u5b83\u4eec\u7684\u4f5c\u7528\uff1a<\/section>\n<h3><strong>CAPABILITY:<\/strong><\/h3>\n<section><em>\u5ba2\u6237\u7aef\u8bf7\u6c42\u670d\u52a1\u5668\u652f\u6301\u7684IMAP\u547d\u4ee4\u53ca\u6269\u5c55\u5217\u8868\u3002<\/em><\/section>\n<h3><strong>LOGIN \u6216 AUTHENTICATE:<\/strong><\/h3>\n<section><em>\u7528\u4e8e\u7528\u6237\u8ba4\u8bc1\uff0c\u5411\u670d\u52a1\u5668\u63d0\u4f9b\u7528\u6237\u540d\u548c\u5bc6\u7801\u4ee5\u767b\u5f55\u8d26\u6237\u3002<\/em><\/section>\n<h3><strong>SELECT \u6216 EXAMINE:<\/strong><\/h3>\n<section><em>\u9009\u62e9\u6216\u6253\u5f00\u4e00\u4e2a\u90ae\u4ef6\u7bb1\uff08\u4e5f\u79f0\u4e3a\u90ae\u7bb1\u6216\u6587\u4ef6\u5939\uff09\u3002SELECT\u547d\u4ee4\u4f1a\u4f7f\u90ae\u4ef6\u7bb1\u72b6\u6001\u53d1\u751f\u6539\u53d8\uff08\u4f8b\u5982\uff0c\u6807\u8bb0\u90ae\u4ef6\u4e3a\u5df2\u8bfb\uff09\uff0c\u800cEXAMINE\u5219\u4e3a\u53ea\u8bfb\u65b9\u5f0f\u6253\u5f00\u3002<\/em><\/section>\n<h3><strong>CREATE:<\/strong><\/h3>\n<section><em>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u90ae\u4ef6\u7bb1\u3002<\/em><\/section>\n<h3><strong>DELETE:<\/strong><\/h3>\n<section><em>\u5220\u9664\u4e00\u4e2a\u90ae\u4ef6\u7bb1\u3002<\/em><\/section>\n<h3><strong>RENAME:<\/strong><\/h3>\n<section><em>\u91cd\u547d\u540d\u73b0\u6709\u7684\u90ae\u4ef6\u7bb1\u3002<\/em><\/section>\n<h3><strong>SUBSCRIBE \u548c UNSUBSCRIBE:<\/strong><\/h3>\n<section><em>\u5206\u522b\u8ba2\u9605\u6216\u53d6\u6d88\u8ba2\u9605\u4e00\u4e2a\u90ae\u4ef6\u7bb1\uff0c\u5f71\u54cd\u54ea\u4e9b\u90ae\u4ef6\u7bb1\u4f1a\u88ab\u89c6\u4e3a\u201c\u5df2\u8ba2\u9605\u201d\u7684\u5217\u8868\u3002<\/em><\/section>\n<h3><strong>LIST:<\/strong><\/h3>\n<section><em>\u5217\u51fa\u670d\u52a1\u5668\u4e0a\u7684\u90ae\u4ef6\u7bb1\u4fe1\u606f\u3002<\/em><\/section>\n<h3><strong>STATUS:<\/strong><\/h3>\n<section><em>\u83b7\u53d6\u90ae\u4ef6\u7bb1\u7684\u72b6\u6001\u4fe1\u606f\uff0c\u4f8b\u5982\u90ae\u4ef6\u6570\u91cf\u3001\u672a\u8bfb\u90ae\u4ef6\u6570\u7b49\u3002<\/em><\/section>\n<h3><strong>APPEND:<\/strong><\/h3>\n<section><em>\u5c06\u65b0\u90ae\u4ef6\u6dfb\u52a0\u5230\u6307\u5b9a\u90ae\u4ef6\u7bb1\u3002<\/em><\/section>\n<h3><strong>FETCH:<\/strong><\/h3>\n<section><em>\u8bf7\u6c42\u90ae\u4ef6\u7684\u5177\u4f53\u5c5e\u6027\u6216\u5185\u5bb9\u3002\u8fd9\u662f\u4e00\u4e2a\u590d\u6742\u7684\u547d\u4ee4\uff0c\u53ef\u4ee5\u7528\u6765\u83b7\u53d6\u90ae\u4ef6\u7684\u5404\u79cd\u4fe1\u606f\u7247\u6bb5\uff0c\u5982\u90ae\u4ef6\u5934\u3001\u7279\u5b9a\u90e8\u5206\u7684\u6b63\u6587\u3001\u9644\u4ef6\u4fe1\u606f\u7b49\u3002<\/em><\/section>\n<h3><strong>STORE:<\/strong><\/h3>\n<section><em>\u4fee\u6539\u90ae\u4ef6\u7684\u67d0\u4e9b\u5c5e\u6027\uff0c\u4f8b\u5982\u8bbe\u7f6e\u90ae\u4ef6\u4e3a\u5df2\u8bfb\u3001\u5220\u9664\u90ae\u4ef6\u3001\u6dfb\u52a0\u6216\u4fee\u6539\u6807\u7b7e\u7b49\u3002<\/em><\/section>\n<h3><strong>SEARCH:<\/strong><\/h3>\n<section><em>\u6839\u636e\u6307\u5b9a\u6761\u4ef6\u641c\u7d22\u90ae\u4ef6\u7bb1\u4e2d\u7684\u90ae\u4ef6\u3002<\/em><\/section>\n<h3><strong>COPY:<\/strong><\/h3>\n<section><em>\u5c06\u90ae\u4ef6\u590d\u5236\u5230\u53e6\u4e00\u4e2a\u90ae\u4ef6\u7bb1\u3002<\/em><\/section>\n<h3><strong>CHECK:<\/strong><\/h3>\n<section><em>\u5f3a\u5236\u670d\u52a1\u5668\u7acb\u5373\u68c0\u67e5\u5e76\u8fd4\u56de\u4efb\u4f55\u672a\u62a5\u544a\u7684\u90ae\u4ef6\u72b6\u6001\u53d8\u5316\u3002<\/em><\/section>\n<h3><strong>EXPUNGE:<\/strong><\/h3>\n<section><em>\u5220\u9664\u5df2\u7ecf\u6807\u8bb0\u4e3a\u5220\u9664\u7684\u90ae\u4ef6\u3002<\/em><\/section>\n<h3><strong>NOOP:<\/strong><\/h3>\n<section><em>\u7a7a\u64cd\u4f5c\u547d\u4ee4\uff0c\u7528\u4e8e\u4fdd\u6301\u8fde\u63a5\u6d3b\u8dc3\u6216\u6d4b\u8bd5\u670d\u52a1\u5668\u54cd\u5e94\u3002<\/em><\/section>\n<h3><strong>LOGOUT:<\/strong><\/h3>\n<section><em>\u7ed3\u675f\u5f53\u524d\u7684IMAP\u4f1a\u8bdd\uff0c\u6ce8\u9500\u7528\u6237\u5e76\u5173\u95ed\u8fde\u63a5\u3002<\/em>\u4ee5\u4e0a\u53ea\u662fIMAP\u534f\u8bae\u4e2d\u4e00\u90e8\u5206\u5e38\u7528\u7684\u547d\u4ee4\uff0c\u6839\u636e\u5177\u4f53\u9700\u6c42\u548c\u670d\u52a1\u5668\u652f\u6301\u7684\u529f\u80fd\uff0c\u8fd8\u6709\u5176\u4ed6\u66f4\u590d\u6742\u7684\u6269\u5c55\u547d\u4ee4\u3002\u5728\u5b9e\u9645\u4f7f\u7528\u4e2d\uff0c\u5ba2\u6237\u7aef\u5e94\u7528\u7a0b\u5e8f\u4f1a\u6839\u636e\u8fd9\u4e9b\u547d\u4ee4\u6784\u5efa\u4e0e\u90ae\u4ef6\u670d\u52a1\u5668\u7684\u4ea4\u4e92\u903b\u8f91\uff0c\u4ee5\u5b9e\u73b0\u90ae\u4ef6\u7684\u8bfb\u53d6\u3001\u7ba1\u7406\u7b49\u529f\u80fd\u3002<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<h2><strong>\u6307\u4ee4\u6f14\u793a<\/strong><\/h2>\n<\/section>\n<section>\n<section><\/section>\n<\/section>\n<section><\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">[root@VM-4-12-centos ~]# telnet 0 143\r\nTrying 0.0.0.0...\r\nConnected to 0.\r\nEscape character is '^]'.\r\n* OK Coremail System IMap Server Ready\r\n# \u901a\u8fc7LOGIN\u547d\u4ee4\u767b\u5f55\u3002a01\u8868\u793a\u547d\u4ee4\u7f16\u53f7\uff0c\u6bcf\u4e2a\u547d\u4ee4\u7f16\u53f7\u4e0d\u8981\u91cd\u590d\uff1b\u540e\u9762\u8ddf\u7740\u7684\u662f\u8d26\u53f7\u548c\u5bc6\u7801\u3002\u5982\u679c\u60f3\u505a\u76f8\u5173\u6d4b\u8bd5\uff0c\u53ea\u9700\u8981\u590d\u5236\u76f8\u5173\u547d\u4ee4\u3002\r\na01 LOGIN t1@mailabc.cn yiWFnAPfFweU9vPT\r\na01 OK LOGIN completed\r\n# \u5217\u51fa\u53ef\u7528\u547d\u4ee4\r\na02 CAPABILITY\r\n* CAPABILITY IMAP4rev1 XLIST SPECIAL-USE ID LITERAL+ STARTTLS APPENDLIMIT=20971520 UIDPLUS\r\na02 OK CAPABILITY completed\r\n\r\n# \u5217\u51fa\u6587\u4ef6\u5939\u5217\u8868\uff0c\u76f8\u5173\u53c2\u6570\u53ef\u4ee5\u67e5\u9605\u5176\u4ed6\u8d44\u6599\r\na03 LIST \"\" \"*\"\r\n* LIST () \"\/\" \"INBOX\"\r\n* LIST (\\Drafts) \"\/\" \"Drafts\"\r\n* LIST (\\Sent) \"\/\" \"Sent Items\"\r\n* LIST (\\Trash) \"\/\" \"Trash\"\r\n* LIST (\\Junk) \"\/\" \"Junk E-mail\"\r\n* LIST () \"\/\" \"Virus Items\"\r\na03 OK LIST Completed\r\n\r\n# \u9009\u62e9\u4e00\u4e2a\u90ae\u4ef6\u7bb1\uff08\u6587\u4ef6\u5939\uff09\uff0c\u53c2\u6570\u5bf9\u5e94LIST\u547d\u4ee4\u8f93\u51fa\u7684\u6587\u4ef6\u5939\u4fe1\u606f\r\na04 SELECT \"INBOX\"\r\n* 7 EXISTS\r\n* 0 RECENT\r\n* OK [UIDVALIDITY 1] UIDs valid\r\n* FLAGS (\\Answered \\Seen \\Deleted \\Draft \\Flagged)\r\n* OK [PERMANENTFLAGS (\\Answered \\Seen \\Deleted \\Draft \\Flagged)] Limited\r\na04 OK [READ-WRITE] SELECT completed\r\n\r\n# \u901a\u8fc7FETCH\u547d\u4ee4\u83b7\u53d6\u7f16\u53f71-2\u7684UID\u4fe1\u606f\uff0c\u540e\u7eed\u5bf9\u90ae\u4ef6\u7684\u64cd\u4f5c\u57fa\u672c\u4e0a\u90fd\u662f\u6839\u636eUID\u6765\u8fdb\u884c\uff0c\u53ef\u4ee5\u7406\u89e3\u8fd9\u662f\u6bcf\u5c01\u90ae\u4ef6\u552f\u4e00\u8bc6\u522b\u53f7\r\na05 FETCH 1:2 (UID) \r\n* 1 FETCH (UID 1681789653)\r\n* 2 FETCH (UID 1681789654)\r\na05 OK Fetch completed\r\n\r\n# \u901a\u8fc7UID FETCH\u547d\u4ee4\u83b7\u53d6\u7279\u5b9a\u90ae\u4ef6\u7684FLAGS\u6807\u5fd7\uff0c\u5982\u672a\u8bfb\u3001\u5df2\u8bfb\r\na06 UID FETCH 1681789653 FLAGS\r\n* 1 FETCH (UID 1681789653 FLAGS (\\Seen))\r\na06 OK Fetch completed\r\n\r\n# \u901a\u8fc7UID FETCH\u6307\u4ee4\u83b7\u53d6\u67d0\u5c01\u90ae\u4ef6\u7684\u5168\u90e8\u6458\u8981\u4fe1\u606f\r\na07 UID FETCH 1681789653 ALL\r\n* 1 FETCH (UID 1681789653 INTERNALDATE \"18-Apr-2023 11:47:33 +0800\" FLAGS (\\Seen) ENVELOPE (\"Tue, 18 Apr 2023 11:47:33 +0800 (GMT+08:00)\" \"=?UTF-8?B?5qyi6L+O5L2\/55SoQ29yZW1haWznlLXlrZDpgq7ku7bns7vnu58vV2VsY29tZSB0byB0aGUgQ29yZW1haWwgZS1tYWlsIHN5c3RlbQ==?=\" ((NIL NIL \"postmaster\" \"mailabc.cn\")) ((NIL NIL \"postmaster\" \"mailabc.cn\")) ((NIL NIL \"postmaster\" \"mailabc.cn\")) ((NIL NIL \"t1\" \"mailabc.cn\")) NIL NIL NIL \"&lt;792468312.0.1681789653872@VM-4-12-centos&gt;\") RFC822.SIZE 7766)\r\na07 OK Fetch completed\r\n\r\n# \u901a\u8fc7UID FETCH\u6307\u4ee4\u83b7\u53d6\u67d0\u5c01\u90ae\u4ef6\u7684BODY\u6b63\u6587\u539f\u6587\u4fe1\u606f\r\na08 UID FETCH 1681789653 BODY[TEXT]\r\n* 1 FETCH (UID 1681789653 BODY[TEXT] {7251}\r\n=91;\"&gt;\r\n&lt;div id=\"3D\"head\"\" style=\"3D\"background-color:\" #0079b3;\"=\"\"&gt;\r\n...\r\n# \u6b63\u5e38\u6765\u8bf4\uff0c\u8fd9\u91cc\u4f1a\u8f93\u51fa\u4e00\u5927\u6bb5\u4fe1\u606f\uff0c\u8fd9\u91cc\u505a\u4e86\u7701\u7565\r\n\r\na08 OK Fetch completed\r\n\r\n# \u521b\u5efa\u540d\u4e3atest1\u7684\u6587\u4ef6\u5939\r\na09 CREATE test1\r\na09 OK mailbox created\r\n# \u5220\u9664\u540d\u4e3atest1\u7684\u6587\u4ef6\u5939\r\na10 DELETE test1\r\na10 OK mailbox deleted\r\n\r\n# \u901a\u8fc7STATUS\u83b7\u53d6\u6536\u4ef6\u7bb1\u7684\u72b6\u6001\u4fe1\u606f\r\na11 STATUS \"INBOX\" (MESSAGES RECENT UNSEEN UIDNEXT UIDVALIDITY)\r\n* STATUS \"INBOX\" (MESSAGES 7 RECENT 0 UIDVALIDITY 1 UNSEEN 0)\r\na11 OK STATUS completed<\/pre>\n<p><span style=\"font-size: 8pt;\"><em>\u6e29\u99a8\u63d0\u793a\uff1a\u4e0a\u8ff0\u6f14\u793a\u5185\u5bb9\u57fa\u4e8eCoremail\u90ae\u4ef6\u7cfb\u7edf\uff0c\u4e0d\u540c\u5382\u5546\u7684\u7cfb\u7edfIMAP\u534f\u8bae\u7684\u652f\u6301\u7a0b\u5ea6\u6709\u6240\u4e0d\u540c\u3002\u7531\u4e8e\u547d\u4ee4\u8f83\u591a\u3001\u53c2\u6570\u590d\u6742\uff0c\u6709\u5174\u8da3\u7684\u540c\u5b66\u53ef\u4ee5\u67e5\u9605\u76f8\u5173\u8d44\u6599\u4e86\u89e3\u66f4\u8be6\u7ec6\u7684\u4fe1\u606f\u3002\u5982\u5bf9\u672c\u6587\u611f\u5174\u8da3\uff0c\u53ef\u4ee5\u79c1\u4fe1\u6211\u3002<\/em><\/span><\/p>\n<\/section>\n<\/section>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>\u4ec0\u4e48\u662fIMAP\u534f\u8bae IMAP\u534f\u8bae\uff08Internet Message Access Protocol\uff09\u662f\u4e00\u79cd\u7528\u4e8e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":65,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,4],"tags":[8,55],"class_list":["post-63","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-9","category-4","tag-imap","tag-55"],"_links":{"self":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts\/63","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/comments?post=63"}],"version-history":[{"count":19,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts\/63\/revisions"}],"predecessor-version":[{"id":704,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts\/63\/revisions\/704"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/media\/65"}],"wp:attachment":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/media?parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/categories?post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/tags?post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}