707 Commits

Author SHA1 Message Date
Dimitri Huisman
70bf716f1a Update admin password for demo server 2023-09-28 07:05:25 +00:00
Florent Daigniere
2bc9405caf Remove the usage of capabilities use port 8080
In the real world users can't get them to work...

(cherry picked from commit 562cd8c135)

# Conflicts:
#	core/admin/start.py
#	core/nginx/dovecot/login.lua
2023-08-29 06:35:05 +00:00
Florent Daigniere
c9cff88638 update docs
(cherry picked from commit 41757334e2)
2023-05-19 15:38:36 +00:00
Florent Daigniere
0f6629ca19 Update faq.rst 2023-05-03 14:32:49 +02:00
Florent Daigniere
a4bfc5f6a7 Update faq.rst 2023-04-28 07:48:34 +02:00
Florent Daigniere
75f7b39382 Another typo
(cherry picked from commit 0dd93c16e5)
2023-04-27 16:24:27 +00:00
Florent Daigniere
a670b4c777 typo
(cherry picked from commit 544a8a13a6)
2023-04-27 16:24:27 +00:00
Florent Daigniere
ed84cc46b2 Document in the FAQ
(cherry picked from commit 6be5fbe9c7)
2023-04-27 16:24:26 +00:00
Florent Daigniere
539d8e4361 COMPRESSION_LEVEL too
(cherry picked from commit 68e60c05ae)
2023-04-22 09:47:27 +00:00
Florent Daigniere
9b7c356fe1 fix #2139
(cherry picked from commit e71c653c8c)
2023-04-22 09:47:27 +00:00
Dimitri Huisman
cde1083809 Add reminder to configure mta-sts
(cherry picked from commit 410e1d3ec4)
2023-04-06 11:26:35 +00:00
Florent Daigniere
35d47b7126 Update releases.rst
(cherry picked from commit a15566a303)
2023-04-06 11:26:35 +00:00
Dimitri Huisman
e83e725085 Improve releases.rst.
Add extra links to relevant sections in documentation.
Add example of using the new override location for rspamd.
Add clarification  in rspamd section for rspamd override change and new autoconfig.* endpoint

(cherry picked from commit 0faae50302)
2023-04-06 11:26:35 +00:00
Dimitri Huisman
829c53cf75 Further improve releases.rst 2023-04-04 19:46:07 +00:00
Florent Daigniere
83ce32f73e Clarify 2023-04-04 11:57:37 +02:00
Florent Daigniere
deb1893870 doh 2023-04-04 11:01:03 +02:00
Dimitri Huisman
e88fa6a1f5 Merge branch 'master' into new-release-mailu 2023-04-04 08:00:25 +00:00
Florent Daigniere
63ab4938c9 Fix doc 2023-04-04 09:21:24 +02:00
bors[bot]
cae01a36b4 Merge #2732
2732: Only account for distinct attempts in rate limits r=mergify[bot] a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Only account for distinct attempts in rate limits. This is solving the problem related to users changing their passwords and having their client hammer the old credentials.

Reduce the default to 50 distinct passwords per day

### Related issue(s)

## Prerequisites
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
2023-04-03 20:40:10 +00:00
Dimitri Huisman
2ac8ba24b6 Make the journald container tag changes consistent 2023-04-03 17:27:30 +00:00
Florent Daigniere
96211df0c3 Update releases.rst 2023-04-03 18:02:03 +02:00
Florent Daigniere
353a7d4241 Update releases.rst 2023-04-03 17:47:39 +02:00
Dimitri Huisman
453acad21f Initial changes for Mailu 2.0 release 2023-04-02 16:45:42 +00:00
Florent Daigniere
920f817009 LOG_DRIVER just doesn't work 2023-04-02 17:09:43 +02:00
Florent Daigniere
04a2cdab2f Only account for distinct attempts in rate limits 2023-04-01 11:33:02 +02:00
Didier Raboud
dcd3a45dba nginx with proxy protocol: clarify documentation 2023-03-28 17:38:20 +02:00
Didier 'OdyX' Raboud
c833ef1a47 nginx behind proxy: attackers are not only men 2023-03-28 09:09:11 +02:00
Didier 'OdyX' Raboud
3877635502 nginx with PROXY protocol; much stronger wording 2023-03-28 09:09:09 +02:00
Didier 'OdyX' Raboud
d9ed3cd179 nginx: Allow http and/or mail servers to accept the PROXY protocol
See #2300 for the initial proposal
2023-03-28 09:08:38 +02:00
Didier 'OdyX' Raboud
54b89d1efc Fix a later/latter typo 2023-03-28 09:08:38 +02:00
Florent Daigniere
5790b0a84b Rephrase the doc 2023-03-26 18:55:55 +02:00
Dimitri Huisman
709edb522b Introduce connection string (database url) for roundcube.
Remove database choice from setup.
Remove the old *DB_* database env variables from the documentation.
The env vars are deprecated now. They will be removed after the upcoming
Mailu release.
2023-03-26 12:21:00 +00:00
Florent Daigniere
46e803fdff Update setup.rst 2023-03-23 15:50:27 +01:00
Florent Daigniere
61a40e203a Update docs/setup.rst 2023-03-23 15:49:43 +01:00
Florent Daigniere
cb5e0934cb Update docs/setup.rst 2023-03-23 15:47:43 +01:00
Florent Daigniere
c9df6161ba Update docs/compose/requirements.rst 2023-03-23 15:45:42 +01:00
Florent Daigniere
8391936dc2 Update docs/compose/requirements.rst 2023-03-23 15:45:31 +01:00
Dimitri Huisman
5bd528319b Provide a changelog for minor releases. The github release will now:
* Provide the changelog message from the newsfragment of the PR that triggered the backport.
* Provide a github link to the PR/issue of the PR that was backported.

