Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Posts
    609

    Default How do I increase the number of connections for pop3d?

    How do I increase the number of connections for pop3d?

    maillog keeps displaying the error:
    pop3d: Maximum connection limit reached for IP.

    TIA

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by BianchiDude View Post
    How do I increase the number of connections for pop3d?

    maillog keeps displaying the error:
    pop3d: Maximum connection limit reached for IP.

    TIA
    In WHM -> Service Configuration -> Courier Configuration you can customize these settings .

  3. #3
    Member
    Join Date
    Apr 2007
    Posts
    47

    Default

    How do I know what values are suitable?,

    I saw it was 40 by default but what happpens if I do increase to 200? how this impact the server performance?

    Thanks

  4. #4
    Member
    Join Date
    Apr 2007
    Posts
    47

    Default

    Yesterday I increased the max active connections to 250, now checking my logs found this was not enough

    240 active connections.: 2 Time(s)
    241 active connections.: 1 Time(s)
    242 active connections.: 1 Time(s)
    246 active connections.: 2 Time(s)
    247 active connections.: 2 Time(s)
    248 active connections.: 1 Time(s)
    249 active connections.: 2 Time(s)
    250 maximum active connections.: 17 Time(s)
    35 active connections.: 28 Time(s)
    36 active connections.: 7 Time(s)
    37 active connections.: 11 Time(s)
    38 active connections.: 10 Time(s)
    39 active connections.: 18 Time(s)
    40 maximum active connections.: 61 Time(s)

    Checking active connections I found this

    [root@svr01 input1]# netstat -an|grep 110|awk {'print $5'}|cut -d: -f4|sort|uniq -c
    10 190.24.150.9
    1 190.156.36.161
    1 190.24.251.105
    1 190.40.127.73
    1 200.118.121.132
    1 200.71.57.88
    1 201.244.56.216
    1 201.245.102.20
    1 201.245.245.11
    136 200.93.143.82
    1 65.167.60.86
    21 201.243.13.233
    2 200.69.123.138
    2 200.71.42.71
    2 201.245.40.138
    3 190.144.136.189
    3 190.24.138.106
    4 190.156.165.237
    4 200.107.6.237
    4 201.245.248.74
    5 201.244.234.21
    57 200.75.80.220
    7 201.245.81.9
    97 200.118.126.34

    Most of this connections come from 4 customers having large amounts of email accounts, so I can't block those IPs.

    Any suggestions?

  5. #5
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    I think you should find out why they are abusing your system. Massive amounts of email accounts or not, there is no need for perpetual connections like that. I use default of 40 and never had problems even with servers with 600 accounts.

    Some may be logging in every few seconds, you may want to hamper the amount of logins per domain to a set limit per hour.

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Posts
    609

    Default

    Your customer is either a major corporation in Brazil, or you are getting hit with a DDoS, in the latter case I would block these IPs:
    136 200.93.143.82
    57 200.75.80.220
    97 200.118.126.34

  7. #7
    Member
    Join Date
    Apr 2007
    Posts
    47

    Default

    those ips are from my customers, in fact they have a lot of email accounts but connections are much more than email accounts at least for 200.93.143.82 and 200.118.126.34

  8. #8
    Member
    Join Date
    Apr 2007
    Posts
    47

    Default

    Hello, seems this was a DDOS from infected computers on those IPs,

  9. #9
    Member
    Join Date
    Apr 2007
    Posts
    47

    Default

    Probably this is a kind of spam opening connections to the server but not sending as described here http://www.exim-users.org/forums/showthread.php?t=55599,

    How do I set this acl rule to see if that solves the problem?

    acl_notquit:
    # Allow anything that's authenticated, from our networks or to
    submit port
    accept authenticated = *
    accept hosts = +relay_hosts
    accept condition = ${if eq {$interface_port}{587}
    {yes}{no}}
    # Rate-limit suspicious connections
    warn condition = ${if match {$smtp_notquit_reason}
    {command} \
    {yes}{no} }
    logwrite = RATELIMIT ${sender_host_address}: \
    $smtp_notquit_reason
    ratelimit = 1 / 1h / per_conn

    Any help greatly appreciated.

    Thanks

  10. #10
    Member devilsoulblack's Avatar
    Join Date
    Mar 2007
    Posts
    14

    Default

    Quote Originally Posted by cPanelDavidG View Post
    In WHM -> Service Configuration -> Courier Configuration you can customize these settings .
    thanks for the information
    Alfredo Andaluz Prado
    Ihostmarket "Advanced Hosting Solutions"
    IHM

Similar Threads & Tags
Similar threads

  1. increase courier connections dissappeared?
    By vittle in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-10-2008, 04:56 PM
  2. Increase the number of concurrent connections on the inbox
    By raafat in forum New User Questions
    Replies: 5
    Last Post: 08-19-2008, 03:05 AM
  3. Increase the number of whitelisted addresses
    By brianc in forum E-mail Discussions
    Replies: 0
    Last Post: 02-20-2008, 02:14 PM
  4. Increase loggin on pop3d and imapd
    By hatch in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-02-2005, 04:22 PM
  5. Increase Number of Displayed Accounts?
    By Jeff75 in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-09-2003, 08:10 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube