150 Revīzijas (bb5d0078824c70870aa3b4da9120c6911284ff29)

Autors SHA1 Ziņojums Datums
Nico Winkelsträter 9cb2ef7632 Let vacation plugin ignore envelope sender to avoid SRS recipient
This is done by setting sieve_vacation_to_header_ignore_envelope to yes
The envelope is rewritten by recipent_canonical_maps to reverse SRS after the plugin checks it
so we need the plugin to ignore it at this point.
pirms 3 gadiem
Florent Daigniere 46f05cb651 Merge branch 'master' of https://github.com/Mailu/Mailu into reduce-logging pirms 3 gadiem
Florent Daigniere e85a2a7e99 Step1: expose managesieve, make the webmails use it pirms 3 gadiem
Florent Daigniere edd303f54d Modify the healtchecks to make them disapear from the logs.
This is not perfect...
- dovecot now complains about waitpid/finding a new process
- postfix is still regularly pinging rspamd / his milter and that
generates a few lines worth of logs each time.
pirms 3 gadiem
Florent Daigniere 4ae0d7d768 Enable HAPROXY protocol in between front and imap
With this we avoid running into the limitations of
 mail_max_userip_connections (see #894 amd #1364) and the
 logfiles as well as ``doveadm who`` give an accurate picture.
pirms 3 gadiem
Florent Daigniere 108958cabb drop privs better pirms 3 gadiem
Florent Daigniere 4e3874b0c1 Enable dynamic resolution of hostnames pirms 3 gadiem
Florent Daigniere 5da2ab8fd1 drop privs pirms 3 gadiem
Florent Daigniere bf588d19a4 Fix RECIPIENT_DELIMITER pirms 3 gadiem
Florent Daigniere cf34be967c Implement ITERATE pirms 3 gadiem
bors[bot] 5703e97c73
Merge #2460
2460: Switch to a base image containing base tools and the podop and socrate libs r=mergify[bot] a=ghostwheel42

## What type of PR?

enhancement of build process

## What does this PR do?

Changes build.hcl to build core images using a base image.
Also adds a "assets" base image for the admin container.


Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
Co-authored-by: Pierre Jaury <pierre@jaury.eu>
Co-authored-by: kaiyou <pierre@jaury.eu>
Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com>
pirms 3 gadiem
Vincent Kling 23d06a5761 Fix a bunch of typos pirms 3 gadiem
Alexander Graf 4c1071a497
Move all requirements*.txt to base image pirms 3 gadiem
Alexander Graf a29f066858
Move even more python deps to base image pirms 3 gadiem
Alexander Graf 9fe452e3d1
Use base image when building core images pirms 3 gadiem
Dimitri Huisman 3aafecafe7 Merge branch 'master' into feat-switch-buildx pirms 3 gadiem
Dimitri Huisman f6de2b2938 Switch from docker build to buildx for CI/CD.
- The main workflow file has been optimised and simplified.
- Images are built in parallel when building locally resulting in faster build times.
- The github action workflow is about 50% faster.
- Arm images are built as well. These images are not tested due to restrictions of github actions (no arm runners). The tags of the images have -arm appended to it.
- Arm images can also be built locally.
- Reusable workflow is introduced for building, testing and deploying the images.
  This allows the workflow to be reused for other purposes in the future.
- Workflow can be manually triggered. This allows forked Mailu projects to also use the workflow for building images.
pirms 3 gadiem
Dimitri Huisman d19208d3d1 Merge branch 'master' of github.com:Mailu/Mailu into feature-switch-snappymail pirms 3 gadiem
Will a54a784168 Update alpine-linux to 3.14.5 - Zlib security FIX pirms 4 gadiem
Dimitri Huisman f2f859280c Merge remote-tracking branch 'origin/master' into feature-switch-snappymail pirms 4 gadiem
Dimitri Huisman 9519d07ba2 Switch from RainLoop to SnappyMail pirms 4 gadiem
Will d02296c3bc Update alpine-linux to 3.14.4 - OpenSSL security FIX pirms 4 gadiem
Florent Daigniere 224880822f
remove space pirms 4 gadiem
Florent Daigniere 3d7b9fe194 Ensure we use IMAP IDLE like it's supposed to work
imap_idle_notify_interval = 2 mins -> 29 mins

See https://peterkieser.com/2011/03/25/androids-k-9-mail-battery-life-and-dovecots-push-imap/
pirms 4 gadiem
Will b2abbc8856 update Dockerfile to alpine 3.14.3 pirms 4 gadiem
bors[bot] 7c03878347
Merge #1441 #2090
1441: Rsyslog logging for postfix r=mergify[bot] a=micw


## What type of PR?

enhancement

## What does this PR do?
Changes postfix logging from stdout to rsyslog:
* stdout logging still enabled
* internal test request log messages are filtered out by rsyslog
* optional logging to file via POSTFIX_LOG_FILE env variable

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


2090: fix 2086 r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Fix a bug I've introduced in ae8db08bd

### Related issue(s)
- close #2086

Co-authored-by: Michael Wyraz <michael@wyraz.de>
Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com>
Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
pirms 4 gadiem
bors[bot] 634318adba
Merge #2072
2072: use dovecot-fts-xapian from alpine package r=mergify[bot] a=willofr

## What type of PR?

enhancement

## What does this PR do?
use dovecot-fts-xapian from alpine packages repository (newer) instead of compiling an older version from source
see https://pkgs.alpinelinux.org/package/edge/community/x86/dovecot-fts-xapian

### Related issue(s)
No

## 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: willofr <willofr@users.noreply.github.com>
pirms 4 gadiem
Florent Daigniere 09926702d6 fix 2086 pirms 4 gadiem
willofr 841b29e794
revert back to alpine 3.14.2 as requested pirms 4 gadiem
willofr 84af3a3e50
use dovecot-fts-xapian from alpine package
I suggest using the dovecot-fts-xapian package from the alpine repository (newer) instead of compiling an older version from source:
see https://pkgs.alpinelinux.org/package/edge/community/x86/dovecot-fts-xapian
pirms 4 gadiem
Dimitri Huisman f7677543c6 Process code review remarks
- Moved run to bottom of Dockerfile to allow using unmodified / cached states.
- Simplified bash code in deploy.sh.
- Improved the large bash one-liner in CI.yml. It could not handle >9 for 1.x.
pirms 4 gadiem
Dimitri Huisman 56dd70cf4a Implement versioning for CI/CD workflow (see #1182). pirms 4 gadiem
DjVinnii 225160610b Set default TZ in Dockerfiles pirms 4 gadiem
DjVinnii 1d6809193b Add tzdata to core pirms 4 gadiem
Alexander Graf 9bc685c30b removed some more whitespace pirms 4 gadiem
Alexander Graf 882a27f87c simplified if's and added external link icon pirms 4 gadiem
Florent Daigniere d7c2b510c7 Give alpine 3.14.2 a shot pirms 4 gadiem
Florent Daigniere 368b40b4fd doh pirms 4 gadiem
Florent Daigniere ae8db08bdf Ensure that we don't do multiple DNS lookups in the sieve script pirms 4 gadiem
Florent Daigniere 420afa53f8 Upgrade to alpine 3.14 pirms 4 gadiem
bors[bot] 5d1264e381
Merge #1694
1694: update compression algorithms for current dovecot r=nextgens a=lub

## What type of PR?

enhancement

## What does this PR do?

This adds additional compression algorithms in accordance with
https://doc.dovecot.org/configuration_manual/zlib_plugin/

### Related issue(s)

## 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: lub <git@lubiland.de>
pirms 4 gadiem
lub 40ad3ca032 only load zlib when compression is used pirms 4 gadiem
lub 2316ef1162 update compression algorithms for dovecot 3.3.14
xz is deprecated; lz4 and zstd were not present in our configs before
pirms 4 gadiem
Michael Wyraz 2b37be9889 Use alpine 3.13 to fix CVE-2020-25275 and CVE-2020-24386 pirms 5 gadiem
lub 98a6ffb497 add compression via xz and lz4 pirms 5 gadiem
ofthesun9 539114a3d6
Merge branch 'master' into test-alpine-3.12 pirms 5 gadiem
bors[bot] 535b95bca7
Merge #1538
1538: Introduce environment variable to control dovecot full-text-search r=mergify[bot] a=tremlin

## What type of PR?

Enhancement

## What does this PR do?

In #1320 a full-text-search feature was enabled in Dovecot by default. Since this can have a big impact on performance, I think it's preferable to offer an option to disable the feature if it is not needed. This PR doesn't change the default behavior (FTS on).

### Related issue(s)
- #1320

## 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 accordinagly
- [ ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: Thomas Rehn <thomas.rehn@initos.com>
pirms 5 gadiem
Dennis Hoppe f3ac4e9397
Remove unused variables pirms 5 gadiem
ofthesun9 cff2e76269 Switching to alpine:3.12 pirms 5 gadiem
Thomas Rehn fc47b736ea introduce environment variable to control dovecot full-text-search pirms 5 gadiem