1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-06-17 00:07:45 +02:00
Commit Graph

90 Commits

Author SHA1 Message Date
a907fe4cac Split HOST_ANTISPAM in HOST_ANTISPAM_MILTER and HOST_ANTISPAM_WEBUI 2019-10-13 20:13:02 +02:00
de29012d0b Remove unused stat import 2019-10-10 09:51:52 +02:00
dc8a798ca1 Use correct octal notation for python3 2019-10-03 08:32:56 +00:00
18bc2fe78b Use more readable forms of makedirs and chmod 2019-10-03 08:31:00 +00:00
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.
2019-09-27 19:53:09 +00:00
de2f166bd1 Resolve HOST_* to *_ADDRESS only if *_ADDRESS is not already set 2019-08-31 18:18:58 +02:00
05ea4474e7 make ANTIVIRUS_ADDRESS consistent with #940 2019-08-22 13:08:43 +03:00
6f973a2e4b Fixed hardcoded antispam and antivirus host addresses
Fixes #978
2019-08-22 11:41:18 +03:00
075417bf90 Merged master and fixed conflicts 2019-08-21 20:35:24 +03:00
9de5dc2592 Use python package socrate instead of Mailustart 2019-07-25 10:33:57 +02:00
1dbda71401 Adapt shared layer conf to now really-missing mailustart in admin (after merging webpack) 2019-07-14 13:12:59 +00:00
0f146cd811 Require python3.7-compatible podop
Which is still unreleased, but serves as a placeholder here.
2019-07-14 10:28:56 +00:00
0306be1eed Re-add missing MailuStar in admin
It turns out we were all blind and admin *does* use MailuStart
2019-07-14 10:27:57 +00:00
53f754f5ac Remove MailuStart from admin and correct layer-sharing comments 2019-07-14 09:33:54 +00:00
93b54dcffe Install podop from pypi 2019-07-14 09:24:59 +00:00
bb2edb6eb6 Revert "Move alpine version definition out to variable"
This reverts commit c787e4bdbd.
2019-06-30 11:39:48 +00:00
c787e4bdbd Move alpine version definition out to variable 2019-06-26 21:14:59 +00:00
3bfdff155c Use official Mailu/Podop 2019-06-25 19:54:05 +00:00
a253ca47fe Use official Mailu/MailuStart 2019-06-25 19:24:05 +00:00
9c1675e9d8 Use TEMPORARY workaround-branch for podop python 3.7 compatability 2019-06-25 19:24:05 +00:00
d1f80cca99 Update Dockerfiles to most recent alpine 3.10 2019-06-25 19:24:05 +00:00
ef3c6c407a upgrade alpine base-image 2019-06-25 19:23:40 +00:00
8d34756023 Increase dovecot mail max userip 2019-02-21 17:15:56 +02:00
f9e3cd3c5d Use corret host_* variables 2019-02-15 16:49:56 +02:00
71d63c6e45 Fix redis resolve in imap 2019-02-15 16:20:55 +02:00
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.
2019-02-06 15:01:02 -05:00
004a431e97 Change to mailustart functions 2019-01-25 17:26:45 +02:00
9684ebf33f Use mailustart package from git 2019-01-24 14:53:02 +02:00
7a9685bcb9 Resolve admin during start to work around Docker DNS flaky-ness 2019-01-17 16:40:44 +02:00
492f3867d8 remove (broken) FTS 2019-01-10 12:09:08 +01:00
b65d70cf1e mark spam as seen 2019-01-09 20:12:17 +01:00
4204facd85 Merge pull request #810 from usrpro/feat-logging
Implement some degree of logging
2019-01-08 15:53:31 +00:00
049ca9941f Cleanup syntax and fix typo 2019-01-08 05:21:03 +02:00
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.
2019-01-08 05:00:15 +02:00
7d01bb2a4d LOG_LEVEL docs and changelog entry 2019-01-08 00:58:01 +02:00
b04a9d1c28 Implement debug logging for template rendering 2019-01-08 00:38:06 +02:00
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.
2019-01-07 23:49:10 +02:00
3a5b763018 Option to disable full text search (lucene)
This is a workaround for the bug in issue #751
2018-12-25 13:52:12 +02:00
c041a9d45c allow all characters for username in dovecot 2018-12-19 16:19:37 +01:00
42e2dbe35d Standarize image by using shared / similair layers 2018-10-31 19:17:23 +02:00
8a44a44688 Merge branch 'master' into feat-startup 2018-10-23 12:51:32 +03:00
1187cac5e1 Finished up switching from .sh to .py 2018-10-23 11:58:36 +03:00
eb7dfb5771 Cleaning up start.py 2018-10-22 17:02:43 +03:00
603b6e7390 Merge pull request #2 from usrpro/fix-nginx-healthcheck
Fix nginx healthcheck
2018-10-21 22:44:44 +02:00
81b24f61e8 Merge branch 'master' into feat-healthchecks 2018-10-21 20:58:59 +03:00
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)
2018-10-21 20:49:01 +03:00
727970514d Merge pull request #527 from ofthesun9/feat-fuzzyhashes
Trying to enable fuzzy hashes for rspamd
2018-10-18 21:59:08 +00:00
d5162328ec Allow dovecot to write the source configuration directory for compiling sieve scripts 2018-10-17 18:48:59 +02:00
ce0bf3366d Learn fuzzy hashes automatically 2018-10-17 18:48:28 +02:00
0a5dbf6230 Re-enable local dovecot sieve scripts 2018-10-17 17:41:21 +02:00