本帖最后由 宝塔用户_cbueom 于 2021-7-5 23:25 编辑
Jul 5 20:49:37 VM-0-9-centos postfix/smtpd[190324]: fatal: /etc/postfix/sqlite_virtual_alias_domain_maps.cf: bad string length 0 < 1: dbpath =
Jul 5 20:49:38 VM-0-9-centos postfix/master[189526]: warning: process /usr/libexec/postfix/smtpd pid 190324 exit status 1
Jul 5 20:49:38 VM-0-9-centos postfix/master[189526]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
每次发送邮件都是这个报错,重装系统和换系统版本都不能解决。这个文件sqlite_virtual_alias_domain_maps.cf是空白的,修复postfix也没有用
在这个文件中写入
dbpath = /var/vmail/postfixadmin.db
query = SELECT goto FROM alias,alias_domain WHERE alias_domain.alias_domain ='%d'和alias.address ='%u'|| '@'|| alias_domain.target_domain AND alias.active = 1 AND alias_domain.active ='1'
就会报下面的错误
Jul 5 23:15:28 VM-0-9-centos postfix/submission/smtpd[217059]: fatal: sqlite:/etc/postfix/sqlite_virtual_alias_domain_maps.cf: Can't open database: unable to open database file?
Jul 5 23:15:29 VM-0-9-centos postfix/master[189526]: warning: process /usr/libexec/postfix/smtpd pid 217059 exit status 1
Jul 5 23:15:29 VM-0-9-centos postfix/master[189526]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
1
|