141 Commits (710dde1faf4846c5889fc77f4502c5d056b08678)

Author SHA1 Message Date
Michael Wyraz a907fe4cac Split HOST_ANTISPAM in HOST_ANTISPAM_MILTER and HOST_ANTISPAM_WEBUI 5 years ago
Dario Ernst de29012d0b Remove unused stat import 5 years ago
Dario Ernst dc8a798ca1 Use correct octal notation for python3 5 years ago
Dario Ernst 18bc2fe78b Use more readable forms of makedirs and chmod 5 years ago
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.
5 years ago
Michael Wyraz de2f166bd1 Resolve HOST_* to *_ADDRESS only if *_ADDRESS is not already set 5 years ago
Tim Möhlmann 05ea4474e7
make `ANTIVIRUS_ADDRESS` consistent with #940 5 years ago
Igor Rzegocki 6f973a2e4b
Fixed hardcoded antispam and antivirus host addresses
Fixes #978
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) 6 years ago
Dario Ernst 0f146cd811 Require python3.7-compatible podop
Which is still unreleased, but serves as a placeholder here.
6 years ago
Dario Ernst 0306be1eed Re-add missing MailuStar in admin
It turns out we were all blind and admin *does* use MailuStart
6 years ago
Dario Ernst 53f754f5ac Remove MailuStart from admin and correct layer-sharing comments 6 years ago
Dario Ernst 93b54dcffe Install podop from pypi 6 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
Dario Ernst 3bfdff155c Use official Mailu/Podop 6 years ago
Dario Ernst a253ca47fe Use official Mailu/MailuStart 6 years ago
Dario Ernst 9c1675e9d8 Use TEMPORARY workaround-branch for podop python 3.7 compatability 6 years ago
Dario Ernst d1f80cca99 Update Dockerfiles to most recent alpine 3.10 6 years ago
Thomas Sänger ef3c6c407a upgrade alpine base-image 6 years ago
Ionut Filip 8d34756023 Increase dovecot mail max userip 6 years ago
Ionut Filip f9e3cd3c5d Use corret host_* variables 6 years ago
Ionut Filip 71d63c6e45 Fix redis resolve in imap 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
Thomas Sänger 492f3867d8
remove (broken) FTS 6 years ago
hoellen b65d70cf1e mark spam as seen 6 years ago
mergify[bot] 4204facd85
Merge pull request #810 from usrpro/feat-logging
Implement some degree of logging
6 years ago
Tim Möhlmann 049ca9941f
Cleanup syntax and fix typo 6 years ago
Tim Möhlmann 0ac3cf9617
Don't recursivly chown on mailboxes.
This fixes #776.
Recursion is not needed, as the permissions will only need to be set on the first invocation.
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 3a5b763018
Option to disable full text search (lucene)
This is a workaround for the bug in issue #751
6 years ago
hoellen c041a9d45c allow all characters for username in dovecot 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
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
mergify[bot] 727970514d
Merge pull request #527 from ofthesun9/feat-fuzzyhashes
Trying to enable fuzzy hashes for rspamd
6 years ago
kaiyou d5162328ec Allow dovecot to write the source configuration directory for compiling sieve scripts 6 years ago
kaiyou ce0bf3366d Learn fuzzy hashes automatically 6 years ago
kaiyou 0a5dbf6230 Re-enable local dovecot sieve scripts 6 years ago
Thomas Sänger 0bc901a722
add healthcheck for dovecot 6 years ago
kaiyou 00b5ae11db
Merge branch 'master' into feat-abstract-db 6 years ago
Tim Möhlmann 0817629869
Increase attempts as it failed on fresh Swarm host 6 years ago
Tim Möhlmann 716ed16f34
Fix typo 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
kaiyou 2cba045013 Explicitely declare required volumes, fixes #568 6 years ago
kaiyou 9890e1fb2a Fix the dovecot configuration path 6 years ago
kaiyou dc4b0d21ea Clean the dovecot configuration dir 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 6ba55ee377 Implement the sieve script name resolution pattern 6 years ago
kaiyou 4d25083847 Move sieve script generation to the admin container 6 years ago
kaiyou d8365bfbcf Use simpler routes for Dovecot 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 5dc9ee9516
Merge pull request #510 from hoellen/spam-trash-fix
Dont flag spam as ham if moved to trash
6 years ago
kaiyou d917f60352
Merge pull request #553 from HorayNarea/compress
add optional Maildir-Compression
6 years ago
Tim Möhlmann cc8e15748b Retry 10 times when resolving fails in start.py scripts 6 years ago
Thomas Sänger 0bdb2a16bc
add optional Maildir-Compression 6 years ago
Thomas Sänger fb62e6b5a2
add full-text search support 6 years ago
Pierre Jaury 18fe8cd9f2 Pin alpine:3.7 for Dovecot since extdata was removed from repos, fixes #528 6 years ago
Pierre Jaury b5d6b93869 Switch to using Podop in Dovecot 7 years ago
hoellen ca26264d01 Dont flag spam as ham if moved to trash (fix #474) 7 years ago
kaiyou a47ba3474c
Merge pull request #448 from romracer/pod-address
Use POD_ADDRESS_RANGE for Dovecot if it exists
7 years ago
Mildred Ki'Lya 6bb4c6e2f0 Parametrize front address from dovecot 7 years ago
Mildred Ki'Lya ae8c9f5a6b Add various environment variables to allow running outside of docker-compose 7 years ago
kaiyou 7f0447514c Finish storing the user quota to redis 7 years ago
kaiyou 091369915b Display the user quota in the admin interface 7 years ago
kaiyou d1dbba2d3a Add expose instructions in Dockerfiles, fixes #392 7 years ago
farthen f75280e4a3 Dovecot: Add SQL iterate_query to config file.
This allows to use doveadm -A to execute maintenance tasks for all users on the server
7 years ago
Scott 6018995534 Use POD_ADDRESS_RANGE for Dovecot if it exists
This is required to override allow_nets in a Kubernetes environment where pods are not recreated with the same IP address.
7 years ago
Mildred Ki'Lya 649a4fc9cf Add Delivered-To header to received messages
Postfix, after expanding the alias, is not transmitting the original
envelope recipient email address to dovecot and cannot record it in a
Received: header.

The LMTP DSN extension allows postfix to specify an ORCPT= parameter to
the "RCPT TO:" line (in postfix src/smtp/smtp_proto.c). However, dovecot
does not support the DNS extension on the LMTP endpoint. It has
preliminary support of the ORCPT parameter in latest versions but is is
disabled and not working.

The solution taken was to add a sieve script to parse the Received:
header written by postfix and parse the original RCPT TO address from
it. Then add the header through the "editheader" sieve extension. Later
sieve scripts can take this header to perform further filtering.
7 years ago
AdrienM 29a1548532 Add explicit ssl_protocols in conf 7 years ago
kaiyou 652ca769dc Allow authentication from webmail directly, fixes #308 7 years ago
kaiyou 28eff398d1 Send a vacation response only until the end date, fixes #218 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