diff --git a/data/Dockerfiles/rspamd/Dockerfile b/data/Dockerfiles/rspamd/Dockerfile index 4a2ea589..42f2afc2 100644 --- a/data/Dockerfiles/rspamd/Dockerfile +++ b/data/Dockerfiles/rspamd/Dockerfile @@ -17,6 +17,9 @@ COPY settings.conf /etc/rspamd/modules.d/settings.conf COPY antivirus.conf /etc/rspamd/modules.d/antivirus.conf COPY dkim_signing.lua /usr/share/rspamd/lua/dkim_signing.lua +RUN apt-get autoremove --purge \ + && apt-get clean + CMD /usr/bin/rspamd -f -u _rspamd -g _rspamd RUN rm -rf /tmp/* /var/tmp/* diff --git a/data/web/add.php b/data/web/add.php index d3c7ca95..b81a4e55 100644 --- a/data/web/add.php +++ b/data/web/add.php @@ -139,7 +139,7 @@ if (isset($_SESSION['mailcow_cc_role']) && ($_SESSION['mailcow_cc_role'] == "adm