From 5ae671641c0300fda99c232c1a70e6d68a5d627e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 3 May 2025 11:27:43 -0500 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 35e9bee..43ed726 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -770,6 +770,11 @@ POSTFIX_INSTALL(){ [ ${action-x} ] && exit 0 ENTER2CONTINUE } +POSTFIX_CLEARQUEUE(){ + systemctl stop postfix + postsuper -d ALL + systemctl start postfix +} BASHRC_INSTALL(){ echo -e "${idsCL[Green]}Installing root/.bashrc${idsCL[Default]}" /usr/bin/wget -O ~/.bashrc https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/bashrc @@ -1220,6 +1225,7 @@ if [ ${action-x} ]; then watchtower) INSTALL_WATCHTOWER ${2};; docker-cleanup) DOCKER_CLEANUP;; syncthing-update) SYNCTHING_APT_UPDATE;; + mailclear) POSTFIX_CLEARQUEUE;; # *) echo "Thats an invaild option,"; # exit 1;; esac