首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >exim4: queue_run_max:找不到

exim4: queue_run_max:找不到
EN

Server Fault用户
提问于 2015-02-09 02:50:46
回答 1查看 785关注 0票数 0

我需要管理传出并发SMTP连接的数量-其他邮件服务器抱怨我有50多个并发连接,并节流了我的发送邮件。

我搜索并找到了"queue_run_max“选项,这个选项听起来像是我所需要的。从我的阅读来看,它应该放在exim4.conf中,但我没有其中之一,可能是因为我使用的是一个拆分配置文件。无论如何,我的大多数选项都在updat-exim4.conf中,所以我将它添加到这个文件中。然后我重新启动了exim4并得到了以下消息:

代码语言:javascript
复制
root@ds6419:/etc/exim4# /etc/init.d/exim4 restart
[....] Stopping MTA for restart:/usr/sbin/update-exim4.conf: 36: /etc/exim4/update-exim4.conf.conf: queue_run_max: not found

因此,我删除了该选项,并让exim4再次运行。

我能找到的唯一其他队列配置参数是/etc/default/exim4 4,这些参数包括在下面:

代码语言:javascript
复制
# /etc/default/exim4
EX4DEF_VERSION=''
# 'combined' -   one daemon running queue and listening on SMTP port
# 'no'       -   no daemon running the queue
# 'separate' -   two separate daemons
# 'ppp'      -   only run queue with /etc/ppp/ip-up.d/exim4.
# 'nodaemon' - no daemon is started at all.
# 'queueonly' - only a queue running daemon is started, no SMTP listener.
# setting this to 'no' will also disable queueruns from /etc/ppp/ip-up.d/exim4
QUEUERUNNER='combined'
# how often should we run the queue
QUEUEINTERVAL='5m'
# options common to quez-runner and listening daemon
COMMONOPTIONS=''
# more options for the daemon/process running the queue (applies to the one
# started in /etc/ppp/ip-up.d/exim4, too.
QUEUERUNNEROPTIONS=''
# special flags given to exim directly after the -q. See exim(8)
QFLAGS=''
# Options for the SMTP listener daemon. By default, it is listening on
# port 25 only. To listen on more ports, it is recommended to use
# -oX 25:587:10025 -oP /var/run/exim4/exim.pid
SMTPLISTENEROPTIONS='-oX 465:25 -oP /var/run/exim4/exim.pid'

我的exim4版本是:

代码语言:javascript
复制
root@ds6419:/etc/exim4# exim4 --version
Exim version 4.80 #3 built 24-Jul-2014 03:28:10
Copyright (c) University of Cambridge, 1995 - 2012
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2012
Berkeley DB: Berkeley DB 5.1.29: (October 25, 2011)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /var/lib/exim4/config.autogenerated

有人能帮忙吗?queue_run_max会去别的地方吗?或者对我的exim4版本有不同的选择吗?

EN

回答 1

Server Fault用户

发布于 2015-02-16 14:13:46

您正在使用Debian exim4拆分配置(您可能使用基于Debian或Ubuntu的发行版)。当提到基于Debian的系统时,我们总是特别地使用exim4来表示它是一种非默认的exim配置。

您正在编辑的文件是一个模板配置文件,而不是Debian的exim4读取的实际文件。Debian init脚本读取该文件的内容和/etc/etc 4/中的几个模板文件,并从它们中组装一个标准exim4.conf文件。要获得更详细的信息,您需要在http://pkg-exim4.alioth.debian.org/README/README.Debian.html阅读。

最终的答案是“如果Debian的配置已经将特定的设置暴露在您的控制之下”,这有点不确定。这里的其他人可能更了解Debian Exim4配置控制。还有一个特定于Exim4的邮件列表,您很可能在http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users上得到权威的答案。

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/666034

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档