mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2025-12-17 21:36:19 +00:00
modified: build/Dockerfile.ubuntu
modified: build/run/docker-entrypoint/init.d/50-cron.sh modified: build/run/installer.sh
This commit is contained in:
parent
f00348cf3a
commit
0b705af7c7
3 changed files with 4 additions and 6 deletions
|
|
@ -27,7 +27,6 @@ RUN apt remove -y nano* exim*; \
|
|||
&& apt install -y \
|
||||
ca-certificates \
|
||||
git wget bind9-host acl dbconfig-no-thanks at \
|
||||
rsyslog \
|
||||
nginx \
|
||||
mariadb-server mariadb-client postfix-mysql dovecot-mysql \
|
||||
php php-fpm php-imap php-mbstring php-mysql php-json php-curl php-zip php-xml php-bz2 php-intl php-gmp php-net-ldap3 php-imagick php-common php-gd php-sqlite3 php-cli \
|
||||
|
|
|
|||
|
|
@ -13,7 +13,10 @@ done &
|
|||
# Update Postscreen Whitelists (daily)
|
||||
while true
|
||||
do
|
||||
at -f /usr/local/bin/postwhite/postwhite midnight
|
||||
at midnight <<- postwhite
|
||||
wget -q https://myvelabs.com/docker/myvemail-docker/raw/branch/master/data/postwhite -O /etc/postfix/postscreen_spf_whitelist.cidr
|
||||
postfix reload
|
||||
postwhite
|
||||
sleep 1d
|
||||
done &
|
||||
|
||||
|
|
|
|||
|
|
@ -479,8 +479,4 @@ nginx
|
|||
cd /usr/local/bin
|
||||
git clone --quiet https://github.com/spf-tools/spf-tools.git
|
||||
git clone --quiet https://github.com/stevejenkins/postwhite.git
|
||||
|
||||
sed "/reload_postfix/c reload_postfix=no/" /usr/local/bin/postwhite/postwhite.conf >/etc/postwhite.conf
|
||||
bash /usr/local/bin/postwhite/postwhite
|
||||
|
||||
cp /usr/local/bin/postwhite/postwhite.conf /etc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue