1722 Commits (e674a6fe3d7ed08d6ee830a9eeea8be5ec43a31a)
 

Author SHA1 Message Date
Ionut Filip e674a6fe3d Added docs for new changelog entries 6 years ago
Ionut Filip e548c4e531 Moved towncrier to project root 6 years ago
Ionut Filip 4a03e32882 Towncrieri implementation 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
Manuel Vázquez Acosta 6cc6f2742b
Activate ClamAV in filters tests.
See https://github.com/Mailu/Mailu/pull/907#issuecomment-462043036
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
Manuel Vázquez Acosta 611363cbe4
Don't generate the clamav configuration if ANTIVIRUS is none.
Otherwise the rspamd will try to connect to none, timing out several times and
leading to poor performance.
6 years ago
bors[bot] 4d58b322bc Merge #888 #889
888: Correct the URL users are directed to after using setup without exposing /admin r=mergify[bot] a=Nebukadneza

In setup, users who didn’t expose `/admin` were directed to `http://127.0.0.1:8080/`, which was missing `/ui` to work.

Also, let’s help out the less apt admins by providing a copy-paste template for ssh-tunnelling.

## What type of PR?
documentation

### Related issue(s)
closes #885

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


889: Catch webmail-url empty but webmail configured and force to default r=mergify[bot] a=Nebukadneza

## What type of PR?
bug-fix

## What does this PR do?
Quite some users managed to delete the contents of the webmail-url field in
setup, which forces front into a restart loop. Catch the case where a webmail
service is configured, but url is empty — and force to default /webmail.

### Related issue(s)
closes #856

## Prerequistes
- [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: Dario Ernst <dario@kanojo.de>
6 years ago
Dario Ernst ef5a114cff Put webmail on / for empty webmail_path from setup 6 years ago
Dario Ernst 0676252ec1 Revert accidental setup commits and fix code/pre tags 6 years ago
bors[bot] 702e8b384b Merge #882
882: Fix password validator for creating fetched accounts r=muhlemmer a=Nebukadneza

## What type of PR?
bug-fix

## What does this PR do?
Creating fetched accounts was changed in  #817 with a slight typo. I’m an idiot since i approved, but only tested editing, and not creation. But here’s the fix!

### Related issue(s)
Small fix, didn’t feel explanatory issue was necessary

## Prerequistes
- [x] In case of feature or enhancement: documentation updated accordingly
  - Not needed
- [x] Unless it's docs or a minor change: place entry in the [changelog](CHANGELOG.md), under the latest un-released version.
  - Done


Co-authored-by: Dario Ernst <dario.ernst@rommelag.com>
Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>
6 years ago
Tim Möhlmann 06457e9617
Merge branch 'master' into fix_fetches_create 6 years ago
Dario Ernst d9d6f514aa Catch webmail-url empty but webmail configured and force to default
Quite some users managed to delete the contents of the webmail-url field in
setup, which forces front into a restart loop. Catch the case where a webmail
service is configured, but url is empty — and force to default /webmail.

closes #856
6 years ago
Dario Ernst 392637e16a Correct the URL users are directed to after using setup without exposing /admin
closes #885
6 years ago
bors[bot] 77ec049edc Merge #876
876: Add wildcard aliases with the cli r=mergify[bot] a=hoellen

## What type of PR?
enhancement

## What does this PR do?
Add a possibility to add wildcard aliases with the cli.

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

## 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: hoellen <dev@hoellen.eu>
6 years ago
Ionut Filip f8dffe5a19
Resolve hosts in admin 6 years ago
Ionut Filip 004a431e97
Change to mailustart functions 6 years ago
Dario Ernst 34b31727c4 Fix password validator for creating fetched accounts 6 years ago
bors[bot] d301de7d83 Merge #879
879: Update docs on review dissmissal and automatic rebuilds r=muhlemmer a=muhlemmer

bors r+

Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>
6 years ago
Tim Möhlmann a731e04670
Update docs on review dissmissal and automatic rebuilds 6 years ago
hoellen fba246e9a1 add wildcard option to cli (alias) 6 years ago
bors[bot] 343ae8be49 Merge #851
851: Make certdumper output fullchain-pems r=mergify[bot] a=Nebukadneza

## What type of PR?
bug-fix

## What does this PR do?
Before it only outputted a pem-file with the server-certificate —
however, it seems some clients want the fullchain delivered, as it’s
common with letsencrypt.

### Related issue(s)
closes #847 

## Prerequistes
- [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.
  - minor fix

Co-authored-by: Dario Ernst <github@kanojo.de>
6 years ago
Tim Möhlmann 3f4c65e6d1 Make mergify shut-up when merged or closed 6 years ago
Dario Ernst 2c5f977117
Make certdumper output fullchain-pems
Before it only outputted a pem-file with the server-certificate —
however, it seems some clients want the fullchain delivered, as it’s
common with letsencrypt.

closes #847
6 years ago
Tim Möhlmann 49192deec8
Merge pull request #866 from usrpro/bors-ng
Automatic creation of review images
6 years ago
Tim Möhlmann a9d368d2c9
Fix typo in docs 6 years ago
Tim Möhlmann 33db705194
Use bors-ng to create and upload test images
- Reinstate Travis deploy phase
- Better labeling of Mergify rules
- Automatic `bors try` by Mergify
- Explain bors in comment message
- Skip push for staging branch
- Re-update docs to current situation
6 years ago
Ionut Filip 9684ebf33f Use mailustart package from git 6 years ago
Ionut Filip bdb0821e6e Merge branch 'feat-setup-ipv6' of github.com:usrpro/Mailu into feat-setup-ipv6 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 faca9983a8
Automatic creation of review images
- Enable bors-ng for better merging
- Re-enable mergify with a fixed up syntax, it will now only issue bors commands.
- Pull request build images are now pushed to docker hub
- Automatic backport rule
- Fix build tag for branches with slash (/)
- Only push when master and 1.6 target branch
6 years ago
Ionut Filip 782c686ea2
Merge pull request #862 from steelcowboy/master
Fix environment variable inconsistency
6 years ago
Jim Heald eb8d84aed0 Fix environment variable inconsistency 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
Tim Möhlmann e80a7a1228
Merge pull request #854 from HorayNarea/feat-unbound-drop-priv
unbound: drop privileges after binding to port
6 years ago
Tim Möhlmann 36a5c1c523
Merge pull request #857 from bladeswords/patch-1
Updated doc to reflect 1.6 release
6 years ago
bladeswords 3f5d08235b
Updated doc to reflect 1.6 release 6 years ago
Thomas Sänger bb5852cc1c
add unbound priv-drop to changelog 6 years ago
Thomas Sänger f50995b5e6
unbound: drop privileges after binding to port 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
Ionut Filip 0f1ce2ce7e
Merge pull request #842 from nathan-sain/patch-1
Update SQLite DB file in DEFAULT_CONFIG and DB_TEMPLATES
6 years ago
Tim Möhlmann 7bb9082984
Remove docker-compose v3 from CHANGELOG 6 years ago
Ionut Filip bbbd22b3a3
Merge pull request #843 from usrpro/fix-unbound-swarm
Remove unbound from swarm
6 years ago
Tim Möhlmann d593c783a3
Fix typo in link 6 years ago
Tim Möhlmann fd236e4ea5
Fix syntax error 6 years ago
Tim Möhlmann 3460872747
Documentation on IPv6 6 years ago