Fixes, working rspamd settings, generate DKIM keys in PHP
This commit is contained in:
@@ -9,10 +9,4 @@ trap "postfix reload" SIGHUP
|
||||
# start postfix
|
||||
postfix -c /opt/postfix/conf start
|
||||
|
||||
# lets give postfix some time to start
|
||||
sleep 3
|
||||
|
||||
# wait until postfix is dead (triggered by trap)
|
||||
while kill -0 $(cat /var/spool/postfix/pid/master.pid); do
|
||||
sleep 5
|
||||
done
|
||||
sleep infinity
|
||||
|
@@ -9,6 +9,8 @@ RUN apt-get update \
|
||||
&& apt-get update \
|
||||
&& apt-get --no-install-recommends -y --force-yes install rspamd
|
||||
|
||||
RUN echo '.include $LOCAL_CONFDIR/local.d/rspamd.conf.local' > /etc/rspamd/rspamd.conf.local
|
||||
|
||||
CMD ["/usr/bin/rspamd","-f", "-u", "_rspamd", "-g", "_rspamd"]
|
||||
|
||||
USER _rspamd
|
||||
|
Reference in New Issue
Block a user