204 Commits (master)

Author SHA1 Message Date
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>
5 years ago
bors[bot] dcda412b99
Merge #1211
1211: Split HOST_ANTISPAM in HOST_ANTISPAM_MILTER and HOST_ANTISPAM_WEBUI r=mergify[bot] a=micw

## What type of PR?

bug-fix

## What does this PR do?

Fixes #1190 by separating HOST_ANTISPAM into HOST_ANTISPAM_MILTER and HOST_ANTISPAM_WEBUI

### Related issue(s)
- closes #1190
- closes #1150

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


Co-authored-by: Michael Wyraz <michael@wyraz.de>
5 years ago
Michael Wyraz a907fe4cac Split HOST_ANTISPAM in HOST_ANTISPAM_MILTER and HOST_ANTISPAM_WEBUI 5 years ago
Michael Wyraz 8ece8409f1 Remove unused volume /data from postfix. Add volume /queue to postfix 5 years ago
Michael Wyraz de2f166bd1 Resolve HOST_* to *_ADDRESS only if *_ADDRESS is not already set 5 years ago
Ionut Filip 075417bf90 Merged master and fixed conflicts 5 years ago
Aurélien Bondis 124b1d4c71 rebase and update for 3.10, avoid adding qemu file to x86 images 5 years ago
hoellen 9de5dc2592 Use python package socrate instead of Mailustart 5 years ago
Dario Ernst 1dbda71401 Adapt shared layer conf to now really-missing mailustart in admin (after merging webpack) 5 years ago
Dario Ernst a8c3530bfa Remove accidentally reintroduced rsyslogd config 5 years ago
Dario Ernst 0f146cd811 Require python3.7-compatible podop
Which is still unreleased, but serves as a placeholder here.
5 years ago
Dario Ernst 0306be1eed Re-add missing MailuStar in admin
It turns out we were all blind and admin *does* use MailuStart
5 years ago
Dario Ernst ce0c24e076 Merge branch 'master' into HorayNarea-feat-upgrade-alpine 5 years ago
Dario Ernst 53f754f5ac Remove MailuStart from admin and correct layer-sharing comments 5 years ago
Dario Ernst 93b54dcffe Install podop from pypi 5 years ago
Dario Ernst bb2edb6eb6 Revert "Move alpine version definition out to variable"
This reverts commit c787e4bdbd.
6 years ago
Dario Ernst c787e4bdbd Move alpine version definition out to variable 6 years ago
Daniel Huber ae290482c0
Format relay credentials file with jinja 6 years ago
Daniel Huber 515e95076a
Merge branch 'master' into feat-relay-auth 6 years ago
Dario Ernst ea851e77d4 Remove reference to rsyslogd 6 years ago
Dario Ernst 3bfdff155c Use official Mailu/Podop 6 years ago
Dario Ernst a253ca47fe Use official Mailu/MailuStart 6 years ago
Dario Ernst d155b2c533 Start postfix directly with stdout logging 6 years ago
Dario Ernst 9c1675e9d8 Use TEMPORARY workaround-branch for podop python 3.7 compatability 6 years ago
Dario Ernst f85b32914c Add newly missing plain SASL support in postfix 6 years ago
Dario Ernst d1f80cca99 Update Dockerfiles to most recent alpine 3.10 6 years ago
Dario Ernst 96fbaecc2f Correct executables moved by alpine 6 years ago
Thomas Sänger ef3c6c407a upgrade alpine base-image 6 years ago
Daniel Huber 7dcb2eb006
Add authentication for email relays 6 years ago
Florian Peschka b9fd29a52f
Add extra newline to main.cf
This should prevent jinja from stripping the newline, which causes overrides to be appended after the comment section

