1 (edited by tyllee 2014-02-04 06:36:46)

Topic: Multiple IMAP connections same user and IP

======== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Debian 6
- Related log if you're reporting an issue: /var/log/dovecot.og
====

I'm trying to share one account across many clients on the same network.

error:
imap-login: Info: Maximum number of connections from user+IP exceeded (mail_max_userip_connections): user=

It's bad to have many connections from same IP and user according to this post:
http://www.iredmail.org/forum/post16699.html#p16699

The suggestion is using aliases.

Can I use shared folders instead?
E.g. http://wiki2.dovecot.org/SharedMailboxes/Symlinks
Is this a way of solving the problem?

Do iredmail have support for shared folders?
http://www.iredmail.org/wiki/index.php? … MAP.Folder
Is this up to date? The plugin link is not working.
And what about the security, is there any security concerns?

This is working:
ln -s /var/vmail/vmail1/domain.tld/u/s/e/user1-2014.02.01.15.40.05/Maildir /var/vmail/vmail1/domain.tld/u/s/e/user2-2014.02.01.14.36.42/Maildir/.shared.user1

SMTP:
What about smtp? Is there any limitations with user1 using SMTP server from same IP?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Multiple IMAP connections same user and IP

tyllee wrote:

imap-login: Info: Maximum number of connections from user+IP exceeded (mail_max_userip_connections): user=

It already give you clue to solve this issue. You can solve it by simply increasing value of parameter "mail_max_userip_connections" in Dovecot config file (/etc/dovecot/dovecot.conf). For example:

mail_max_userip_connections = 20

Default value is 10.

3 (edited by tyllee 2014-02-05 17:09:39)

Re: Multiple IMAP connections same user and IP

http://www.iredmail.org/forum/post16699.html#p16699

ZhangHuangbin wrote:

ZhangHuangbin2009-11-17 03:41:32

It's dangerous. Why not use an alias account, set these three people as member of alias?
Such as:
support@domain.ltd -> [people01, people02, people03]@domain.ltd


So, your old answer that it's dangerous is not the case any more?

4

Re: Multiple IMAP connections same user and IP

I have to apologize about my mistake, sorry. Dovecot wiki site and sample config files doesn't mention this is "dangerous", so it was my personal mistake. It's safe to increase it.