Add 'config/postfix/clear-queue.sh'
This commit is contained in:
6
config/postfix/clear-queue.sh
Normal file
6
config/postfix/clear-queue.sh
Normal file
@@ -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"
|
||||||
Reference in New Issue
Block a user