Commit Graph

3750 Commits (6b470ac4038f5981e2106e8f0cfc8acdbe9825b0)
 

Author SHA1 Message Date
Florent Daigniere ec4224123b Use the logger
bors[bot] 5703e97c73
Merge
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>
Alexander Graf 024b0573b3
Update build reqs and fix armv7 build
Dimitri Huisman 4be0cbf4da
Switch workflow to ghcr.io
- Build images & build cache are pushed to ghcr.io.
- Tests will make use of the images pushed to ghcr.io.
- Deploy step only copies images from ghcr.io to docker.io.
- Resolves strange build errors tied to buildx+intermediate builds
- Results in quicker build times.
Vincent Kling 6363acf30a Add dont_change_updated_at to fetch_done
Vincent Kling 6b785abb01 Rename flag_updated_at_as_modified to dont_change_updated_at
bors[bot] 7e29248980
Merge
2494: Improve ISSUE_TEMPLATE.md r=mergify[bot] a=ghostwheel42

## What type of PR?

documentation

## What does this PR do?

I'm having trouble separating the user input from the instructions in the issue template.
This puts the instructions in comments so the rendered markdown is almost empty.


Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
Alexander Graf 005a8fa1fc
Improve ISSUE_TEMPLATE.md
Florent Daigniere 89f7d983b4 Don't start rspamd until admin is up and working
Florent Daigniere d8cf0c3848 Revert "Admin may not have started up when this loads"
This reverts commit 0f17299b4e.
Florent Daigniere 0f17299b4e Admin may not have started up when this loads
Florent Daigniere 95a3a3d342 doh
Florent Daigniere 84a722eabc Optimize the query
Florent Daigniere 07bf8ce6df Add anti-spoofing to the feature list
Florent Daigniere bd1b73032c Poke a hole for mailing lists
bors[bot] 9d5d55f969
Merge
2486: Quote SMTP SIZE to avoid splitting keyword and parameter in EHLO response r=mergify[bot] a=TheBeeZee

## What type of PR?

bug-fix

## What does this PR do?

Fixes a syntax issue in the nginx front EHLO response. As currently configured, the SIZE parameter and value are treated as separate keywords and as a result are returned on separate lines in an EHLO response:

```
...
250-SIZE
250-50000000
...
```

By adding quotes, nginx will return the correct response on a single line:

```
...
250-SIZE 50000000
...
```

### Related issue(s)

closes 

## 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: Blaž Zupan <blaz@inlimbo.org>
Blaž Zupan 56617bbe12 Quote SMTP SIZE to avoid splitting keyword and parameter in EHLO response
Florent Daigniere c4fcaed7d4 doh
Florent Daigniere 8929f54de5 clarify
Also cover the case where the DKIM sig is for another domain and there
is no explicit DMARC policy
Florent Daigniere 8da6117bb9 clarify
Florent Daigniere af87456faf this works for me
bors[bot] bbbed4d9ac
Merge
2480: Fix a bunch of typos r=mergify[bot] a=DjVinnii

## What type of PR?

 documentation

## What does this PR do?
Fix a bunch of typos in a variety of files

### 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: Vincent Kling <v.kling@vinniict.nl>
Vincent Kling 23d06a5761 Fix a bunch of typos
Florent Daigniere be4dd6d84a Spell it out
Florent Daigniere f7b3aad831 Ensure we REJECT when we don't have a DMARC policy
This restores the old behaviour
Dimitri Huisman 6ea2d84a3c Remove outdated wrong documentation
Florent Daigniere 0204c9e59d doh
Florent Daigniere cc2c308d1d update the towncrier entry
Florent Daigniere 8775a2bf04 untested code that may just work
Dimitri Huisman 451738e32b We want the function result. Not the function statement.
Dimitri Huisman f9ba0e688f Removed syntax error
Dimitri Huisman 92cb8c146b Refine build_test_deploy.yml:
Build base image before the other images.
Change cache key to make it is re-used for all builds. This is not
dangerous. The docker build process can determine itself whether
a cache can be safely re-used or not.
Florent Daigniere 5ebcecf4dd Don't need that anymore either
Florent Daigniere 3e51d15b03 Remove the strict anti-spoofing rule.
Alexander Graf d9bf6875e1
Optimize build order for better caching
Alexander Graf 7441a420c4
Fix and speed-up arm build. Allow chosing of prod/dev env.
Alexander Graf 5c31120895
Remove obsolete contexts from base image
Alexander Graf 146921f619
Move curl to base image
Alexander Graf 4c1071a497
Move all requirements*.txt to base image
Alexander Graf a29f066858
Move even more python deps to base image
Alexander Graf 52dd09d452
Fix assets build process
Alexander Graf 768c0cc1ce
Fix assets build process
Alexander Graf 8668b269cd
Add requirements.txt for base image
Alexander Graf 9f511faf64
Merge pull request from NeverBehave/master
fix: resolve IPv6 container hostname
Dimitri Huisman b711f930ef
Merge pull request from vavanade/patch-1
fix docstring
Dimitri Huisman c0066abd01
Merge pull request from micw/log-failed-dns
Add logging for failed DNS lookups
kaiyou f63837b8e1
Update to 0.2.0
kaiyou 68d44201ab
Merge pull request from micw/resolve-host-if-address-not-set
Resolve host if address not set
kaiyou b198fde756
Merge pull request from micw/fix-random-failures
Change test hostnames for stable test results
kaiyou 7f6d51904b
Remove wrong dependency to importlib