[Compose] Add olefy container, new Postfix iamge and new ClamAV image
This commit is contained in:
parent
aea957e949
commit
39f95b8284
@ -48,6 +48,7 @@ while true; do
|
|||||||
sleep 2m
|
sleep 2m
|
||||||
SANE_MIRRORS="$(dig +ignore +short rsync.sanesecurity.net)"
|
SANE_MIRRORS="$(dig +ignore +short rsync.sanesecurity.net)"
|
||||||
for sane_mirror in ${SANE_MIRRORS}; do
|
for sane_mirror in ${SANE_MIRRORS}; do
|
||||||
|
CE=
|
||||||
rsync -avp --chown=clamav:clamav --chmod=Du=rwx,Dgo=rx,Fu=rw,Fog=r --timeout=5 rsync://${sane_mirror}/sanesecurity/ \
|
rsync -avp --chown=clamav:clamav --chmod=Du=rwx,Dgo=rx,Fu=rw,Fog=r --timeout=5 rsync://${sane_mirror}/sanesecurity/ \
|
||||||
--include 'blurl.ndb' \
|
--include 'blurl.ndb' \
|
||||||
--include 'junk.ndb' \
|
--include 'junk.ndb' \
|
||||||
@ -61,7 +62,8 @@ while true; do
|
|||||||
--include 'sanesecurity.ftm' \
|
--include 'sanesecurity.ftm' \
|
||||||
--include 'sigwhitelist.ign2' \
|
--include 'sigwhitelist.ign2' \
|
||||||
--exclude='*' /var/lib/clamav/
|
--exclude='*' /var/lib/clamav/
|
||||||
if [ $? -eq 0 ]; then
|
chown 755 /var/lib/clamav/
|
||||||
|
if [ ${CE} -eq 0 ]; then
|
||||||
echo RELOAD | nc localhost 3310
|
echo RELOAD | nc localhost 3310
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
@ -55,7 +55,7 @@ services:
|
|||||||
- redis
|
- redis
|
||||||
|
|
||||||
clamd-mailcow:
|
clamd-mailcow:
|
||||||
image: mailcow/clamd:1.23
|
image: mailcow/clamd:1.24
|
||||||
build: ./data/Dockerfiles/clamd
|
build: ./data/Dockerfiles/clamd
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
@ -225,7 +225,7 @@ services:
|
|||||||
- dovecot
|
- dovecot
|
||||||
|
|
||||||
postfix-mailcow:
|
postfix-mailcow:
|
||||||
image: mailcow/postfix:1.32
|
image: mailcow/postfix:1.33
|
||||||
build: ./data/Dockerfiles/postfix
|
build: ./data/Dockerfiles/postfix
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/conf/postfix:/opt/postfix/conf
|
- ./data/conf/postfix:/opt/postfix/conf
|
||||||
@ -428,6 +428,24 @@ services:
|
|||||||
aliases:
|
aliases:
|
||||||
- solr
|
- solr
|
||||||
|
|
||||||
|
olefy-mailcow:
|
||||||
|
image: mailcow/olefy:1.0
|
||||||
|
restart: always
|
||||||
|
build: ./data/Dockerfiles/olefy
|
||||||
|
environment:
|
||||||
|
- OLEFY_BINDADDRESS=0.0.0.0
|
||||||
|
- OLEFY_BINDPORT=10055
|
||||||
|
- OLEFY_TMPDIR=/tmp
|
||||||
|
- OLEFY_PYTHON_PATH=/usr/bin/python3
|
||||||
|
- OLEFY_OLEVBA_PATH=/usr/bin/olevba3
|
||||||
|
- OLEFY_LOGLVL=20
|
||||||
|
- OLEFY_MINLENGTH=500
|
||||||
|
- OLEFY_DEL_TMP=1
|
||||||
|
networks:
|
||||||
|
mailcow-network:
|
||||||
|
aliases:
|
||||||
|
- olefy
|
||||||
|
|
||||||
ipv6nat-mailcow:
|
ipv6nat-mailcow:
|
||||||
depends_on:
|
depends_on:
|
||||||
- unbound-mailcow
|
- unbound-mailcow
|
||||||
|
Loading…
Reference in New Issue
Block a user