当有人试图发送电子邮件时,我在 /var/log/exim_mainlog 中遇到了一些奇怪的错误。问题是我无法解决这个问题,所以我会在这里尝试。
2012-10-29 00:35:54 DBD::SQLite::db prepare failed: database is locked at /etc/exim_greylist_sqlite.pl line 1013, <HAN1> line 66.
2012-10-29 00:35:54 H=valid_hostname [valid_ip]:5555 F=<mail@example.com> temporarily rejected RCPT <mail@example.com>: failed to expand ACL string "${perl{greylist}}": Can't call method "execute" on an undefined value at /etc/exim_greylist_sqlite.pl line 1014, <HAN1> line 66.
2012-10-29 00:35:54 SMTP connection from valid_hostname [valid_ip]:5555 closed by QUIT
exim_greylist_sqlite 中的一些行:
1012 my $query = "select strftime('%s', block_expires, 'utc')-strftime('%s','now') from relaytofrom where rcpt_to='$lp' and mail_from='$sender_addr'";
1013 $sth = $isp->prepare($query) || print FILE "$query\n";
1014 $sth->execute || print FILE "$query\n";
1015 my @status_array = $sth->fetchrow_array;
1016 $sth->finish;
我什至不知道从哪里开始解决这个问题。我尝试在 cPanel 论坛上搜索,尝试以多种方式使用谷歌但没有结果:(