diff --git a/config/postfix/clear-queue.sh b/config/postfix/clear-queue.sh new file mode 100644 index 0000000..9d8e5f2 --- /dev/null +++ b/config/postfix/clear-queue.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +echo "#Clear mail queue every night" >> /etc/crontab +echo "0 0 * * * /opt/clear-queue.sh" >> /etc/crontab +echo "#!/bin/sh" +echo "postfix -f" \ No newline at end of file