Which Postfix command can be used to rebuild all of the alias database files with a single invocation and without the need for any command line arguments?
A.
makealiases
B.
newaliases
C.
postalias
D.
postmapbuild
题解
「postalias」指令用来产生 Postfix 的主设置档「/etc/postfix/main.cf」能读取的数据库档,专门给「alias」功能用的。「postalias」指令在使用时必须要提供「alias」原始设置档的文件路径。
「newaliases」指令类似「postalias」指令,也是专门用来产生「alias」的数据库档,只不过它会自动去读取 Postfix 设置档的「alias_database」字段的设置,因此不需要在运行「newaliases」指令的时候再透过参数传入要读取的「alias」原始设置档。
所以答案是选项「B」。
