33 Commits
Author SHA1 Message Date
milkmakerandLukáš Matula 48d2c3deb8 [Web] Updated lang.sk.json [CI SKIP] (#4489)
Co-authored-by: Lukáš Matula <lukas@gbely.net>
Co-authored-by: milkmaker <milkmaker@mailcow.de>

Co-authored-by: Lukáš Matula <lukas@gbely.net>
2022-02-25 06:53:01 +01:00
FreddleSpl0it b17d458826 [Web] Fix padding issue in UI admin panel (#4481)
* [Web] fix admin panel padding issue

* [Web] fix admin panel padding issue
2022-02-23 21:29:18 +01:00
Peter 9ae815a34e Update issue templates to issue forms (#4465)
This PR updates the issue templates to GitHubs new issue forms
2022-02-13 14:41:06 +01:00
Max fd04cdc843 Fix minor typo in comment (#4466)
Correction of the comment, so that the explanation is correct and can be understood.
2022-02-12 18:56:02 +01:00
Michael Kuron ad422bf94a oletools: disable template injection detection (#4464)
Seems to be causing a lot of false positives lately
2022-02-12 14:50:02 +01:00
milkmakerandLukáš Matula 50875e4cf2 [Web] Updated lang.sk.json [CI SKIP] (#4461)
Co-authored-by: Lukáš Matula <lukas@gbely.net>
Co-authored-by: milkmaker <milkmaker@mailcow.de>

Co-authored-by: Lukáš Matula <lukas@gbely.net>
2022-02-09 18:53:11 +01:00
Slavi Pantaleev 59af0b3b79 Fall back to empty string if WATCHDOG_NOTIFY_EMAIL undefined (#4457)
By default, `.env` (`mailcow.conf`) does not define `WATCHDOG_NOTIFY_EMAIL`.

Using it in `docker-compose.yml` without having it defined leads to Compose v2 displaying this warning on startup:

> WARNING: The WATCHDOG_NOTIFY_EMAIL variable is not set. Defaulting to a blank string.

Related to https://github.com/mailcow/mailcow-dockerized/issues/4315
2022-02-08 22:23:24 +01:00
Slavi Pantaleev f96f747f49 Fix broken documentation links (#4458)
* Fix broken documentation links

* Fix a few more broken documentation links

* Fix broken documentation links in translation files
2022-02-08 22:07:42 +01:00
Niklas Meyer c8b8c3ed8c [Dovecot] Update to 2.3.18
This PR updates following:
Dovecot to 2.3.18
Update gosu to 1.14
Use debian bullseye as base

The Image Tag will be mailcow/dovecot:1.160 (already pushed)
2022-02-07 08:19:21 +01:00
Niklas Meyer fe8635fdfd [Clamd] Update to clamav-0.104.2
This PR updates ClamAV to 0.104.2.
The Image Tag will be mailcow/clamd:1.44 (already pushed)

Due to changes of the build mechanics it will use cmake now. Also adding + updates tini from the official GitHub repository instead adding it manually to the image
2022-02-07 08:17:04 +01:00
milkmakerandFijxu dde8703d36 [Web] Updated lang.es.json [CI SKIP] (#4453)
Co-authored-by: Fijxu <fijxu@zzls.xyz>
Co-authored-by: milkmaker <milkmaker@mailcow.de>

Co-authored-by: Fijxu <fijxu@zzls.xyz>
2022-02-04 18:44:02 +01:00
Peter 5e3f95009e Update dovecot to 2.3.18
Update gosu to 1.14
Use debian bullseye as base
2022-02-03 18:09:13 +01:00
Peter 6df89f1183 Update clamav to 0.104.2 2022-02-02 20:45:43 +01:00
Peter 63c5b8ad96 Update clamav to 0.104.2 2022-02-02 19:21:50 +01:00
FreddleSpl0it 0647605dcd [WebAuthn] fido2 passwordless auth - fix (#4440)
* [WebAuthn] fido2 revert

* [WebAuthn] set UV flags to 'discouraged'

* [WebAuthn] revert - set UV flags to 'discouraged'
2022-02-01 15:00:26 +01:00
Niklas Meyer c3973074a3 [Web] add version footer for release tracking
Refers to https://github.com/mailcow/mailcow-dockerized/issues/4434
2022-01-31 19:19:09 +01:00
Niklas Meyer 4d44a82bfd [SOGo] Passwordless Auth: Support for Calendar Invitations + Subscriptions
Passwordless SOGo auth: support for calendar invitations and calender/contacts subscriptions
2022-01-31 10:44:59 +01:00
Michael Kuron 8542ad88d3 Passwordless SOGo auth: improvements for when accessing other users 2022-01-30 17:31:35 +01:00
FreddleSpl0it 41e420fb73 [Web] add github version tag - missing </div> 2022-01-29 23:37:57 +01:00
FreddleSpl0it bfea3164d7 [Web] add github version tag - move twig globals 2022-01-29 23:36:09 +01:00
Niklas Meyer 4bdea62400 [Compose] Update SOGo Autoreply Schedule to 5m
Based on the advice of inverse (SOGo developer):  https://github.com/inverse-inc/sogo/commit/e8d7faf6f4ddca19469c2cd2851f0000bc62fddd
Thanks to @jmber for sharing.
Closes: https://github.com/mailcow/mailcow-dockerized/issues/4436
2022-01-28 09:55:50 +01:00
Niklas Meyer b54f092bb2 [Compose] Update SOGo Autoreply Schedule to 5m
Based on the advice of inverse (SOGo developer). Thanks to https://github.com/jmber

Closes: https://github.com/mailcow/mailcow-dockerized/issues/4436
2022-01-28 09:53:33 +01:00
FreddleSpl0it fe480abf34 [Web] add github version tag - adjust css 2022-01-28 07:27:42 +01:00
Michael Kuron 8dc98b34e4 Passwordless SOGo auth: support for calendar invitations and calendar/contacts subscriptions
Inviting someone to a calendar event triggers a request to /SOGo/so/otheruser@example.com/freebusy.ifb/ajaxRead. Subscribing to someone's calendar/contacts triggers a request to /SOGo/so/otheruser@example.com/foldersSearch. The email address in the URL is different from the logged-in user, which needs to be handled appropriately by sogo-auth.php.
2022-01-27 22:17:12 +01:00
FreddleSpl0it b2b5f4c033 [Web] add github version tag error handling 2022-01-26 11:17:22 +01:00
FreddleSpl0it c6b73d7523 [Web] add github version tag error handling 2022-01-26 11:16:25 +01:00
FreddleSpl0it eeced86c3a [Web] add github version tag 2022-01-26 11:00:39 +01:00
FreddleSpl0it 068bd07767 [Web] add github version tag 2022-01-26 10:55:03 +01:00
FreddleSpl0it 0015319ebf [Web] add github version tag 2022-01-26 10:53:12 +01:00
FreddleSpl0it da72e9716d [Web] add github version tag 2022-01-24 20:13:46 +01:00
FreddleSpl0it e6cb17346c [Web] add github version tag 2022-01-24 19:43:29 +01:00
Peter cfba96f7e0 [GH-Actions][stale] Add neverstale label to exempt list 2022-01-22 17:41:46 +01:00
ntimo c82f38a025 [API] Fix minor issue in api docs 2022-01-21 21:29:16 +00:00
15 changed files with 361 additions and 1209 deletions
@@ -14,7 +14,7 @@ jobs:
pull-requests: write
steps:
- name: Mark/Close Stale Issues and Pull Requests 🗑️
uses: actions/stale@v5.0.0
uses: actions/stale@v4
with:
repo-token: ${{ secrets.STALE_ACTION_PAT }}
days-before-stale: 60
-3
View File
@@ -1,7 +1,4 @@
# mailcow: dockerized - 🐮 + 🐋 = 💕
## We stand with 🇺🇦
[![master build status](https://img.shields.io/drone/build/mailcow/mailcow-dockerized/master?label=master%20build&server=https%3A%2F%2Fdrone.mailcow.email)](https://drone.mailcow.email/mailcow/mailcow-dockerized) [![staging build status](https://img.shields.io/drone/build/mailcow/mailcow-dockerized/staging?label=staging%20build&server=https%3A%2F%2Fdrone.mailcow.email)](https://drone.mailcow.email/mailcow/mailcow-dockerized) [![Translation status](https://translate.mailcow.email/widgets/mailcow-dockerized/-/translation/svg-badge.svg)](https://translate.mailcow.email/engage/mailcow-dockerized/)
[![Twitter URL](https://img.shields.io/twitter/url/https/twitter.com/mailcow_email.svg?style=social&label=Follow%20%40mailcow_email)](https://twitter.com/mailcow_email)
File diff suppressed because it is too large Load Diff
@@ -161,7 +161,7 @@ try:
attrs = json.loads(attrs.decode('utf-8'))
if attrs['quarantine_notification'] not in ('hourly', 'daily', 'weekly'):
continue
if last_notification == 0 or (last_notification + time_trans[attrs['quarantine_notification']]) <= time_now:
if last_notification == 0 or (last_notification + time_trans[attrs['quarantine_notification']]) < time_now:
print("Notifying %s: Considering %d new items in quarantine (policy: %s)" % (record['rcpt'], record['counter'], attrs['quarantine_notification']))
notify_rcpt(record['rcpt'], record['counter'], record['quarantine_acl'], attrs['quarantine_category'])
@@ -1,4 +1,4 @@
@version: 3.28
@version: 3.19
@include "scl.conf"
options {
chain_hostnames(off);
+1 -1
View File
@@ -1,4 +1,4 @@
@version: 3.28
@version: 3.19
@include "scl.conf"
options {
chain_hostnames(off);
+3 -3
View File
@@ -8,9 +8,9 @@ RUN apk add --virtual .build-deps gcc musl-dev python3-dev libffi-dev openssl-de
&& apk add --update --no-cache python3 py3-pip openssl tzdata libmagic \
&& pip3 install --upgrade pip \
&& pip3 install --upgrade asyncio python-magic \
&& pip3 install --upgrade https://github.com/decalage2/oletools/archive/master.zip \
&& apk del .build-deps
# && sed -i 's/template_injection_detected = True/template_injection_detected = False/g' /usr/lib/python3.9/site-packages/oletools/olevba.py
&& pip3 install --upgrade https://github.com/HeinleinSupport/oletools/archive/master.zip \
&& apk del .build-deps \
&& sed -i 's/template_injection_detected = True/template_injection_detected = False/g' /usr/lib/python3.9/site-packages/oletools/olevba.py
ADD olefy.py /app/
+1 -2
View File
@@ -21,8 +21,7 @@ RUN apt-get update && apt-get install -y \
&& apt-get clean \
&& mkdir -p /run/rspamd \
&& chown _rspamd:_rspamd /run/rspamd \
&& echo 'alias ll="ls -la --color"' >> ~/.bashrc \
&& sed -i 's/#analysis_keyword_table > 0/analysis_cat_table.macro_exist == "M"/g' /usr/share/rspamd/lualib/lua_scanners/oletools.lua
&& echo 'alias ll="ls -la --color"' >> ~/.bashrc
COPY settings.conf /etc/rspamd/settings.conf
COPY metadata_exporter.lua /usr/share/rspamd/plugins/metadata_exporter.lua
-8
View File
@@ -47,14 +47,6 @@ server {
return 301 $client_req_scheme_nc://$host/remote.php/dav;
}
location = /.well-known/webfinger {
return 301 $client_req_scheme_nc://$host/index.php/.well-known/webfinger;
}
location = /.well-known/nodeinfo {
return 301 $client_req_scheme_nc://$host/index.php/.well-known/nodeinfo;
}
location ^~ /.well-known/acme-challenge/ {
default_type "text/plain";
root /web;
@@ -1,6 +1,6 @@
opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=16
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
-2
View File
@@ -204,8 +204,6 @@ legend {
color: #959595;
display: flex;
flex-direction: column;
width: 100% !important;
padding: 0 !important;
}
.footer .version {
margin-left: auto;
@@ -71,7 +71,7 @@
<div class="col-sm-8">
<select data-width="100%" name="exclude_domains" class="selectpicker" title="{{ lang.tfa.select }}" multiple>
{% for domain in all_domains %}
<option {% if domain in q_data.exclude_domains %}selected{% endif %}>{{ domain }}</option>
<option {% if domain in q_data.exclude_domains|keys %}selected{% endif %}>{{ domain }}</option>
{% endfor %}
</select>
</div>
+4 -4
View File
@@ -73,7 +73,7 @@ services:
- clamd
rspamd-mailcow:
image: mailcow/rspamd:1.80
image: mailcow/rspamd:1.79
stop_grace_period: 30s
depends_on:
- dovecot-mailcow
@@ -212,7 +212,7 @@ services:
- sogo
dovecot-mailcow:
image: mailcow/dovecot:1.161
image: mailcow/dovecot:1.160
depends_on:
- mysql-mailcow
dns:
@@ -540,7 +540,7 @@ services:
- solr
olefy-mailcow:
image: mailcow/olefy:1.9
image: mailcow/olefy:1.8.1
restart: always
environment:
- TZ=${TZ}
@@ -548,7 +548,7 @@ services:
- OLEFY_BINDPORT=10055
- OLEFY_TMPDIR=/tmp
- OLEFY_PYTHON_PATH=/usr/bin/python3
- OLEFY_OLEVBA_PATH=/usr/bin/olevba
- OLEFY_OLEVBA_PATH=/usr/bin/olevba3
- OLEFY_LOGLVL=20
- OLEFY_MINLENGTH=500
- OLEFY_DEL_TMP=1