Update 'installer.sh'
This commit is contained in:
15
installer.sh
15
installer.sh
@@ -403,9 +403,6 @@ msg " Configuring OpenDKIM"
|
|||||||
sleep 2
|
sleep 2
|
||||||
wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/"$branch"/config/dkim/opendkim.sh -O /tmp/opendkim.sh
|
wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/"$branch"/config/dkim/opendkim.sh -O /tmp/opendkim.sh
|
||||||
source /tmp/opendkim.sh > $OUTPUT 2>&1
|
source /tmp/opendkim.sh > $OUTPUT 2>&1
|
||||||
echo "### OpenDKIM key:" >> ~/Readme.md
|
|
||||||
cat /etc/opendkim/keys/$domonly/default.txt >> ~/Readme.md
|
|
||||||
echo "" >> ~/Readme.md
|
|
||||||
|
|
||||||
##-------------------------##
|
##-------------------------##
|
||||||
# Max attachment size #
|
# Max attachment size #
|
||||||
@@ -444,18 +441,6 @@ msg " Configuring Mail-queue"
|
|||||||
sleep 2
|
sleep 2
|
||||||
wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/"$branch"/config/postfix/clear-queue.sh -O /tmp/clear-queue.sh
|
wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/"$branch"/config/postfix/clear-queue.sh -O /tmp/clear-queue.sh
|
||||||
source /tmp/clear-queue.sh
|
source /tmp/clear-queue.sh
|
||||||
echo "### Postfix mail queue:" >> ~/Readme.md
|
|
||||||
echo "#Show queue" >> ~/Readme.md
|
|
||||||
echo "postqueue -p" >> ~/Readme.md
|
|
||||||
echo "#Show message" >> ~/Readme.md
|
|
||||||
echo "postcat -vq XXXXXXXXXX" >> ~/Readme.md
|
|
||||||
echo "#Flushing the queue" >> ~/Readme.md
|
|
||||||
echo "postqueue -f" >> ~/Readme.md
|
|
||||||
echo "#Removing all queued messages" >> ~/Readme.md
|
|
||||||
echo "postsuper -d ALL" >> ~/Readme.md
|
|
||||||
echo "#Remove differed messages from the queue (i.e. only the ones the system intends to retry later)" >> ~/Readme.md
|
|
||||||
echo "postsuper -d ALL deferred" >> ~/Readme.md
|
|
||||||
echo "" >> ~/Readme.md
|
|
||||||
|
|
||||||
##----------##
|
##----------##
|
||||||
# MOTD #
|
# MOTD #
|
||||||
|
|||||||
Reference in New Issue
Block a user