Include whitelist_clients.local in postgrey setup from config folder (#564)

This commit is contained in:
Michael Als 2017-04-12 17:59:04 +02:00 committed by Thomas VIAL
parent 4536113a30
commit ec6e5eea39
4 changed files with 19 additions and 0 deletions

View file

@ -540,6 +540,7 @@ function _setup_postgrey() {
if [ $TEXT_FOUND -eq 0 ]; then
printf "POSTGREY_TEXT=\"$POSTGREY_TEXT\"\n\n" >> /etc/default/postgrey
fi
cp -f /tmp/docker-mailserver/whitelist_clients.local /etc/postgrey/whitelist_clients.local
}