48 次程式碼提交 (e9cce18ffe1c542ed80dfc09d259901ae854e7de)

作者 SHA1 備註 提交日期
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 年之前
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 年之前
Ionut Filip 004a431e97
Change to mailustart functions 7 年之前
Ionut Filip 9684ebf33f Use mailustart package from git 7 年之前
Tim Möhlmann 049ca9941f
Cleanup syntax and fix typo 7 年之前
Tim Möhlmann 7d01bb2a4d
LOG_LEVEL docs and changelog entry 7 年之前
Tim Möhlmann b04a9d1c28
Implement debug logging for template rendering 7 年之前
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.
7 年之前
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.
7 年之前
mergify[bot] 5c24390114
Merge pull request #697 from HorayNarea/fix-missing-dkim
allow DKIM-signing if From-Header and Auth-User mismatch - fix #462
7 年之前
mergify[bot] e08f3e81d0
Merge pull request #680 from usrpro/feat-startup
Standarize images
7 年之前
Thomas Sänger 13bc6261e4
allow DKIM-signing if From-Header and Auth-User mismatch 7 年之前
Tim Möhlmann 42e2dbe35d
Standarize image by using shared / similair layers 7 年之前
Thomas Sänger 9ba086fcff
store rspamd history in redis 7 年之前
Ionut Filip 8a44a44688
Merge branch 'master' into feat-startup 7 年之前
Ionut Filip 1187cac5e1 Finished up switching from .sh to .py 7 年之前
Ionut Filip eb7dfb5771 Cleaning up start.py 7 年之前
Thomas Sänger 603b6e7390
Merge pull request #2 from usrpro/fix-nginx-healthcheck
Fix nginx healthcheck
7 年之前
Tim Möhlmann 81b24f61e8
Merge branch 'master' into feat-healthchecks 7 年之前
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 年之前
mergify[bot] 118ea0f3fb
Merge pull request #604 from ofthesun9/feature-swarm
Enabling swarm deployment on master branch
7 年之前
ofthesun9 86bdce8407 Explicitely specify the fuzzy worker listen address 7 年之前
ofthesun9 cec5c1b16b Merge branch 'master' into feat-fuzzyhashes 7 年之前
Thomas Sänger 39272ab05c
add healthcheck for http services 7 年之前
Tim Möhlmann 2c7a5a97e4
Move to alpine:3.8. Fixes #625 and #627 7 年之前
ofthesun9 1f71d10899 Change POD_ADDRESS_RANGE introduction like it is done on deovecot-sql.conf.ext 7 年之前
ofthesun9 13146be57e Merge branch 'master' into feature-swarm 7 年之前
ofthesun9 6b34b2728e Declare fuzzy_worker port 11335 in EXPOSE section 7 年之前
ofthesun9 0eb963eb21 Merge branch 'master' into feat-fuzzyhashes 7 年之前
ofthesun9 74796201ec Merge branch 'master' into feature-swarm 7 年之前
Tim Möhlmann 0817629869
Increase attempts as it failed on fresh Swarm host 7 年之前
Tim Möhlmann 16469d7282
Upgrade to newer pip version 7 年之前
Tim Möhlmann 1bae5968ad
Import tenacy and fix syntax errors 7 年之前
Tim Möhlmann c457ccfa60
Use tenacity for resolver retries 7 年之前
Tim Möhlmann d6c386651d
Merge branch 'master' into fix-swarm-start 7 年之前
Thomas Sänger 76923d80d8
implement support for ARC 7 年之前
kaiyou 2cba045013 Explicitely declare required volumes, fixes #568 7 年之前
ofthesun9 23e288aadc Enabling swarm deployment on master branch:
-Extends the usage of POD_ADDRESS_RANGE
-Provides documentation
7 年之前
Tim Möhlmann cc8e15748b Retry 10 times when resolving fails in start.py scripts 7 年之前
ofthesun9 12294a6e5a Trying to enable fuzzy hashes for rspamd 7 年之前
Pierre Jaury 52d89b2f5d Fix rspamd behavior, currently failing due to worker-fuzzy 7 年之前
Mildred Ki'Lya ae8c9f5a6b Add various environment variables to allow running outside of docker-compose 7 年之前
kaiyou d1dbba2d3a Add expose instructions in Dockerfiles, fixes #392 7 年之前
kaiyou d23becb910 Disable esld when signing with dkim, fixes #435 7 年之前
Thomas Sänger c83676e02f
remove previous rspamd start-script 8 年之前
kaiyou 3675fdb915 Install the proper rspamd modules on top of Alpine 8 年之前
kaiyou 1d9b3b00a7 Use rspamd as a milter service instead of deprecated rmilter 8 年之前
kaiyou 689be5f2d9 Move all directories per theme 8 年之前