RE: mail_max_userip_connections per remote IP not working

2021-04-16 Thread Koga Hayashi
Alessio, > remote 1.2.3.4 { > } This isn't supported. You can only set the same max connection for all userips. protocol imap { mail_max_userip_connections = 100 } The conf above will act : - 1.2.3.4's max connections will be set to 100 when using imap connection. - 1.2.3.5

mail_max_userip_connections per remote IP not working

2021-04-13 Thread Alessio Cecchi
Hi, I'm tryng to set a specific mail_max_userip_connections for a remote IP (webmail IMAP software), but it seems not working: remote 1.2.3.4 {   protocol imap {     mail_max_userip_connections = 100   } } and also this isn't working remote 1.2.3.4 {     mail_max_userip_connections = 100

per-user mail_max_userip_connections in userdb extra fields

2019-06-18 Thread Eirik Rye via dovecot
'/'. For example: > > namespace default { > inbox = yes > separator = . > location = maildir:~/Maildir > } > > The separator setting can be overridden by returning namespace/default/separator=. extra field. As such, we would expect for it to be possible to ove

Re: mail_max_userip_connections

2019-05-29 Thread Sami Ketola via dovecot
> On 29 May 2019, at 4.40, hfh--- via dovecot wrote: > > mail_max_userip_connections > Can I set up an ip whitelist list, and the ip in this whitelist is > unrestricted? thanks!!! mail_max_userip_connections is not enforced for login_trusted_networks Sami

mail_max_userip_connections

2019-05-28 Thread hfh--- via dovecot
mail_max_userip_connections Can I set up an ip whitelist list, and the ip in this whitelist is unrestricted? thanks!!! h...@cndns.com

Re: mail_max_userip_connections from userdb query

2018-03-30 Thread Aki Tuomi
You can probably implement this better with weakforced. ---Aki TuomiDovecot oy Original message From: Arkadiusz Miśkiewicz <ar...@maven.pl> Date: 30/03/2018 11:21 (GMT+02:00) To: dovecot@dovecot.org Subject: mail_max_userip_connections  from userdb query Hello. Is stil

mail_max_userip_connections from userdb query

2018-03-30 Thread Arkadiusz Miśkiewicz
Hello. Is still true that mail_max_userip_connections cannot be overriden in userdb query? Want lower global and raise for some logins. https://www.dovecot.org/pipermail/dovecot/2017-July/108520.html -- Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )

Re: Increasing mail_max_userip_connections and sys resources

2016-01-19 Thread Nikolaos Milas
On 15/1/2016 10:05 μμ, Joseph Tam wrote: ... Pragmatically, I set it high enough so that it meets the need of most clients, then deal with problems on a case by case basis ... Thank you very much Joseph for your quite useful advice and experience. Are you monitoring using "doveadm who"?

Re: Increasing mail_max_userip_connections and sys resources

2016-01-15 Thread Joseph Tam
In our low-traffic server we have always kept the default value for IMAP mail_max_userip_connections (10). The server has been working fine! (Thank you Timo for this!) However, recently we have been having: Maximum number of connections from user+IP exceeded errors both for IMAP

Re: Increasing mail_max_userip_connections and sys resources

2016-01-15 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 15 Jan 2016, Nikolaos Milas wrote: I tried adding "process_limit = 2048" to imap: protocol imap { imap_client_workarounds = "delay-newmail" mail_plugins = quota imap_quota notify replication process_limit = 2048 this

Re: Increasing mail_max_userip_connections and sys resources

2016-01-15 Thread Nikolaos Milas
On 15/1/2016 10:50 πμ, Steffen Kaiser wrote: this setting belongs to the service imap { section. Oh, this is it! It works now! Thanks, Steffen. All the best, Nick

Increasing mail_max_userip_connections and sys resources

2016-01-14 Thread Nikolaos Milas
In our low-traffic server we have always kept the default value for IMAP mail_max_userip_connections (10). The server has been working fine! (Thank you Timo for this!) However, recently we have been having: Maximum number of connections from user+IP exceeded errors both for IMAP

Re: Increasing mail_max_userip_connections and sys resources

2016-01-14 Thread Nikolaos Milas
protocol imap { imap_client_workarounds = "delay-newmail" mail_plugins = quota imap_quota notify replication process_limit = 2048 mail_max_userip_connections = 100 } but this leads to: # doveconf -n # 2.2.18: /etc/dovecot/dovecot.conf # Pige

Re: [Dovecot] mail_max_userip_connections on a per user basis

2013-06-24 Thread Timo Sirainen
On 20.6.2013, at 2.24, Antonio Leding t...@leding.net wrote: Can the above setting be applied on a per user account basis? I thought that maybe something like per account quotas might be a possible method but not sure. Nope. Although there's a mail_ prefix, the setting is actually handled

[Dovecot] mail_max_userip_connections on a per user basis

2013-06-19 Thread Antonio Leding
Hello, Can the above setting be applied on a per user account basis? I thought that maybe something like per account quotas might be a possible method but not sure. Thanks.

Re: [Dovecot] mail_max_userip_connections

2013-03-13 Thread Simon Brereton
On 12 March 2013 18:03, Axel Luttgens axelluttg...@swing.be wrote: Le 12 mars 2013 à 17:18, Simon Brereton simon.buongio...@gmail.com a écrit : [...] I suppose this implies it's the webmail client., So, to be sure: the webmail server is running on the same box as the one running Dovecot?

Re: [Dovecot] mail_max_userip_connections

2013-03-13 Thread Oscar del Rio
On 03/13/13 05:37 AM, Simon Brereton wrote: On 12 March 2013 18:03, Axel Luttgens axelluttg...@swing.be wrote: Le 12 mars 2013 à 17:18, Simon Brereton simon.buongio...@gmail.com a écrit : [...] I suppose this implies it's the webmail client., So, to be sure: the webmail server is running on

[Dovecot] mail_max_userip_connections

2013-03-12 Thread Simon Brereton
Hi Sometimes, I hit mail_max_userip_connections limit. As far as I know I'm the only person that does, but I would like to find out why before someone else hits the limit. Is there a command available that can list the connections per IP? I'd like to find out which client is causing

Re: [Dovecot] mail_max_userip_connections

2013-03-12 Thread Axel Luttgens
Le 12 mars 2013 à 14:43, Simon Brereton a écrit : Hi [...] Is there a command available that can list the connections per IP? Hello Simon, You could have a look at 'doveadm who' (http://wiki2.dovecot.org/Tools/Doveadm/Who). HTH, Axel

Re: [Dovecot] mail_max_userip_connections

2013-03-12 Thread Simon Brereton
On 12 Mar 2013 15:31, Axel Luttgens axelluttg...@swing.be wrote: Le 12 mars 2013 à 14:43, Simon Brereton a écrit : Hi [...] Is there a command available that can list the connections per IP? Hello Simon, You could have a look at 'doveadm who' (

Re: [Dovecot] mail_max_userip_connections

2013-03-12 Thread Axel Luttgens
probably requiring a bit more guesswork; for example, assuming binary lsof is available on your system: sudo lsof -n -i :imap,pop3 On the other hand, I don't remember exactly what happens when that mail_max_userip_connections limit is hit; doesn't Dovecot log some hint that would allow you

Re: [Dovecot] mail_max_userip_connections

2013-03-12 Thread Simon Brereton
apparent from the client). On the other hand, I don't remember exactly what happens when that mail_max_userip_connections limit is hit; doesn't Dovecot log some hint that would allow you to track the culprit? Well, not that I could see - that's why I asked on the list :) That's not to say

Re: [Dovecot] mail_max_userip_connections

2013-03-12 Thread Axel Luttgens
Le 12 mars 2013 à 17:18, Simon Brereton simon.buongio...@gmail.com a écrit : [...] I suppose this implies it's the webmail client., So, to be sure: the webmail server is running on the same box as the one running Dovecot? but even having that open on two different machines shouldn't

[Dovecot] dovecot: imap-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections)

2013-03-04 Thread David Brown
(mail_max_userip_connections) I have noted that it is more evident when I try to mass delete many messages. Any ideas of how to diagnose this issue? The dovecot -n follows: # 1.2.9: /etc/dovecot/dovecot.conf # OS: Linux 2.6.34.1-rscloud x86_64 Ubuntu 10.04.4 LTS log_timestamp: %Y-%m-%d %H:%M:%S

Re: [Dovecot] dovecot: imap-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections)

2013-03-04 Thread Alessio Cecchi
of connections from user+IP exceeded (mail_max_userip_connections) I have noted that it is more evident when I try to mass delete many messages. Any ideas of how to diagnose this issue? Hi, is not an issue but a configuration limit for prevent abuse. You can increase these number with protocol

[Dovecot] mail_max_userip_connections exceeded.

2012-01-20 Thread Simon Brereton
Hi I'm using Dovecot version 1:1.2.15-7 installed on Debian Squeeze via apt-get.. I have this error in the logs. /var/log/mail.log.1:2490:Jan 19 12:02:55 mail dovecot: imap-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections): user=u...@example.com, method

Re: [Dovecot] mail_max_userip_connections exceeded.

2012-01-20 Thread Timo Sirainen
On 01/20/2012 06:06 PM, Simon Brereton wrote: I have this error in the logs. /var/log/mail.log.1:2490:Jan 19 12:02:55 mail dovecot: imap-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections): user=u...@example.com, method=PLAIN, rip=127.0.0.1, secured I never

Re: [Dovecot] mail_max_userip_connections exceeded.

2012-01-20 Thread Joseph Tam
Simon Brereton simon.brere...@buongiorno.com writes: /var/log/mail.log.1:2490:Jan 19 12:02:55 mail dovecot: imap-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections): user=u...@example.com, method=PLAIN, rip=127.0.0.1, secured I never changed this from

