Posts Tagged ‘maxperip’

Set the max pop connections simutaneously of one ip in postfix

October 21st, 2010 1 comment

In postfix by defaults,if one same ip has more than 4 pop3/imap clients to simutaneously receiving letters from(for example,your company has 5 people to connect to the same mail account to receive letters),the server will report the following errors in log file mail.err:
tail -f /var/log/mail.err:
Oct 21 04:27:31 newserver6484 couriertcpd: Maximum connection limit reached for
#xxx is the busy ip address,may be your company's ip address
To avoid the errors,do as the follows:
vim /etc/courier/pop3d #modify MAXPERIP=40,by default 4
Then,reboot courier-pop:
/etc/init.d/courier-pop restart
After the above operations,using tail -f /var/log/mail.err to see the result.Yes,no errors logged in the file any more.