去掉Postfix烦人的fatal: bad string length 0 < 1: mysql_virtual_mailbox_maps.cf_dbname =

Postfix 邮件系统时不时出现下面的日志,重启一下就好了,真的头痛

Apr 14 19:09:03 root postfix/qmgr[3333]: 1791D394147F: removed
Apr 14 19:09:48 root postfix/smtpd[5207]: fatal: bad string length 0 < 1: mysql_virtual_mailbox_maps.cf_dbname =
Apr 14 19:09:49 root postfix/master[3314]: warning: process /usr/lib/postfix/smtpd pid 5207 exit status 1
Apr 14 19:09:49 root postfix/master[3314]: warning: /usr/lib/postfix/smtpd: bad command startup — throttling

在网上找了很多资料,最后发现问题如下:

http://blog.chamara.info/2011/05/postfix-error-virtual-mailbox-base.html

解决办法 编辑master.cf文件,注释下面的行即可解决问题

#virtual unix – n n – – virtual