Exim4 - mysql 查找

发布于 2024-11-09 00:14:23 字数 557 浏览 0 评论 0原文

我尝试了 exim4 start,但现在收到此错误: 查找类型“mysql”不可用。我使用 apt-get install exim4 安装了 exim4。我该如何解决这个问题?

问候, 凯文

更多信息: 2011-05-23 15:34:14 1QOVGr-0002k2-5D 在检查时未能展开“${lookup mysql{SELECT DISTINCT Transport FROM mail_transports WHERE Transport = '${quote_mysql:$domain}'}}”列表:查找类型“mysql”不可用(不在二进制文件中 - 检查构建时 LOOKUP 配置) 2011-05-23 15:34:14 1QOVGr-0002k2-5D 在检查列表时未能展开“${lookup mysql{SELECT DISTINCT Transport FROM mail_transports WHERE Transport = '${quote_mysql:$domain}'}}”:查找类型“mysql”不可用(不在二进制文件中 - 检查构建时查找配置)

I tried exim4 start, but now I get this error:
lookup type "mysql" is not available. I installed exim4 with apt-get install exim4. How can I fix this?

Regards,
Kevin

More information:
2011-05-23 15:34:14 1QOVGr-0002k2-5D failed to expand "${lookup mysql{SELECT DISTINCT transport FROM mail_transports WHERE transport = '${quote_mysql:$domain}'}}" while checking a list: lookup type "mysql" is not available (not in the binary - check buildtime LOOKUP configuration)
2011-05-23 15:34:14 1QOVGr-0002k2-5D failed to expand "${lookup mysql{SELECT DISTINCT transport FROM mail_transports WHERE transport = '${quote_mysql:$domain}'}}" while checking a list: lookup type "mysql" is not available (not in the binary - check buildtime LOOKUP configuration)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

抹茶夏天i‖ 2024-11-16 00:14:23

必须编译 mysql 才能用作查找类型。您可以通过运行 exim4 -bV(或 exim、sendmail,或者您的 exim 二进制文件的实际名称)来查看可用的查找。这是我的一台服务器的示例输出(请注意,我也没有编译 mysql):

g3 0 /home/jj33 > exim -bV | grep ^Lookup
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch passwd

我似乎记得 Debian(因此可能是 Ubuntu)有类似 exim4-heavy 作为包,这是 exim,其中包含了所有的花里胡哨的东西。你可以看一下。我似乎还记得一些打包者为查找类型维护了自己的私有动态加载器,因此在 Debian/Ubuntu 中您可能可以加载 exim4-mysql 软件包或某些此类软件包,并具有查找可用。

mysql has to be compiled in to be available as a lookup type. You can see what lookups are available by running exim4 -bV (or exim, or sendmail, or however your exim binary is actually named). Here's an example output from one of my servers (note I don't have mysql compiled in either):

g3 0 /home/jj33 > exim -bV | grep ^Lookup
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch passwd

I seem to remember that Debian (and therefore probably Ubuntu) had something like exim4-heavy as a package, which was exim with all the bells and whistles compiled in. You might take a look at that. I also seem to remember that some of the packagers maintained their own private dynamic loader for lookup types, so it might be possible in Debian/Ubuntu that you could load the exim4-mysql package or some such and have the lookup available.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文