Switch to building multi-arch images. The images build for pull requests, master and production
are now multi-arch images for the architectures:
* linux/amd64
* linux/arm64/v8
* linux/arm/v7

Enhance CI/CD workflow with retry functionality. All steps for building images are now automatically
retried. If a build temporarily fails due to a network error, the retried step will still succeed.
2023-03-21 14:47:37 +00:00
bors[bot]
5fbfb3cb1c Merge #2566
2566: Make it clear that we don't delete users r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Make it clear that we don't delete users. Users can and should be disabled when not in use anymore.

### Related issue(s)
- closes #1820

## Prerequisites
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] In case of feature or enhancement: documentation updated accordingly
- [ ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com>
2023-03-17 11:55:11 +00:00
Dimitri Huisman
da4934847f Fix typo and wording in faq.rst 2023-03-17 11:52:46 +01:00
bors[bot]
1d360055b7 Merge #2705
2705: Switch from docker.io to ghcr.io for deploying images r=nextgens a=Diman0

## What type of PR?

enhancement

## What does this PR do?
As we all know, docker has announced that they will stop with free docker organisations. The Mailu project used this. In about a month, the mailu docker org stops to exist and all images will be deleted.

This PR modifies the CI/CD workflow (github actions) to use ghcr.io as the container registry for deployed images. The images are first build with `-build` appended to the tag. These images are also used in the test step. Only in the deploy phase, are the final tags added (as it should be). This makes sure new images are only available after the deployment step.

The setup utility is updated to use `ghcr.io/mailu` as the docker_org.

All references to the docker org `mailu` have been replaced with `ghcr.io/mailu` in the documentation.

I confirmed via my Mailu_Fork repo that the github workflow works fine. 
https://github.com/Diman0/Mailu_Fork/actions/runs/4440118095

### Related issue(s)
- closes #2704 

## Prerequisites
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
2023-03-17 08:01:41 +00:00
Dimitri Huisman
120cd34989 Switch the container registry used for deploying images from docker
to ghcr.io (github). Images are now first build with '-build'
appended to the tag. E.g. ghcr.io/mailu/admin:master-build.
This is to prevent the image being available before automatic testing has completed.
In the deploy job, the final image is pushed (this still works the same).

Update setup & documentation for switch to ghcr.io
2023-03-16 17:38:25 +00:00
Dimitri Huisman
31faee4218 Merge branch 'master' into delete-disable 2023-03-15 18:16:46 +01:00
Dimitri Huisman
b99828c4f6 Fix broken link. Add extra clarification for login targets. 2023-03-15 16:04:30 +00:00
Florent Daigniere
925c753f40 Merge branch 'master' of https://github.com/Mailu/Mailu into guess-target 2023-03-12 19:43:05 +01:00
Florent Daigniere
b607375603 Fix 2692: make the external auth proxy usable 2023-03-12 19:40:44 +01:00
Florent Daigniere
1b045b4a94 Introduce AUTH_PROXY_LOGOUT_URL 2023-03-12 18:07:25 +01:00
Florent Daigniere
d9527e561e Renumber and clarify 2023-03-12 12:39:27 +01:00
Florent Daigniere
331bda3822 the space may or may not exist 2023-03-12 12:06:27 +01:00
Florent Daigniere
61ca539d6d Merge branch 'master' of https://github.com/Mailu/Mailu into fail2ban-update 2023-03-12 11:18:25 +01:00