{"id":5515,"date":"2019-11-22T13:25:37","date_gmt":"2019-11-22T05:25:37","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5515"},"modified":"2019-11-28T22:12:57","modified_gmt":"2019-11-28T14:12:57","slug":"postconf","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/postconf","title":{"rendered":"postconf\u547d\u4ee4 – \u663e\u793amain.cf\u914d\u7f6e\u53c2\u6570\u7684\u503c"},"content":{"rendered":"\n

\u547d\u4ee4\u663e\u793amain.cf\u914d\u7f6e\u53c2\u6570\u7684\u503c\uff0c\u5e76\u8b66\u544a\u53ef\u80fd\u662f\u53c2\u6570\u540d\u7c7b\u578b\u9519\u8bef\uff08Postfix 2.9\u53ca\u66f4\u9ad8\u7248\u672c\uff09\u3002\u5b83\u8fd8\u53ef\u4ee5\u66f4\u6539main.cf\u914d\u7f6e\u53c2\u6570\nter\u503c\uff0c\u6216\u663e\u793a\u6709\u5173Postfix\u90ae\u4ef6\u7cfb\u7edf\u7684\u5176\u4ed6\u914d\u7f6e\u4fe1\u606f<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>postconf [\u53c2\u6570] <\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

\n
-d<\/td>\u67e5\u770b\u9ed8\u8ba4\u914d\u7f6e<\/td><\/tr>
-n<\/td>\u67e5\u770b\u5f53\u524d\u914d\u7f6e\uff08\u5373\u5f53\u524d\u751f\u6548\u7684\u914d\u7f6e\uff09<\/td><\/tr>
-e<\/td>\u914d\u7f6e\u67d0\u4e00\u53c2\u6570<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div><\/div>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u914d\u7f6e\u67d0\u4e00\u53c2\u6570:<\/p>\n\n\n\n

[root@linuxcool ~]# postconf -e mydomain=mail.baidu.com<\/pre>\n","protected":false},"excerpt":{"rendered":"

\u547d\u4ee4\u663e\u793amain.cf\u914d\u7f6e\u53c2\u6570\u7684\u503c\uff0c\u5e76\u8b66\u544a\u53ef\u80fd\u662f\u53c2\u6570\u540d\u7c7b\u578b\u9519\u8bef\uff08Postfix 2.9\u53ca\u66f4\u9ad8\u7248\u672c\uff09\u3002\u5b83\u8fd8\u53ef\u4ee5\u66f4 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5515"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=5515"}],"version-history":[{"count":8,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5515\/revisions"}],"predecessor-version":[{"id":5845,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5515\/revisions\/5845"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}