1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Commit Graph

2108 Commits

Author SHA1 Message Date
bors[bot]
96f832835a
Merge #1278
1278: Limiter implementation r=kaiyou a=micw

## What type of PR?

(Feature, enhancement, bug-fix, documentation)

## What does this PR do?

Adds a custom limter based on the "limits" lirary that counts up on failed auths only

### Related issue(s)
- closes #1195
- closes #634

## Prerequistes

- [X] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: Michael Wyraz <michael@wyraz.de>
Co-authored-by: micw <michael@wyraz.de>
2020-01-30 07:19:35 +00:00
bors[bot]
0bc10b7bc5
Merge #1269
1269: Add Fail2Ban section r=hoellen a=iohenkies

## What type of PR?
documentation

## What does this PR do?
This PR adds documentation to setup Fail2Ban to secure Mailu.

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

## Prerequistes
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/guide.html#changelog) entry file.

edit [@hoellen]: Give information about the PR and link issue.

Co-authored-by: iohenkies <33115951+iohenkies@users.noreply.github.com>
2020-01-29 18:59:50 +00:00
iohenkies
ae6f82984d Add Fail2Ban section 2020-01-29 11:41:31 +01:00
bors[bot]
9db709515a
Merge #1308
1308: Use redis 5 on k8s & add selector r=mergify[bot] a=der-eismann

## What type of PR?
Enhancement

## What does this PR do?
This PR is updating Redis to version 5 in the kubernetes manifests. It is already used in the compose and swarm files, so I don't expect any incompatibilities. There is no necessary migration, you just can't go back.
In addition I added a selector to the manifest and applied a consistent formatting.

## Prerequistes
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.

- [ ] 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/guide.html#changelog) entry file.


Co-authored-by: Philipp Trulson <philipp@trulson.de>
2020-01-23 16:22:02 +00:00
bors[bot]
761fade9a9
Merge #1316
1316: Fix the encoding of incoming user email and password r=mergify[bot] a=kaiyou

## What type of PR?

Bug fix

## What does this PR do?

As described in the changes, RFC2616 states that header should be considered ISO8859-1 in HTTP, which obviously nginx does not really care about when forwarding the password from SMTP authentication to the backend. Hence, we need to encode-then-decode passwords to get the proper value in case a special char is in there.

### Related issue(s)
- This fixes #1139 
- This is also related to #1281 
- This is also related to #1139

## Prerequistes
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/guide.html#changelog) entry file.


Co-authored-by: kaiyou <pierre@jaury.eu>
2020-01-19 17:25:19 +00:00
bors[bot]
ad041094e5
Merge #1319
1319: Upgrading to a 2048-bit DKIM key r=mergify[bot] a=radtkedev

## What type of PR?

Enhancement

## What does this PR do?

Upgrades to a 2048-bit DKIM key from the currently used and outdated 1024-bit DKIM key.

### Related issue(s)
- #1301 

Co-authored-by: Tom Radtke <tom@radtke.dev>
2020-01-19 16:45:19 +00:00
Tom Radtke
9d213b213a
Upgrading to a 2048-bit DKIM key 2020-01-16 16:47:27 +01:00
Torben Jensen
6f910c5738 Translated using Weblate (Danish)
Currently translated at 80.8% (122 of 151 strings)

Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/da/
2020-01-14 18:22:25 +00:00
kaiyou
e80589dda4 Add the newsfragment 2020-01-13 20:42:51 +01:00
kaiyou
9b7a027d6f Fix the encoding of incoming user email and password 2020-01-13 20:34:24 +01:00
Weblate
869f230e0d Merge branch 'origin/master' into Weblate 2020-01-13 11:44:10 +00:00
Torben Jensen
619a87a821 Added translation using Weblate (Danish) 2020-01-13 11:44:09 +00:00
bors[bot]
5fe6169e75
Merge #1312
1312: Fixed small typo r=mergify[bot] a=thunderstorm99

## What type of PR?
I fixed a small typo in the documentation regarding the MX record on the demo site.

Co-authored-by: Nils Jakobi <jakobi.nils@gmail.com>
2020-01-13 06:59:31 +00:00
Nils Jakobi
c4fbc93171
Fixed small typo 2020-01-11 10:13:53 +01:00
bors[bot]
1db4fe59a2
Merge #1303
1303: Update database.rst r=mergify[bot] a=AndreKoepke

Correct keyword for postgresql-flavor

## What type of PR?

documentation

## What does this PR do?
Fix wrong key in docs

## Prerequistes
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.

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


Co-authored-by: AndreKoepke <andre.koepke@haw-hamburg.de>
2020-01-10 18:19:31 +00:00
bors[bot]
812439332a
Merge #1299
1299: Don't remove the address extension in postfix r=mergify[bot] a=RobertMe

