My VPS has hundreds of POP3-Login and IMAP processes recently. Even each process consumes only 0.1% of the main memory, 100 processes can eat up 10%!
After seeking help to Google, I' ve found the answer:
First
, set max connection number of smtp process.
1. Edit Postfix configuration file. If you installed Postfix by yum, the configuration file should be located at /etc/postfix/main.cf;
2. Add the line below at the bottom of main.cf
smtpd_client_connection_rate_limit = 100
Tuning the number as you like.
Second
, modify the configuration of Dovecot.
1. Edit Dovecot config file. If you installed it by yum, this file should be located at /etc/dovecot.conf
2. Add the line below
login_max_processes_count = 20
If the processes number exceeds 20, older ones will be destroyed.
Third, restart services.
service postfix restart
service dovecot restart
Reference:
[1] http://www.postfix.org/TUNING_README.html#conn_limit
[2] http://wiki.dovecot.org/MainConfig
分享到:
相关推荐
主要介绍基于centos7下进行posfix+dovecot进行搭建部署得邮箱服务器得一份文档;
WebMail邮件服务器搭建:postfix+dovecot+roundcube (原理加全操作-详细)
RHEL7版-项目14--使用Postfix与Dovecot收发电子邮件.pptx
postfix+dovecot+extmail配置文件
postfix+dovecot.rar
postfix+dovecot+ldap+ssl+群发配置+禁止群发配置
linux-postfix-dovecot-openwebmail 基于系统的配置!以及一些难以排除的故障可以得到很多的答案。。!
后缀Postfix,鸽舍安装sudo apt install postfix dovecot-core dovecot-imapd dovecot-pop3d dovecot-lmtpd mysql-serversudo apt install dovecot-mysql postfix-mysql用户groupadd -g 5000 vmailuseradd -g vmail ...
postfix-dovecot-mysql-roundcube postfix + dovecot与mysql和roundcube ##安装 安装git。 CentOS / RedHat / Fedora: # yum install git Debian / ubuntu / Mint: # apt-get install git # cd /usr/local/...
postfix-dovecot postfix-dovecot 和防病毒/反垃圾邮件
这两天尝试搭建了本地邮箱服务器,采用postfix+dovecot模式,网上有好多教程,但都是缺胳膊少腿,没一个完整的,下边就本人此次搭建过程做一个详细记录。
在centos7环境下搭建的邮件服务器,centos7+postfix+dovecot+squirrelmail
Postfix 邮件服务器和 Dovecot POP/IMAP 服务器 ... $ sudo docker pull classcat/postfix-dovecot 用法 $ sudo docker run -d --name (container name) \ -p 2022:22 -p 25:25 -p 587:587 -p 11
postfix、dovecot系统配置文件,postfixadmin及Roundcube 管理界面php源码信息,安装postfix及dovecot后替换配置文件,修改域名可直接使用。 操作系统: Centos7.2 ...postfix: postfix-2.10.1-7.el7.x86_64
后缀 具有系统用户角色的Postfix和Dovecot SASL。 从holms / ansible-postfix分叉 目前仅支持外发电子邮件 要求 Ansible版本2.7.8 平台类 Ubuntu 18.04 角色变量 ... - postfix-sasl-dovecot 主持人:
posty_api, 基于postfix和dovecot的mailserver管理工具 #posty_API posty_API是 posty softwarestack的核心元素。 它是用来管理基于后缀和Dovecot的mailserver 。 它提供了一个简单的REST接口,可以在自己的应用程序...
RHEL 5.0 postfix dovecot openwebmail 邮件服务器 一、先卸载sendmain [root@ser ~]# yum remove sendmail 二、安装postfix ,dovecot,cyrus-sasl [root@ser ~]# yum -y install postfix [root@ser ~]# yum -y ...
RedHat AS 4.1 + Postfix + Dovecot + Cyrus-sasl 安装笔记
linux操作系统搭建邮件服务器postfix+dovecot总结
利用postfix+dovecot+postfixadmin搭建自己的邮件服务器。