{"id":5222,"date":"2019-10-14T15:31:06","date_gmt":"2019-10-14T07:31:06","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5222"},"modified":"2019-10-28T10:10:49","modified_gmt":"2019-10-28T02:10:49","slug":"newaliases","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/newaliases","title":{"rendered":"newaliases\u547d\u4ee4 – \u6587\u5b57\u6a21\u5f0f\u8f6c\u6362"},"content":{"rendered":"\n

Linux newaliases\u547d\u4ee4\u4f1a\u4f7f\u7528\u4e00\u4e2a\u5728 \/etc\/aliases \u4e2d\u7684\u6863\u6848\u505a\u4f7f\u7528\u8005\u540d\u79f0\u8f6c\u6362\u7684\u52a8\u4f5c\u3002\u5f53 sendmail \u6536\u5230\u4e00\u4e2a\u8981\u9001\u7ed9 xxx \u7684\u4fe1\u65f6\uff0c\u5b83\u4f1a\u4f9d\u636e aliases\u6863\u7684\u5185\u5bb9\u9001\u7ed9\u53e6\u4e00\u4e2a\u4f7f\u7528\u8005\u3002\u8fd9\u4e2a\u529f\u80fd\u53ef\u4ee5\u521b\u9020\u4e00\u4e2a\u53ea\u6709\u5728\u4fe1\u4ef6\u7cfb\u7edf\u5185\u624d\u6709\u6548\u7684\u4f7f\u7528\u8005\u3002\u4f8b\u5982 mailing list \u5c31\u4f1a\u7528\u5230\u8fd9\u4e2a\u529f\u80fd\uff0c\u5728 mailinglist \u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u521b\u9020\u4e00\u4e2a\u53eb redlinux@link.ece.uci.edu \u7684 mailinglist\uff0c\u4f46\u5b9e\u9645\u4e0a\u5e76\u6ca1\u6709\u4e00\u4e2a\u53eb redlinux \u7684\u4f7f\u7528\u8005\u3002\u5b9e\u9645 aliases \u6863\u7684\u5185\u5bb9\u662f\u5c06\u9001\u7ed9\u8fd9\u4e2a\u4f7f\u7528\u8005\u7684\u4fe1\u90fd\u6536\u7ed9 mailing list \u5904\u7406\u7a0b\u5e8f\u8d1f\u8d23\u5206\u9001\u7684\u5de5\u4f5c\u3002<\/p>\n\n\n\n

\/etc\/aliases \u662f\u4e00\u4e2a\u6587\u5b57\u6a21\u5f0f\u7684\u6863\u6848\uff0csendmail \u9700\u8981\u4e00\u4e2a\u4e8c\u8fdb\u4f4d\u683c\u5f0f\u7684 \/etc\/aliases.db\u3002newaliases \u7684\u529f\u80fd\u4f20\u662f\u5c06 \/etc\/aliases \u8f6c\u6362\u6210\u4e00\u4e2a sendmail \u6240\u80fd\u4e86\u89e3\u7684\u6570\u636e\u5e93\u3002 <\/p>\n\n\n\n

\u4f7f\u7528\u6743\u9650\uff1a\u7cfb\u7edf\u7ba1\u7406\u8005\u3002<\/p>\n\n\n\n

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

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-bi<\/td>\u5c06 \/etc\/aliases \u8f6c\u6362\u6210\u4e00\u4e2a sendmail \u6240\u80fd\u4e86\u89e3\u7684\u6570\u636e\u5e93<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

\u5c06 \/etc\/aliases \u8f6c\u6362\u6210\u4e00\u4e2a sendmail \u6240\u80fd\u4e86\u89e3\u7684\u6570\u636e\u5e93\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# newaliases -bi<\/pre>\n","protected":false},"excerpt":{"rendered":"

Linux newaliases\u547d\u4ee4\u4f1a\u4f7f\u7528\u4e00\u4e2a\u5728 \/etc\/aliases \u4e2d\u7684\u6863\u6848\u505a\u4f7f\u7528\u8005\u540d\u79f0\u8f6c\u6362\u7684\u52a8\u4f5c\u3002\u5f53 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5222"}],"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=5222"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5222\/revisions"}],"predecessor-version":[{"id":5318,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5222\/revisions\/5318"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}