50 Commits (e674a6fe3d7ed08d6ee830a9eeea8be5ec43a31a)

Author SHA1 Message Date
Ionut Filip e548c4e531 Moved towncrier to project root 6 years ago
bors[bot] d3a5c70589 Merge #907
907: Don't generate the clamav configuration if ANTIVIRUS is none. r=mergify[bot] a=mvaled

## What type of PR?

bug-fix

## What does this PR do?

Avoid rspamd to try to connect to clamav if you choose ANTIVIRUS="none".  Otherwise the rspamd will try to connect to none, timing out several times and leading to poor performance.

I have a server without CLAMAV; and I'm getting times up to 45s:

```
$ grep 'CLAMAV' ~/downloads/logs-from-antispam-in-mailu-security-5d75fb987-kv958.txt | grep -o 'time: [^m]*'
time: 45011.089
time: 45126.002
time: 45002.024
time: 45037.436
time: 45006.775
...
```

Mails for which clamav is not used range from a tens of miliseconds to a few hundred.


## 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: place entry in the [changelog](CHANGELOG.md), under the latest un-released version.


Co-authored-by: Manuel Vázquez Acosta <manuel@merchise.org>
6 years ago
bors[bot] 86b4242f82 Merge #886
886: Ipv6 support r=mergify[bot] a=muhlemmer

## What type of PR?

(Feature, enhancement, bug-fix, documentation) -> A bit of everything

## What does this PR do?

Document how to use ipv6nat. This, however triggers some kind of flaky behavior with the Docker DNS resolver, resulting in lookup failures between containers.  So all resolving needs to be done during container startup/configuration.

In order not to pollute every single start.py file, we've created a small library called [Mailu/MailuStart](https://github.com/Mailu/MailuStart). As an addition, this library also defines the template generation function, including its logging facility.

Note: `docker-compose.yml` downgrade is necessary, as IPv6 settings are not supported by the Docker Compose file format 3 😞  

### Related issue(s)
Supersedes  PR #844
- Fixes #827 
- Hopefully helps with #829 and #834

## No backport yet

This PR directly imports MailuStart from git. This makes it a bit more simple to implement on the short term an do some testing and probably some future improvements. When everything is proved stable, we will create a proper PyPi package with versioning and consider back porting.

## 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: place entry in the [changelog](CHANGELOG.md), under the latest un-released version.


Co-authored-by: Ionut Filip <ionut.philip@gmail.com>
Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>
6 years ago
Manuel Vázquez Acosta 27bbab97d6
Add Changlog entry. 6 years ago
Tim Möhlmann 06457e9617
Merge branch 'master' into fix_fetches_create 6 years ago
Dario Ernst 34b31727c4 Fix password validator for creating fetched accounts 6 years ago
hoellen fba246e9a1 add wildcard option to cli (alias) 6 years ago
hoellen 808092c65e
Merge pull request #834 from hoellen/token-ipv6
allow ipv6 addresses for tokens
6 years ago
Nebukadneza f050140be2
Merge pull request #850 from merchise/issue-846
Check if sender address is not null before trying to check the domain.
6 years ago
Tim Möhlmann b46fd3bde4
Move changelog entry to 1.6.1 6 years ago
Tim Möhlmann e341e0141f
Merge remote-tracking branch 'upstream/master' into token-ipv6 6 years ago
Manuel Vázquez Acosta dfe5ddb18e
Check if sender address is not null before trying to check the domain. 6 years ago
Thomas Sänger bb5852cc1c
add unbound priv-drop to changelog 6 years ago
Tim Möhlmann de8e6f74ea
1.6 release notes (#845)
* 1.6 release!
* Fix typo in release notes
* Rectify Alpine 3.8.2 in release notes
6 years ago
Tim Möhlmann 7bb9082984
Remove docker-compose v3 from CHANGELOG 6 years ago
Tim Möhlmann 3460872747
Documentation on IPv6 6 years ago
hoellen 54169db7e3
Merge branch 'master' into fix-forward-validation 6 years ago
Ionut Filip d24b4b37ab Add entry in changelog 6 years ago
hoellen c8758a6526 allow ipv6 addresses for tokens 6 years ago
Dario Ernst 66df7a31b0 Unify and coerce booleans from env used in admin
At some places, the string that DOMAIN_REGISTRATION is got used like a boolean
(an easy misassumption to make while in python and dealing with the config
dict), making `DOMAIN_REGISTRATION=False` act as a truthy value. To stop such
future problems from happening, coerce environment config strings to real
bools.

closes #830
6 years ago
mergify[bot] 99cd1d714b
Merge pull request #799 from hoellen/fix-domain-negative-values-1
don't allow negative values on domain creation/edit
6 years ago
Tim Möhlmann 2567646f47
Merge branch 'master' into fix-domain-negative-values-1 6 years ago
Ionut Filip 50343f354e Merge remote-tracking branch 'upstream/master' into feat-psql-support 6 years ago
Ionut Filip d821fc4bbe Added entry in changelog 6 years ago
Thomas Sänger 492f3867d8
remove (broken) FTS 6 years ago
mergify[bot] 520ebbb97d
Merge pull request #819 from hoellen/move-spam-1
Mark messages as seen when reporting them as spam
6 years ago
hoellen 7247b4b10c
Merge branch 'master' into fix-password-on-user-edit 6 years ago
hoellen b65d70cf1e mark spam as seen 6 years ago
hoellen f08491dc46 fix forced password on user edit 6 years ago
hoellen ff9558026d fix typo 6 years ago
hoellen 732b5fe161 change password field type in fetch creation/edit and add validators. 6 years ago
mergify[bot] 4204facd85
Merge pull request #810 from usrpro/feat-logging
Implement some degree of logging
6 years ago
hoellen 77ef7317a9
Add link in changelog
Co-Authored-By: muhlemmer <muhlemmer@gmail.com>
6 years ago
Tim Möhlmann 049ca9941f
Cleanup syntax and fix typo 6 years ago
Tim Möhlmann 0ac3cf9617
Don't recursivly chown on mailboxes.
This fixes #776.
Recursion is not needed, as the permissions will only need to be set on the first invocation.
6 years ago
Tim Möhlmann 71cda7983e
Merge branch 'master' into feat-logging 6 years ago
Tim Möhlmann 7d01bb2a4d
LOG_LEVEL docs and changelog entry 6 years ago
Tim Möhlmann 5df63c6d7f
Favicon changelog entry 6 years ago
hoellen 78f544c678 update changelog for #799 6 years ago
hoellen 8c8e06de48 add #792 to changelog 6 years ago
hoellen a7853ff528 link issue to url 6 years ago
hoellen e1902907ff Prepare changelog for 1.6 6 years ago
kaiyou e311606cf6 Update the changelog for version 1.5.1 7 years ago
kaiyou f5ee77519e Rename spam threshold to spam tolerance 7 years ago
kaiyou baf3b7d276 Update the changelog for version 1.5 7 years ago
kaiyou 3f43b205d3 Prepare the changelog for 1.5.0 7 years ago
Pierre Jaury 67647df83a Publish version 1.4.0 8 years ago
Pierre Jaury 8c32971ec4 Add dist files options for certbot certificate generaion 8 years ago
Pierre Jaury 56f64ecac1 Update the changelog for 1.3 8 years ago
Pierre Jaury 1273571299 Add a changelog 8 years ago