postfix无法启动,查看日志,发现日志提示master.cf文件109行有问题,打开文件一看109行是注释啊,怎么回事?日志如下:

tail -f /var/log/maillog
Aug 18 15:56:11 localhost postfix/postfix-script[11639]: starting the Postfix mail system
Aug 18 15:56:11 localhost postfix/master[11640]: fatal: /etc/postfix/master.cf: line 109: bad transport type: user=vuser
/etc/postfix/master.cf: line 109: bad transport type: user=vuseAug 18 15:58:20 localhost postfix/postfix-script[11656]: fatal: the Postfix mail system is not running

仔细一看是因为配置的maildrop第二行开头没有空格,加上之后,重启服务就好了。

maildrop unix - n n - - pipe
 68 flags=DRhu user=vuser argv=maildrop -w 90 -d ${user}@${nexthop} ${recipient} ${user} ${extension} {nexthop}