Re: [Dovecot] mail_max_userip_connections exceeded.

2012-01-20 Thread Knute Johnson
On 1/20/2012 4:48 PM, Joseph Tam wrote: Simon Brereton simon.brere...@buongiorno.com writes: /var/log/mail.log.1:2490:Jan 19 12:02:55 mail dovecot: imap-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections): user=u...@example.com, method=PLAIN, rip=127.0.0.1

Re: [Dovecot] mail_max_userip_connections=10

2011-12-12 Thread Eran Guy
Timo Sirainen tss at iki.fi writes: On 19.9.2011, at 11.27, Tom Clark wrote: Is there anyway of whitelisting an IP so that it can ignore mail_max_userip_connections=10? With v2.0 in theory: remote 1.2.3.4 { mail_max_userip_connections = 0 } I don't know if it actually works

Re: [Dovecot] mail_max_userip_connections=10

2011-09-22 Thread Timo Sirainen
On 19.9.2011, at 11.27, Tom Clark wrote: Is there anyway of whitelisting an IP so that it can ignore mail_max_userip_connections=10? With v2.0 in theory: remote 1.2.3.4 { mail_max_userip_connections = 0 } I don't know if it actually works. What should we set mail_max_userip_connections

Re: [Dovecot] mail_max_userip_connections=10

