You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-08-10 22:31:47 +02:00
Added logs for table-map config files
This commit is contained in:
@@ -16,12 +16,15 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Include table-map files
|
# Include table-map files
|
||||||
if [ "$(ls -A /config/*.map)" ]; then
|
if ls -A /config/*.map 1> /dev/null 2>&1; then
|
||||||
cp /config/*.map /etc/postfix/
|
cp /config/*.map /etc/postfix/
|
||||||
postmap /etc/postfix/*.map
|
postmap /etc/postfix/*.map
|
||||||
rm /etc/postfix/*.map
|
rm /etc/postfix/*.map
|
||||||
chown root:root /etc/postfix/*.db
|
chown root:root /etc/postfix/*.db
|
||||||
chmod 0600 /etc/postfix/*.db
|
chmod 0600 /etc/postfix/*.db
|
||||||
|
echo "Loaded 'map files'"
|
||||||
|
else
|
||||||
|
echo "No extra map files loaded because optional '/config/*.map' not provided."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Actually run Postfix
|
# Actually run Postfix
|
||||||
|
Reference in New Issue
Block a user