Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _____ _____ _ _____ _____ _____ _____ _____ _____
- ___| | __ |_| _ |_ _|___ ___|_ _| __| _ | |
- |_ -| --| -| | __| | | |- _|___| | | | __| | | | |
- |___|_____|__|__|_|__| |_| |___| |_| |_____|__|__|_|_|_|
- |s C R i P T z - T E A M . i N F O|████████████████████████████
- - iNfO -
- [USAGE-HELP] QMAiL REPAiR QUEUE
- - NOtIcE -
- SCRiPT: http://pastebin.com/uJECFNQF
- LOGiN TO SSH:
- copy the script from http://pastebin.com/uJECFNQF and call it as repair.py and run as repair.py --repair or see repair.py --help
- then
- /usr/local/etc/rc.d/qmail.sh stop
- cd /var/qmail/queue && find intd todo local remote mess info bounce -type f -print |xargs rm
- /usr/local/etc/rc.d/qmail.sh start
- Start qmail back up, and the queue should be empty. Note that if you only wanted to clear out bounce messages (a fairly frequent cause of mailservers getting wedged) you could abbreviate the find part of the sequence above like so:
- cd /var/qmail/queue && find bounce -type f -print |xargs rm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement