{"id":15101,"date":"2022-10-04T13:40:34","date_gmt":"2022-10-04T05:40:34","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=15101"},"modified":"2022-10-04T13:40:37","modified_gmt":"2022-10-04T05:40:37","slug":"linux-ssmtp-mail","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-ssmtp-mail.html","title":{"rendered":"SSMTP\u2014\u8ba9Linux\u7cfb\u7edf\u4eceOffice 365\u53d1\u9001\u90ae\u4ef6"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | SSMTP \u662f\u4e00\u4e2a\u975e\u5e38\u7b80\u5355\u5b9e\u7528\u7684\u5c0f\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u5c06 Linux \u7cfb\u7edf\u7684\u7535\u5b50\u90ae\u4ef6\u4e2d\u7ee7\u5230 Office 365\u3001Google \u6216\u5176\u5b83\u7b2c\u4e09\u65b9 SMTP \u670d\u52a1\u5668\u3002SSMTP \u5e76\u4e0d\u662f\u4e00\u5957\u6210\u719f\u5b8c\u6574\u7684\u90ae\u4ef6\u670d\u52a1\u5668\uff0c\u5b83\u53ea\u80fd\u81ea\u52a8\u5c06\u90ae\u4ef6\u63d0\u4ea4\u5230\u5176\u5b83\u50cf Google\u3001\u817e\u8baf\u3001163\u3001Office 365 \u8fd9\u6837\u7684 SMTP \u670d\u52a1\u5668\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u4ecb\u7ecd\u5982\u4f55\u914d\u7f6e SSMTP \u901a\u8fc7 Office 365 \u8d26\u6237\u53d1\u9001\u7535\u5b50\u90ae\u4ef6\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <\/p>\n SSMTP\u5982\u4f55\u5de5\u4f5c<\/strong><\/div>\n \u5728\u6b63\u5f0f\u5b89\u88c5\u548c\u914d\u7f6e\u4e4b\u524d\uff0c\u6211\u4eec\u5148\u7b80\u8981\u4ecb\u7ecd\u4e0b SSMTP \u662f\u5982\u4f55\u5de5\u4f5c\u7684\u3002SSMTP \u53ef\u4ee5\u88ab\u5b89\u88c5\u5230\u4efb\u610f Linux \u7cfb\u7edf\u5f53\u4e2d\uff0c\u4e00\u65e6\u914d\u7f6e\u5b8c\u6210\uff0c\u6240\u6709\u6765\u81ea root\u3001nobody \u6216\u5176\u5b83\u5e94\u7528\u7a0b\u5e8f\u53d1\u9001\u7684\u90ae\u4ef6\u90fd\u53ef\u4ee5\u901a\u8fc7 SSMTP \u8fdb\u884c\u8f6c\u53d1\u3002\u6211\u4eec\u4e5f\u53ef\u4ee5\u914d\u7f6e PHP\u3001Python,\u3001Ruby \u7b49\u5e94\u7528\u7a0b\u5e8f\u7684\u90ae\u4ef6\u90fd\u4f7f\u7528\u8be5\u7a0b\u5e8f\u8fdb\u884c\u8f6c\u53d1\u3002\u7b80\u800c\u8a00\u4e4b\uff0c\u4f60\u53ef\u4ee5\u5c06 SSMTP \u7406\u89e3\u4e3a Linux \u4e2d\u7684 Mailhub\u3002<\/p>\n \u5728 Mailhub \u4e2d\u53ef\u4ee5\u914d\u7f6e\u548c\u6307\u5b9a Gmail SMTP \u670d\u52a1\u5668\u6216 Microsof Office365 SMTP \u670d\u52a1\u5668\u5730\u5740\uff0c\u4e00\u65e6\u4e3a\u5176\u6307\u5b9a\u597d\u670d\u52a1\u5668\u548c\u7535\u5b50\u90ae\u4ef6\u5730\u5740\uff0c\u5b83\u4fbf\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u4e91\u670d\u52a1\u53d1\u9001\u90ae\u4ef6\u3002<\/p>\n \u5b89\u88c5SSMTP<\/strong><\/div>\n SSMTP \u5b89\u88c5\u975e\u5e38\u7b80\u5355\uff0c\u5f88\u591a Linux \u6e90\u4e2d\u90fd\u6709\u63d0\u4f9b\uff0c\u57fa\u4e8e RHEL \u7684 Linux \u53d1\u884c\u7248\uff08RHEL\/CentOS\/Fedora\uff09\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n yum install ssmtp<\/pre>\n |