## What type of PR?
Bugfix

## What does this PR do?
Currently when the mail address is looked up by Postfix (using the admin
part) the address extension is removed. This is due to the address
extension being removed to look up the user, and afterwards returning
the users mail address. But by not returning the mail address including
the address extension it also isn't part anymore in the LMTP
communication to Dovecot. So Dovecot doesn't know about the extension,
and in turn the address extension can't be used in Sieve mail filtering.

This change fixes that by returning the original address by just
concatinating the "localpart" and domain again when the user is found.

### Related issue(s)
Fixes #982

## Prerequistes
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.

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


Co-authored-by: Robert Meijers <robert.meijers@gmail.com>
2020-01-10 17:52:27 +00:00
bors[bot]
6ae06f0b2d
Merge #1307
1307: Update Roundcube to 1.4.2 r=hoellen a=hoellen

## What type of PR?
enhancement

## What does this PR do?
Update Roundcube to 1.4.2 (see [here](https://github.com/roundcube/roundcubemail/releases/tag/1.4.2))


Co-authored-by: hoellen <dev@hoellen.eu>
2020-01-08 21:04:00 +00:00
Philipp Trulson
3b9281501a Use redis 5 on k8s & add selector 2020-01-07 21:24:39 +01:00
hoellen
94bfd7770b Update Roundcube to 1.4.2 2020-01-07 20:36:58 +01:00
Weblate
97b9098eb9 Merge branch 'origin/master' into Weblate 2020-01-06 12:22:07 +00:00
Angedestenebres
c09f046ba7 Translated using Weblate (French)
Currently translated at 100.0% (163 of 163 strings)

Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/fr/
2020-01-06 12:22:06 +00:00
micw
7688caa784
Add missing self. 2020-01-05 19:44:06 +01:00
bors[bot]
bd92cea3cb
Merge #1305
1305: Certwatcher: Use polling observer to workaround some symlink limitations r=mergify[bot] a=micw

## What type of PR?

bug-fix

## What does this PR do?

switch from inotify observer to polling observer to properly handle scenarios where the certs are symlinks to symlinks (e.g. on kubernetes with mounted secrets).

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

## Prerequistes
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.

minor fix only


Co-authored-by: Michael Wyraz <michael@wyraz.de>
2020-01-04 16:25:53 +00:00
Michael Wyraz
ace475d23c Certwatcher: Use polling observer to workaround some symlink limitations 2020-01-04 14:39:31 +01:00
AndreKoepke
b42b48b836
Update database.rst
Correct keyword for postgresql-flavor
2019-12-30 15:10:26 +01:00
Robert Meijers
989e4d5db5 Don't remove the address extension in postfix
Currently when the mail address is looked up by Postfix (using the admin
part) the address extension is removed. This is due to the address
extension being removed to look up the user, and afterwards returning
the users mail address. But by not returning the mail address including
the address extension it also isn't part anymore in the LMTP
communication to Dovecot. So Dovecot doesn't know about the extension,
and in turn the address extension can't be used in Sieve mail filtering.

This change fixes that by returning the original address by just
concatinating the "localpart" and domain again when the user is found.

Fixes #982
2019-12-27 21:11:50 +01:00
bors[bot]
5d20f2893a
Merge #1291
1291: Upgrade alpine to get new clamav. r=mergify[bot] a=youngnicks

## What type of PR?
bug-fix

## What does this PR do?
Upgrades alpine version to get new clamav. Also upgrades clamav config to latest variable names.

### Related issue(s)
- Auto close an issue like: closes #1290


Co-authored-by: Nick Young <nick@bublup.com>
2019-12-24 08:33:46 +00:00
Nick Young
0281205313
Upgrade alpine to get new clamav. 2019-12-23 08:57:41 -06:00
Weblate
2b503332a0 Merge branch 'origin/master' into Weblate 2019-12-18 15:06:55 +00:00
Marc Riera
ba7364d5e9 Added translation using Weblate (Catalan) 2019-12-18 15:06:54 +00:00
Michael Wyraz
70f797dbd9 Don't raise rate limit exception on hit(), only on check() 2019-12-16 18:47:21 +01:00
Michael Wyraz
a7f787f914 Make rate limit for subnet (webmail) configurable 2019-12-16 18:46:17 +01:00
bors[bot]
f8a5dd000e
Merge #1241
1241: Change extensions/v1beta to apps/v1 to be compliant with Kubernetes 1.16 r=mergify[bot] a=WebSpider


## What type of PR?

Enhancement

## What does this PR do?

Changes to Kubernetes YAML files to be able to use this in Kubernetes 1.16

### Related issue(s)
- Fixes #1237

## Prerequistes
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.

- N/A 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/guide.html#changelog) entry file.


Co-authored-by: WebSpider <webspider@bitlair.nl>
Co-authored-by: micw <michael@wyraz.de>
2019-12-16 17:05:44 +00:00
bors[bot]
23518be19f
Merge #1250
1250: Allow build of tagged versions and pre-releases r=mergify[bot] a=micw

## What type of PR?

enhancement

## What does this PR do?

- Enable travis builds for version tags in the format 1.7.1 (for 1.5.x, 1.6.x and 1.7.x)
- Enable travis builds for version tags in the format 1.8-pre1

### Related issue(s)
- #1182
- closes #1245

## Prerequistes

None, it just enables the builds, no code/feature changed yet.

Co-authored-by: Michael Wyraz <michael@wyraz.de>
2019-12-16 07:19:35 +00:00
bors[bot]
cfd838f310
Merge #1215
1215: Allow specifying the traefik version for cert dumping r=mergify[bot] a=timoschwarzer

## What type of PR?

Enhancement

## What does this PR do?

### Related issue(s)
- #1011 

## Prerequistes
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/guide.html#changelog) entry file.


Co-authored-by: Timo Schwarzer <me@timoschwarzer.com>
2019-12-09 11:55:17 +00:00
Michael Wyraz
bee80b5c64 Remove rate limit reset 2019-12-06 11:02:21 +01:00
bors[bot]
8fb3c688e7
Merge #1267
1267: Update roundcube to 1.4.0 and enable new elastic skin r=hoellen a=hoellen

## What type of PR?
enhancement

## What does this PR do?
This PR brings the new roundcube 1.4.0 release with the new elastic skin.
![grafik](https://user-images.githubusercontent.com/11299996/69373290-c86cd680-0ca3-11ea-8dd5-d76beafc65a6.png)
![grafik](https://user-images.githubusercontent.com/11299996/69373358-e6d2d200-0ca3-11ea-8b92-3b8a528eb6c0.png)


As an idea we could integrate the Mailu logo in a next step to customize the webmail client a bit.

## Prerequistes
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/guide.html#changelog) entry file.


Co-authored-by: hoellen <dev@hoellen.eu>
2019-12-06 09:41:19 +00:00
bors[bot]
09be8c801e
Merge #1266
1266: Install py3-multidict from repository before installing socrate r=hoellen a=micw

 to avoid the need of gcc during build

## What type of PR?

bug-fix

## What does this PR do?

Install py3-multidict on Docker images where socrate is used. Otherwise the build fails on socrate >=2.5 due to missing gcc


Co-authored-by: Michael Wyraz <michael@wyraz.de>
2019-12-06 09:10:07 +00:00
Michael Wyraz
c079f2ac4a Changelog 2019-12-06 09:38:25 +01:00
Michael Wyraz
889386b4a6 Limiter implementation 2019-12-06 09:35:21 +01:00
Michael Wyraz
fb9ddbca7a Install p3-yarn as dependency for podop 2019-12-04 20:05:42 +01:00
Michael Wyraz
09ee3ce95c Install py3-multidict from repository before installing socrate to avoid the need of gcc during build 2019-12-04 19:05:14 +01:00
Mordi Sacks
ebc39b5308 Translated using Weblate (Hebrew)
Currently translated at 6.0% (9 of 151 strings)

Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/he/
2019-11-27 22:20:29 +00:00
Weblate
2d6aa77925 Merge branch 'origin/master' into Weblate 2019-11-26 21:21:22 +00:00
Mordi Sacks
5b23e30b39 Added translation using Weblate (Hebrew) 2019-11-26 21:21:21 +00:00
hoellen
30d924b2c3 Update Roundcube to 1.4.1 2019-11-24 10:48:18 +01:00
hoellen
18a625e209 add changelog 2019-11-21 21:18:07 +01:00
hoellen
fc320028a9 Update roundcube to 1.4.0 and enable new skin 2019-11-21 21:12:21 +01:00
Michael Wyraz
2796ae00d7 Allow build of tagged versions and pre-releases 2019-11-21 11:17:53 +01:00
bors[bot]
5693f5dc14
Merge #1259
1259: Antivirus reject r=mergify[bot] a=micw

## What type of PR?

enhancement + documentation)

## What does this PR do?

- document behaviour if virus is detected
- add option to reject viruses in smtp dialogue

### Related issue(s)
- #1155

## Prerequistes

- [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/guide.html#changelog) entry file.


Co-authored-by: Michael Wyraz <michael@wyraz.de>
2019-11-20 06:54:35 +00:00