Commit Graph

37 Commits (2e55329b8b2ee85a11024588c033b2d55e833512)

Author SHA1 Message Date
Dennis Hoppe f3ac4e9397
Remove unused variables
Michael Wyraz a907fe4cac Split HOST_ANTISPAM in HOST_ANTISPAM_MILTER and HOST_ANTISPAM_WEBUI
Dario Ernst de29012d0b Remove unused stat import
Dario Ernst dc8a798ca1 Use correct octal notation for python3
Dario Ernst 18bc2fe78b Use more readable forms of makedirs and chmod
Dario Ernst 88bfb0d17f Fix rspamd-learn when moving mail from/to junk folder
Before, the ham/spam scripts got the rspamd-ip/port from the environment.
However, when checking the environment of these processes now, it seems
cleared. Maybe the new dovecot version now clears environment? — I couldn’t
find a hint.

In any case, using the common mechanism of injecting the ip/port from where
it’s definately known by the already-used jinja2-mechanism seems reasonably
safe.
Michael Wyraz de2f166bd1 Resolve HOST_* to *_ADDRESS only if *_ADDRESS is not already set
Tim Möhlmann 05ea4474e7
make `ANTIVIRUS_ADDRESS` consistent with
Ionut Filip 075417bf90 Merged master and fixed conflicts
hoellen 9de5dc2592 Use python package socrate instead of Mailustart
Ionut Filip f9e3cd3c5d Use corret host_* variables
Ionut Filip 71d63c6e45 Fix redis resolve in imap
Ionut Filip 9684ebf33f Use mailustart package from git
Tim Möhlmann 7a9685bcb9
Resolve admin during start to work around Docker DNS flaky-ness
mergify[bot] 4204facd85
Merge pull request from usrpro/feat-logging
Implement some degree of logging
Tim Möhlmann 049ca9941f
Cleanup syntax and fix typo
Tim Möhlmann 0ac3cf9617
Don't recursivly chown on mailboxes.
This fixes .
Recursion is not needed, as the permissions will only need to be set on the first invocation.
Tim Möhlmann 7d01bb2a4d
LOG_LEVEL docs and changelog entry
Tim Möhlmann b04a9d1c28
Implement debug logging for template rendering
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.
Ionut Filip 1187cac5e1 Finished up switching from .sh to .py
Ionut Filip eb7dfb5771 Cleaning up start.py
kaiyou d5162328ec Allow dovecot to write the source configuration directory for compiling sieve scripts
kaiyou 00b5ae11db
Merge branch 'master' into feat-abstract-db
Tim Möhlmann 0817629869
Increase attempts as it failed on fresh Swarm host
Tim Möhlmann 1bae5968ad
Import tenacy and fix syntax errors
Tim Möhlmann c457ccfa60
Use tenacity for resolver retries
kaiyou 9890e1fb2a Fix the dovecot configuration path
kaiyou 43b6547e1c Lower the loglevel of podop
kaiyou 6d088504bd Adjust podop debug level based on environment
kaiyou d8365bfbcf Use simpler routes for Dovecot
Tim Möhlmann cc8e15748b Retry 10 times when resolving fails in start.py scripts
Pierre Jaury b5d6b93869 Switch to using Podop in Dovecot
Mildred Ki'Lya ae8c9f5a6b Add various environment variables to allow running outside of docker-compose
kaiyou 091369915b Display the user quota in the admin interface
kaiyou 652ca769dc Allow authentication from webmail directly, fixes
kaiyou 689be5f2d9 Move all directories per theme