2011-09-22 Thread Tom Clark
] mail_max_userip_connections=10 On 19.9.2011, at 11.27, Tom Clark wrote: Is there anyway of whitelisting an IP so that it can ignore mail_max_userip_connections=10? With v2.0 in theory: remote 1.2.3.4 { mail_max_userip_connections = 0 } I don't know if it actually works. What should we set

Re: [Dovecot] mail_max_userip_connections=10

2011-09-20 Thread Tom Clark
To: Asai Cc: Dovecot Mailing List Subject: Re: [Dovecot] mail_max_userip_connections=10 On 19.9.2011, at 20.43, Asai wrote: If you figure it out, please post the solution, because we're running into a similar issue right now with K9 mail where it's causing us to get this error:imap-login

Re: [Dovecot] mail_max_userip_connections=10

2011-09-20 Thread Stan Hoeppner
On 9/19/2011 7:36 AM, Tom Clark wrote: Hi Paul, It's coming from the same IP address through his ADSL. Hence he gets the problem with max_userip_connections. I think I tracked down the problem. He's been using K9 mail which seems to have a problem where it doesn't release a connection and has

Re: [Dovecot] mail_max_userip_connections=10

2011-09-20 Thread Asai
: dovecot-boun...@dovecot.org [mailto:dovecot-boun...@dovecot.org] On Behalf Of Timo Sirainen Sent: 19 September 2011 7:12 PM To: Asai Cc: Dovecot Mailing List Subject: Re: [Dovecot] mail_max_userip_connections=10 On 19.9.2011, at 20.43, Asai wrote: If you figure it out, please post the solution

