如何配置Postfix每小时发送的邮件数量超过默认值

时间:2010-05-04 13:51:25

标签: postfix-mta

我的postfix只允许我在一小时内发送3600封电子邮件(我从中得出结论,每封电子邮件之间有1秒延迟),而我想发送双倍的那个号码..我查看了postfix配置。是否有任何参数我可以改为在一小时内发送超过3600封电子邮件? 这是postconf -n

的输出
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
bounce_queue_lifetime = 1d
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 5
default_destination_rate_delay = 0s
html_directory = no
inet_interfaces = all
inet_protocols = ipv4
initial_destination_concurrency = 2
lmtp_destination_rate_delay = 0s
local_destination_rate_delay = 0s
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
maximal_queue_lifetime = 1d
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = example.com
myhostname = server01.example.com
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
qmgr_message_recipient_limit = 10000
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.5.6/README_FILES
relay_destination_rate_delay = 0s
sample_directory = /usr/share/doc/postfix-2.5.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_bind_address = xxx.xxx.xxx.xxx
smtp_destination_rate_delay = 0s
smtp_generic_maps = hash:/etc/postfix/generic
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions = check_client_access hash:/etc/postfix/access
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_destination_rate_delay = 0s

1 个答案:

答案 0 :(得分:4)

看到这个,

你可以玩

default_recipient_limit qmgr_message_recipient_limit default_destination_rate_delay

在单个交付到同一目的地之间插入的默认延迟量;每个目标收件人限制> 1,目的地是域,否则它是收件人。

要启用延迟,请指定非零时间值(整数值加上指定时间单位的可选单字母后缀)。

时间单位:s(秒),m(分钟),h(小时),d(天),w(周)。默认时间单位是s(秒)。

注意:延迟由队列管理器强制执行。延迟计时器状态不存在“后缀重新加载”或“后缀停止”。

使用transport_destination_rate_delay指定特定于传输的覆盖,其中transport是邮件传递传输的master.cf名称。

此功能在Postfix 2.5及更高版本中可用。 http://www.postfix.org/postconf.5.html

相关问题