haraka / haraka-plugin-limit

Enforce many types of limits on a Haraka mail server.
https://www.npmjs.com/package/haraka-plugin-limit
MIT License
10 stars 14 forks source link

Maximum number of simultaneous connections per IP address disconnecting before limit. #2

Closed peter-korinek closed 7 years ago

peter-korinek commented 7 years ago

Hi! We are trying to implement the limit plugin (version 1.0.2), but it is disconnecting to soon. Maybe as soon as 8 concurrent connections.

Our limit.ini consist only of two rows. [concurrency] max=500

What are we doing wrong? Please advise! :) Peter

We use Haraka Version: 2.8.13

Attached, limit.ini, plugins and example from our log

limit.ini.txt plugins.txt example_from_log.txt

msimerson commented 7 years ago

"421 connection rate limit exceeded"

You aren't hitting concurrency limits, you're hitting the rate limits. Have a look at the default limit.ini file and then raise the rate limits.

msimerson commented 7 years ago

Follow up here if you require more assistance.

msimerson commented 7 years ago

@peter-korinek , does #3 make this plugin work more like you expected?