Commit Graph

61 Commitit (a9f4fc1b3c5dd3016ad19e6cdb3ed969a261cc75)

Tekijä SHA1 Viesti Päivämäärä
bors[bot] 65d905fe62
Merge #2099
2099: update Dockerfile to alpine 3.14.3 r=mergify[bot] a=willofr

## What type of PR?
Security fix

## What does this PR do?
Updated the Dockerfile to use the latest alpine version 3.14.3 where several CVEs have been fixed: https://alpinelinux.org/posts/Alpine-3.14.3-released.html
New images successfully built on my test env.

### Related issue(s)
None

## 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: Will <will@packer-output-c8fcfb40-3d93-4475-8f87-e14a9dd683b6>
Co-authored-by: willofr <willofr@users.noreply.github.com>
4 vuotta sitten
Erriez 4b0694705c Fix build dependencies pycares 4 vuotta sitten
Will b2abbc8856 update Dockerfile to alpine 3.14.3 4 vuotta sitten
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>
4 vuotta sitten
Dimitri Huisman d5896fb2c6 Add log rotation (if logging to file). Make rsyslog the default. 4 vuotta sitten
Dimitri Huisman 567b5ef172
Merge branch 'master' into postfix-logging 4 vuotta sitten
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.
4 vuotta sitten
Dimitri Huisman 56dd70cf4a Implement versioning for CI/CD workflow (see #1182). 4 vuotta sitten
DjVinnii 225160610b Set default TZ in Dockerfiles 4 vuotta sitten
DjVinnii 1d6809193b Add tzdata to core 4 vuotta sitten
Alexander Graf b02ceab72f handle DEFER_ON_TLS_ERROR as bool
use /conf/mta-sts-daemon.yml when override is missing
4 vuotta sitten
bors[bot] d464187477
Merge #1964
1964: Alpine3.14.2 r=mergify[bot] a=nextgens

Upgrade to alpine 3.14.2, retry upgrading unbound & switch back to libressl

Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
4 vuotta sitten
Florent Daigniere d7c2b510c7 Give alpine 3.14.2 a shot 4 vuotta sitten
Florent Daigniere 4f96e99144 MTA-STS (use rather than publish policies) 4 vuotta sitten
Florent Daigniere 72735ab320 remove cyrus-sasl-plain 4 vuotta sitten
Florent Daigniere 420afa53f8 Upgrade to alpine 3.14 4 vuotta sitten
Michael Wyraz e979743226 Rsyslog logging for postfix, optional logging to file, no logging of test requests 5 vuotta sitten
Dimitri Huisman d9e7b8249b Add support for AUTH LOGIN authentication mechanism for relaying email via smart hosts. 5 vuotta sitten
ofthesun9 cff2e76269 Switching to alpine:3.12 5 vuotta sitten
Michael Wyraz fb9ddbca7a Install p3-yarn as dependency for podop 6 vuotta sitten
Michael Wyraz 09ee3ce95c Install py3-multidict from repository before installing socrate to avoid the need of gcc during build 6 vuotta sitten
bors[bot] 0417c791ff
Merge #985
985: Permit raspberry pi (and other architectures) builds r=mergify[bot] a=abondis

## What type of PR?

Enhancement

## What does this PR do?

Add an option to select base images and permit building for different CPU architectures.

### Related issue(s)
N/A

## Prerequistes

- [X] 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: Aurélien Bondis <aurelien.bondis@gmail.com>
Co-authored-by: Aurelien <aurelien.bondis@gmail.com>
6 vuotta sitten
Michael Wyraz 8ece8409f1 Remove unused volume /data from postfix. Add volume /queue to postfix 6 vuotta sitten
Michael Wyraz de2f166bd1 Resolve HOST_* to *_ADDRESS only if *_ADDRESS is not already set 6 vuotta sitten
Aurélien Bondis 124b1d4c71 rebase and update for 3.10, avoid adding qemu file to x86 images 6 vuotta sitten
hoellen 9de5dc2592 Use python package socrate instead of Mailustart 6 vuotta sitten
Dario Ernst 1dbda71401 Adapt shared layer conf to now really-missing mailustart in admin (after merging webpack) 6 vuotta sitten
Dario Ernst 0f146cd811 Require python3.7-compatible podop
Which is still unreleased, but serves as a placeholder here.
6 vuotta sitten
Dario Ernst 0306be1eed Re-add missing MailuStar in admin
It turns out we were all blind and admin *does* use MailuStart
6 vuotta sitten
Dario Ernst 53f754f5ac Remove MailuStart from admin and correct layer-sharing comments 6 vuotta sitten
Dario Ernst 93b54dcffe Install podop from pypi 6 vuotta sitten
Dario Ernst bb2edb6eb6 Revert "Move alpine version definition out to variable"
This reverts commit c787e4bdbd.
6 vuotta sitten
Dario Ernst c787e4bdbd Move alpine version definition out to variable 6 vuotta sitten
Dario Ernst 3bfdff155c Use official Mailu/Podop 6 vuotta sitten
Dario Ernst a253ca47fe Use official Mailu/MailuStart 6 vuotta sitten
Dario Ernst d155b2c533 Start postfix directly with stdout logging 6 vuotta sitten
Dario Ernst 9c1675e9d8 Use TEMPORARY workaround-branch for podop python 3.7 compatability 6 vuotta sitten
Dario Ernst f85b32914c Add newly missing plain SASL support in postfix 6 vuotta sitten
Dario Ernst d1f80cca99 Update Dockerfiles to most recent alpine 3.10 6 vuotta sitten
Thomas Sänger ef3c6c407a upgrade alpine base-image 6 vuotta sitten
Abel Alfonso Fírvida Donéstevez 39444c794e Install bash in alpine based images.
This fix https://github.com/Mailu/Mailu/issues/918

Bash shell is used by default in Kubernetes' dashboard console, which is very
useful for admins.
7 vuotta sitten
Ionut Filip 004a431e97
Change to mailustart functions 7 vuotta sitten
Ionut Filip 9684ebf33f Use mailustart package from git 7 vuotta sitten
Tim Möhlmann 42e2dbe35d
Standarize image by using shared / similair layers 7 vuotta sitten
Tim Möhlmann a2fea36c79
Increase HEALTHCHECK start time for services that need to wait for host resolving during startup.
In Docker Swarm mode the services listed below can get stuck in their start script, while they
are waiting for other services become available. Now, with HEALTHCHECK enabled, docker does not resolve
names of services that not pass HEALTHCHECK yet. Meaning that if one of the depenend services is not yet
available, it will create a chain of failing services.

The services below retry to resolve 100 time, with an average of 3.5 seconds. Hence, the --start-time
flag is now set at 350 seconds.
- dovecot (imap)
- postfix (smtp)
- rspamd (antispam)
7 vuotta sitten
Thomas Sänger a412951a30
simpler healthcheck for postfix 7 vuotta sitten
Thomas Sänger 1fc40bf932
add healthcheck for postfix 7 vuotta sitten
kaiyou 10ec2f999a Another (embarrassing) fix for a merge typo 7 vuotta sitten
kaiyou 2e1aa079c1 Fix one (hopefully) last merge typo 7 vuotta sitten
kaiyou 4b9dbf00a8 Fix yet another merge-time typo 7 vuotta sitten