[Dovecot] mail_max_userip_connections=10

2011-09-19 Thread Tom Clark
Hi, A couple of questions rather than a problem for once! We've got our Dovecot server running smoothly now apart from our MD. He's having problems with mail_max_userip_connections. He has 3 (Phone/Laptop/Tablet) items that all connect to the server at about the same time. Which means he's

Re: [Dovecot] mail_max_userip_connections=10

2011-09-19 Thread Paul Griffith
On 09/19/11 04:27, Tom Clark wrote: Hi, A couple of questions rather than a problem for once! We've got our Dovecot server running smoothly now apart from our MD. He's having problems with mail_max_userip_connections. He has 3 (Phone/Laptop/Tablet) items that all connect

Re: [Dovecot] mail_max_userip_connections=10

2011-09-19 Thread Tom Clark
Ta, Tom -Original Message- From: Paul Griffith [mailto:pa...@cse.yorku.ca] Sent: 19 September 2011 1:30 PM To: Tom Clark Cc: dovecot@dovecot.org Subject: Re: [Dovecot] mail_max_userip_connections=10 On 09/19/11 04:27, Tom Clark wrote: Hi, A couple of questions rather than

Re: [Dovecot] mail_max_userip_connections=10

2011-09-19 Thread Asai
On 9/19/2011 5:36 AM, Tom Clark wrote: Hi Paul, It's coming from the same IP address through his ADSL. Hence he gets the problem with max_userip_connections. I think I tracked down the problem. He's been using K9 mail which seems to have a problem where it doesn't release a connection and has

Re: [Dovecot] mail_max_userip_connections=10

2011-09-19 Thread Timo Sirainen
On 19.9.2011, at 20.43, Asai wrote: If you figure it out, please post the solution, because we're running into a similar issue right now with K9 mail where it's causing us to get this error:imap-login: Disconnected: Connection queue full That's a different problem. You need to increase

Re: [Dovecot] exceeded mail_max_userip_connections

2011-05-08 Thread Voytek Eymont
On Sun, May 8, 2011 12:03 pm, Voytek Eymont wrote: SSL: Connection secure. IMAP Server: Maximum number of connections from user+IP exceeded (mail_max_userip_connections) so if I have Squirell logged in all the time, plus K-9 running, plus occasionally use IMAP client on my Palm, how many

Re: [Dovecot] exceeded mail_max_userip_connections

2011-05-08 Thread Mark Sapiro
On 11:59 AM, Voytek Eymont wrote: On Sun, May 8, 2011 12:03 pm, Voytek Eymont wrote: SSL: Connection secure. IMAP Server: Maximum number of connections from user+IP exceeded (mail_max_userip_connections) so if I have Squirell logged in all the time, plus K-9 running, plus occasionally

Re: [Dovecot] exceeded mail_max_userip_connections

2011-05-08 Thread Voytek Eymont
On Mon, May 9, 2011 11:51 am, Mark Sapiro wrote: Voytek Eymont wrote: I thought it was 3.6x, I installed off market abt one week ago If you got it a week ago from the market, it's probably 3.604. thanks, 3.605 -- Voytek

[Dovecot] exceeded mail_max_userip_connections

2011-05-07 Thread Voytek Eymont
secure. IMAP Server: Maximum number of connections from user+IP exceeded (mail_max_userip_connections) Invalid login. Check username and password. DURATION: 3 END: 8/5/11 10:55 am Voytek Eymont ___ Sent from my iPalm/A with SnapperMail ™® www.snappermail.com

[Dovecot] Meaning of mail_max_userip_connections?

2010-09-27 Thread Harald Strack
Hi, I set mail_max_userip_connections in our IMAP configuration to mail_max_userip_connections = 10 to allow users 10 parallel connections. It seems that this also limits the amount of parallel connections from one IP but different users?! Our users mostly accessing the IMAP server

Re: [Dovecot] Meaning of mail_max_userip_connections?

