目前,我从 Interspire 到 postfix 服务器的传输速度为每秒 5 封电子邮件。我将每个参数都调到最大级别,但速度仍未提高。
这里我粘贴了我的配置
Postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
default_process_limit = 1000
header_checks = regexp:/etc/postfix/header_checks.regex
html_directory = no
inet_interfaces = ****************
inet_protocols = ipv4
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks = **********, 127.0.0.0/8, ***********
newaliases_path = /usr/bin/newaliases.postfix
qmgr_message_active_limit = 100000
qmgr_message_recipient_limit = 100000
queue_directory = /var/spool/postfix
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_client_connection_count_limit = 0
smtpd_client_connection_rate_limit = 0
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = /var/spool/postfix/private/auth
smtpd_sasl_type = dovecot
unknown_local_recipient_reject_code = 550
Interspire 支持告诉我错误可能出在 postfix 配置中。有什么方法可以提高 postfix 中接受消息的速度吗?请给出建议。
答案1
从输出结果来看,有点难以判断,但目前没有什么特别突出的地方。你能把它格式化得更干净一些吗?当然,速度会受到硬件的限制,以及任何策略检查(例如通过 Amavisd 或 post-grey 运行邮件)、重写等。