see #941
6 years ago
Ionut Filip 4c25c83419 HOST_* and *_ADDRESS variables cleanup 6 years ago
Ionut Filip f9e3cd3c5d Use corret host_* variables 6 years ago
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.
6 years ago
Ionut Filip 004a431e97
Change to mailustart functions 6 years ago
Ionut Filip 9684ebf33f Use mailustart package from git 6 years ago
Tim Möhlmann 7a9685bcb9
Resolve admin during start to work around Docker DNS flaky-ness 6 years ago
Tim Möhlmann 049ca9941f
Cleanup syntax and fix typo 6 years ago
Tim Möhlmann 7d01bb2a4d
LOG_LEVEL docs and changelog entry 6 years ago
Tim Möhlmann b04a9d1c28
Implement debug logging for template rendering 6 years ago
Tim Möhlmann b9313488dd
Add logging for tenacity.retry
In the process we found that the previous way of tenacity syntax caused it not to honor any args.
In this commit we've refactored to use the @decorator syntax, in which tenacity seems to behave better.
6 years ago
Tim Möhlmann 8172f3eab8
Move the Mailu Docker network to a fixed subnet.
This will make network configuration and host based authentication
more robust, across different deployment platforms.
The options `RELAYNETS` and`POD_ADDRESS_RANGE` are kept for compatibility.
However, their usage have become optional.
6 years ago
mergify[bot] 37027cfce7
Merge pull request #633 from kaiyou/fix-sender-checks
Improve sender checks
6 years ago
Tim Möhlmann 42e2dbe35d
Standarize image by using shared / similair layers 6 years ago
Ionut Filip 8a44a44688
Merge branch 'master' into feat-startup 6 years ago
Ionut Filip 1187cac5e1 Finished up switching from .sh to .py 6 years ago
Tim Möhlmann 2d382f2d67
Merge branch 'master' into fix-sender-checks 6 years ago
Ionut Filip eb7dfb5771 Cleaning up start.py 6 years ago
Thomas Sänger 603b6e7390
Merge pull request #2 from usrpro/fix-nginx-healthcheck
Fix nginx healthcheck
6 years ago
Tim Möhlmann 81b24f61e8
Merge branch 'master' into feat-healthchecks 6 years ago
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)
6 years ago
kaiyou 1fcaef7c7e
Merge branch 'master' into fix-sender-checks 6 years ago
mergify[bot] 118ea0f3fb
Merge pull request #604 from ofthesun9/feature-swarm
Enabling swarm deployment on master branch
6 years ago
Thomas Sänger a412951a30
simpler healthcheck for postfix 6 years ago
Thomas Sänger 1fc40bf932
add healthcheck for postfix 6 years ago
kaiyou f647d1a0bc Merge branch 'master' into fix-sender-checks 6 years ago
kaiyou 5035975c41 Remove Postfix debugging 6 years ago
kaiyou 10ec2f999a Another (embarrassing) fix for a merge typo 6 years ago
kaiyou 2e1aa079c1 Fix one (hopefully) last merge typo 6 years ago
kaiyou 4b9dbf00a8 Fix yet another merge-time typo 6 years ago
kaiyou e8e133b53d Fix a merge typo in postfix build 6 years ago
kaiyou 00b5ae11db
Merge branch 'master' into feat-abstract-db 6 years ago
ofthesun9 13146be57e Merge branch 'master' into feature-swarm 6 years ago
kaiyou 8b189ed145 Separate senderaccess and senderlogin maps 6 years ago
ofthesun9 74796201ec Merge branch 'master' into feature-swarm 6 years ago
kaiyou fc99eb7b34 Re-enable sender access check to prevent source spoofing 6 years ago
kaiyou f3f0b98755 Fix relay restrictions so email gets delivered correctly 6 years ago
Tim Möhlmann 0817629869
Increase attempts as it failed on fresh Swarm host 6 years ago
Tim Möhlmann 16469d7282
Upgrade to newer pip version 6 years ago
Tim Möhlmann 1bae5968ad
Import tenacy and fix syntax errors 6 years ago
Tim Möhlmann c457ccfa60
Use tenacity for resolver retries 6 years ago
Tim Möhlmann d6c386651d
Merge branch 'master' into fix-swarm-start 6 years ago
ofthesun9 09d77bc2de Handle the case where the variable REJECT_UNLISTED_RECIPIENT is not set 6 years ago
ofthesun9 cc17962c86 fixes #583 6 years ago
kaiyou 2cba045013 Explicitely declare required volumes, fixes #568 6 years ago
kaiyou f5668dea51 Handle relays as virtual transports through podop 6 years ago
kaiyou 43b6547e1c Lower the loglevel of podop 6 years ago
kaiyou 6d088504bd Adjust podop debug level based on environment 6 years ago
kaiyou 697caaab81 Update podop access and mail restrictions 6 years ago
kaiyou 7143fb8c47 Implement some basic views for podop 6 years ago
kaiyou 39cd0d5034 Upgrade to alpine 3.8 for smtp and imap 6 years ago
kaiyou 68aa797720 Merge branch 'master' into feat-abstract-db 6 years ago
kaiyou 73ca5fb3d3 Provide a more generic skeletton for postfix virtual lookups 6 years ago
ofthesun9 23e288aadc Enabling swarm deployment on master branch:
-Extends the usage of POD_ADDRESS_RANGE
-Provides documentation
6 years ago
Tim Möhlmann cc8e15748b Retry 10 times when resolving fails in start.py scripts 6 years ago
kaiyou f506966abc Pin Alpine 3.7 to preserve the Postfix version 6 years ago
Tim Möhlmann 9350bb9b9a Use fixed alpine:3.7 tag to prevent postix upgrade 6 years ago
Pierre Jaury c04e58498d Remove unused postfix sqlite files 6 years ago
Pierre Jaury bb73933e1e Switch postfix to Podop 6 years ago
Pierre Jaury 82e738cc53 Remove the old code of postproxy 6 years ago
Pierre Jaury 2b2ab864d1 Add support for querying the table in Dovecot proxy 6 years ago
Pierre Jaury 70175f8c28 Add postproxy support for Dovecot dict protocol 6 years ago
Pierre Jaury 262e82a367 Add a postfix socketmap to http proxy 7 years ago
Pierre Jaury e543477c2e Revert "Only enable milter for incoming emails"
This reverts commit cfd233039e.
7 years ago
Pierre Jaury cfd233039e Only enable milter for incoming emails 7 years ago
Pierre Jaury 1b0b3a2b1e Only check login mismatch for authenticated users, fixes #309 7 years ago
Mildred Ki'Lya ae8c9f5a6b Add various environment variables to allow running outside of docker-compose 7 years ago
kaiyou d1dbba2d3a Add expose instructions in Dockerfiles, fixes #392 7 years ago
Caleb Johnson b58dcfb511
Add support for sending from alternative domains
See Mailu/Mailu#415
7 years ago
Marcus Ripkens 7375134474
Update main.cf 7 years ago
Marcus Ripkens 175349a224
Added adress verification before accepting mails for delivery
See https://www.endpoint.com/blog/2015/05/28/postfix-address-verification

Block client until address verifiction is completed and mail will not be rejected by relaying MTA or smarthost.
If verification fails, mail is rejected.
If verification takes too long, mail is temporaryly rejected and sending client will retry later.
7 years ago
rageOS 59766d289e
Fix for relayed Domains 7 years ago
kaiyou e625bc9adb Update the milter port on Postfix 7 years ago
kaiyou 1d9b3b00a7 Use rspamd as a milter service instead of deprecated rmilter 7 years ago
kaiyou 689be5f2d9 Move all directories per theme 7 years ago