mail_max_userip_connections=10 - ISPConfig3, Debian 7

Discussion in 'ISPConfig 3 Priority Support' started by inside83, Jun 26, 2015.

  1. inside83

    inside83 Member HowtoForge Supporter

    Hello!
    I recently began using AquaMail app on Android and now and then I get error: 'mail_max_userip_connections=10'.
    How to fix this?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Most likely this app makes more then 10 simulatnious connections to either imap or smtp. Please take a look at the mail log and post the error that you get there to find out which service is throwing this error.
     
  3. inside83

    inside83 Member HowtoForge Supporter

    /var/log/mail.log says:
    Code:
    Jun 26 20:03:28 vps2 dovecot: imap-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections=10): user=<[email protected]>, method=PLAIN, rip=123.456.789.012, lip=012.789.456.123, TLS, session=<IvKhjm8Z123BZb+JX>
     
  4. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    You can increase the mail_max_userip_connections value. The default is 10.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    In the dovecot configuration file /etc/dovecot/dovecot.conf
     
  6. inside83

    inside83 Member HowtoForge Supporter

    @florian030 @till
    Where does it say that the default is 10?
    This is my /etc/dovecot/dovecot.conf file:
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    In the dovecot code.

    Add:

    mail_max_userip_connections = 20

    and restart dovecot.
     
  8. inside83

    inside83 Member HowtoForge Supporter

    @till
    Thank you.
    I was confused. I thought that the limit is configured in:
    So, if the error happens again, I just need to increase the number?
     
  9. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    You can trust us or run doveconf to see all settings (incl. the defaults).
     
  10. inside83

    inside83 Member HowtoForge Supporter

    I trust you :)
     

Share This Page