1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-07-05 00:49:29 +02:00
Commit Graph

196 Commits

Author SHA1 Message Date
cfec4c58cc Add a new CNAME for old MUAs 2024-08-04 10:54:49 +02:00
98b3016bbd Update models.py 2024-06-26 11:21:29 +02:00
cdbfa4ee01 optimize as per review 2024-06-24 08:58:39 +02:00
5fb44bd719 Don't let people disable 465 and 993
This is what we use for the other type of autoconfig... and really what
everyone should be using.
2024-06-22 10:23:14 +02:00
b3d49599cf Update autoconfig too 2024-06-22 10:16:15 +02:00
0171c6d0f8 review 2024-03-11 11:12:53 +01:00
7089cfea48 Ensure we also pin ISRG X2 in TLSA 2024-03-11 10:21:54 +01:00
1612b11e62 Merge #3138
3138: Update dependencies and re-enable flask toolbar r=nextgens a=ghostwheel42

## What type of PR?

bug-fix

## What does this PR do?

Update python dependencies to versions without known security vulnerabilities.
Also re-enable flask debug toolbar which was disabled earlier.

werkzeug < 2.3.8: CVE-2023-46136
aiohttp < 3.9.0: CVE-2023-49081 CVE-2023-49082
cryptography >= 3.1 < 41.0.6: CVE-2023-49083
jinja2 < 3.1.3: CVE-2024-22195

Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2024-02-29 17:45:16 +00:00
324b723efa Add trailing semicolon for DMARC authorisation record
This seems to be necessary: https://stackoverflow.com/a/72463456
2024-01-26 12:59:44 +01:00
a1e395c581 Update dependencies and re-enable flask toolbar 2024-01-21 18:42:51 +01:00
16af54b15d Only use split key in zonefile, not in gui/api/export 2023-10-30 16:00:43 +01:00
fb072ebfa1 more pythonic way of doing the same thing 2023-08-19 16:37:16 +02:00
0e4c29c269 Clarify further, use the API suggested by ghostwheel42 in (b) 2023-08-19 16:35:22 +02:00
786da5e08c clarify 2023-08-11 09:03:42 +02:00
bd4c40b596 Prune sessions that are unrelated when changing passwords 2023-08-10 12:27:47 +02:00
9bcbbdee02 Implement a 'force-password-change' feature 2023-08-10 12:06:15 +02:00
69229436cf Merge #2866
2866: Improve tokens (add ipranges) r=nextgens a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Allow multiple IP addresses/networks to be set for tokens.

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

- [ ] 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>
2023-06-26 10:02:58 +00:00
29cd857c5f Allow multiple IP addresses/networks to be set for tokens 2023-06-23 15:56:41 +02:00
f143aa3dc8 Use dovecot-proxy where appropriate 2023-06-05 10:23:30 +02:00
e76e857ae7 Fix smtplib.LMTP wrong argument name: ip -> host 2023-01-11 18:05:19 +01:00
ca44ccbe1c Use the size other implementations default to 2022-12-29 17:02:05 +01:00
bd20ef04cc change field type to db.text 2022-12-22 18:10:13 +08:00
4e3874b0c1 Enable dynamic resolution of hostnames 2022-12-08 13:00:50 +01:00
3721a6aa02 Merge branch 'master' of https://github.com/Mailu/Mailu into HEAD 2022-11-24 15:20:01 +01:00
9c6e9b05db Merge #2543
2543: Fix #2231: make public announcements work r=nextgens a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Ensure public announcements bypass filters.

They can still time-out... but this is already a big improvement that we should be able to backport.

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

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

- [ ] 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>
2022-11-23 09:32:17 +00:00
38507b2e1b Close #2372: Implement a GUI for WILDCARD_SENDERS 2022-11-20 10:19:28 +01:00
b20bf996ec Fix #2231: make public announcements work 2022-11-19 18:44:30 +01:00
08a9ab9a56 Improve fetchmail 2022-11-14 12:18:35 +01:00
wkr
d920b3d037 fix(auto-reply): include start and end dates in the auto-reply period; issue #2512 2022-11-02 17:48:22 +01:00
12480ccbff Merge #2328
2328: Feature: Configurable default spam threshold used for new users r=mergify[bot] a=enginefeeder101

## What type of PR?

Feature

## What does this PR do?

This PR adds functionality to set a custom default spam threshold
for new users. The environment variable ``DEFAULT_SPAM_THRESHOLD`` is
used for this purpose. When not set, it defaults back to 80%, as the
default value was before.

If ``DEFAULT_SPAM_THRESHOLD`` is set to a value that Python cannot
parse as an integer, a ValueError is thrown. There is no error handling
for that case built-in. Should that be done?

## 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: enginefeeder101 <enginefeeder101@users.noreply.github.com>
Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
2022-10-29 11:44:04 +00:00
06b784da57 Shorten default function by using lambda 2022-10-29 08:57:48 +00:00
6b785abb01 Rename flag_updated_at_as_modified to dont_change_updated_at 2022-10-28 10:05:47 +02:00
bda404182f Replace before update listener with method in the Base class 2022-10-07 11:17:46 +02:00
102d96bc7d Implement event lister to keep updated_at unchanged on quota_bytes_used updates 2022-09-26 09:48:29 +02:00
81c9e01d24 finishing touches for PR# 2328
Antispam.rst contained a syntax error.
Move config description to common section which is more fitting.
Fixed wrong assignment of default value for DEFAULT_SPAM_THRESHOLD in models.py.
2022-08-19 17:58:33 +00:00
5179cf0618 Fix localpart splitting and make code more readable. 2022-07-28 16:20:01 +02:00
82860d0f80 Moved parsing environment variable to global application config dictionary
Per requested changes added the ``DEFAULT_SPAM_THRESHOLD`` to the main
application configuration dictionary in ``configuration.py`` and updated
``models.py`` accordingly.
No error handling is added, as that was not required.
2022-06-08 17:13:38 +02:00
6c83d25312 Configurable default spam threshold used for new users
This commit adds functionality to set a custom default spam threshold
for new users. The environment variable ``DEFAULT_SPAM_THRESHOLD`` can
be used for this purpose. When not set, it defaults back to 80%, as the
default value was before
If ``DEFAULT_SPAM_THRESHOLD`` is set to a value that Python cannot
parse as an integer, a ValueError is thrown. There is no error handling
for that case built-in.
2022-06-08 16:59:28 +02:00
04b7ddfffd Merge remote-tracking branch 'upstream/master' into Riscue-master 2022-05-22 19:01:31 +02:00
3aa735cc2d ghostwheel42's suggestion 2022-03-17 11:37:01 +01:00
71897f4ff0 Doh 2022-03-16 14:04:02 +01:00
81b592f3cb try to get LE certs for the new names 2022-03-16 14:04:02 +01:00
a3f9e2beee Use priorities instead 2022-03-16 14:04:02 +01:00
2b62a6327a Do explicit TLS where possible 2022-03-16 14:04:02 +01:00
c817eaf608 Add the SRV record for autodiscover 2022-03-16 14:04:02 +01:00
f65e2fc469 Feature: Marking "Read" spam mails 2022-03-11 16:58:50 +03:00
e4a32b55f5 Send ISRG_X1 on port 25, make DANE pin that 2022-02-19 14:35:45 +01:00
b9e614145f there too 2022-01-21 15:01:23 +01:00
98973223fd reduce TTL to 1d 2022-01-05 11:37:29 +01:00
792893caae change TTL to 1y 2022-01-05 10:41:25 +01:00