2010-09-27 Thread Stan Hoeppner
Harald Strack put forth on 9/27/2010 3:59 AM: Hi, I set mail_max_userip_connections in our IMAP configuration to mail_max_userip_connections = 10 to allow users 10 parallel connections. It seems that this also limits the amount of parallel connections from one IP but different users

Re: [Dovecot] Meaning of mail_max_userip_connections?

2010-09-27 Thread Harald Strack
Hi Stan, thank you very much for your help! On Mon, 2010-09-27 at 04:24 -0500, Stan Hoeppner wrote: Harald Strack put forth on 9/27/2010 3:59 AM: Hi, I set mail_max_userip_connections in our IMAP configuration to mail_max_userip_connections = 10 to allow users 10 parallel

Re: [Dovecot] Meaning of mail_max_userip_connections?

2010-09-27 Thread Timo Sirainen
On Mon, 2010-09-27 at 12:17 +0200, Harald Strack wrote: Our users mostly accessing the IMAP server by a webmailer or proxies. Thus, all users (1) come from only 5 different IP. However, I got a lot of complaints about denied connections after setting mail_max_userip_connections

Re: [Dovecot] Meaning of mail_max_userip_connections?

2010-09-27 Thread Harald Strack
about denied connections after setting mail_max_userip_connections = 10. We want to limit the number of imap processes per user to 10, but not the number of processes per client IP (because of the proxies). For that mail_max_userip_connections should have worked. If you get

Re: [Dovecot] Meaning of mail_max_userip_connections?

2010-09-27 Thread Timo Sirainen
On Mon, 2010-09-27 at 15:30 +0200, Harald Strack wrote: Accordingly, mail_max_userip_connections limits the number of connections from an IP. To deal with a scenario, when 400 Users behind a NAT-gateway come from the same IP (the gateway), we have to set mail_max_userip_connections = 400

Re: [Dovecot] Meaning of mail_max_userip_connections?

2010-09-27 Thread Harald Strack
Hi Timo, On Mon, 2010-09-27 at 14:42 +0100, Timo Sirainen wrote: On Mon, 2010-09-27 at 15:30 +0200, Harald Strack wrote: Accordingly, mail_max_userip_connections limits the number of connections from an IP. To deal with a scenario, when 400 Users behind a NAT-gateway come from the same

Re: [Dovecot] Meaning of mail_max_userip_connections?

2010-09-27 Thread Timo Sirainen
On Mon, 2010-09-27 at 15:57 +0200, Harald Strack wrote: No, wrong. It's a user+ip combination. Each different user behind the same IP can use up to 10 connections with mail_max_userip_connections=10. Thanks a lot for your explanation! However, now I am at the beginning again. You could

Re: [Dovecot] mail_max_userip_connections

2009-12-15 Thread Timo Sirainen
On Thu, 2009-12-10 at 11:24 -0800, Richard Stockton wrote: What is the appropriate setting for mail_max_userip_connections ? My POP3 connections seem to be mostly 1 at a time, Right, there's rarely need for more. but my IMAP connections are often 3 per user per IP. Is this appropriate

[Dovecot] mail_max_userip_connections

2009-12-10 Thread Richard Stockton
What is the appropriate setting for mail_max_userip_connections ? My POP3 connections seem to be mostly 1 at a time, but my IMAP connections are often 3 per user per IP. Is this appropriate? If I change the IMAP setting to mail_max_userip_connections=1 will it break things for the user? I am

[Dovecot] Missing mail_max_userip_connections setting

2009-04-03 Thread Thomas M Goerger
Hi, I'm having a problem with a webmail client trying to open multiple IMAP connections with dovecot, and hitting a cap. I see from the error logs from this program that it's hitting the mail_max_userip_connections cap, but I'm not seeing this value as defined in the dovecot.conf file. Would

Re: [Dovecot] Missing mail_max_userip_connections setting

2009-04-03 Thread Timo Sirainen
On Fri, 2009-04-03 at 14:34 -0500, Thomas M Goerger wrote: Hi, I'm having a problem with a webmail client trying to open multiple IMAP connections with dovecot, and hitting a cap. I see from the error logs from this program that it's hitting the mail_max_userip_connections cap, but I'm