Mailu: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 15: | Line 15: | ||
Once the containers have started, you should be able to navigate to the admin console under {{code|/admin}}. | Once the containers have started, you should be able to navigate to the admin console under {{code|/admin}}. | ||
== Troubleshooting == | |||
=== Periodic 'Authentication Failed' Errors === | |||
Looking at the logs, you see: | |||
{{highlight|lang=terminal|code= | |||
front_1 | 2019/11/24 22:34:26 [info] 10#10: *216931 client login failed: "Authentication rate limit from one source exceeded" while in http auth state, client: 192.168.203.8, server: 0.0.0.0:10143, login: "user@domain.com" | |||
}} | |||
It looks like rainloop is causing a bunch of authentication requests for each HTTP request that is served. This then causes the authentication rate limit to hit. | |||
Revision as of 22:49, 24 November 2019
Mailu is a fully-featured mail server solution that runs under Docker Swarm or with Docker Compose. It automatically integrates all opensource software and includes Postfix, Dovecot, and RSpamd.
Project website is at https://mailu.io/1.7/
Installation
Installation is as simple as obtaining a docker-compose configuration file and starting the stack. Obtain a docker-compose config from: https://setup.mailu.io/1.7/
Ensure that all domains used in the configuration are properly resolving to your server. The config also assumes that you do not have any custom reverse proxy set up (such as with Traefik) as it bundles its own 'front' proxy.
Bring up the containers, then create a new admin account:
# docker-compose up -d
# docker-compose exec admin flask mailu admin admin steamr.com password
Once the containers have started, you should be able to navigate to the admin console under /admin.
Troubleshooting
Periodic 'Authentication Failed' Errors
Looking at the logs, you see:
front_1
It looks like rainloop is causing a bunch of authentication requests for each HTTP request that is served. This then causes the authentication rate limit to hit.