A simple and extensible webmail.
This guide assumes that you are running docker compose, your mailu folder is "/mailu/" and your mailu containers are using default names you also need to run some of the commands as root
Clone this repository with the docker file:
git clone https://github.com/Willow0349/alps.git
Enter the alps folder:
cd alps
Build the docker image:
docker build --no-cache --pull -t alps-webmail:1.0 .
To export your nginx config run:
docker cp mailu-front-1:/etc/nginx/nginx.conf /mailu/overrides/nginx/nginx.conf
Now edit the nginx config /mailu/overrides/nginx/nginx.conf
you need to change:
location /webmail/sso.php {
To: location /webmail/login {
And
try_files $uri /webmail?homepage;
To: try_files $uri /webmail;
Make sure to keep the indentation the same.
Change - "/mailu/overrides/nginx:/overrides:ro"
To: - "/mailu/overrides/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
And Change image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}webmail:${MAILU_VERSION:-2.0}
To: image: alps-webmail:1.0
Again make sure to keep the indentation the same.
docker compose down && docker compose up -d