If you have over 1k messages in queue and want to nuke them its best to :rip_curl said:this process is going very long time.
& how can i stop it with manual?
#!/bin/bash # Simple Exim Queue Cleaner # copyrighting this would be pitiful. # Set trip for however many minutes a queued message should be allowed to live ... trip=120 counter=0 [ -d "/var/spool/exim/input" ] || exit 1 echo "Scanning exim's queue for messages aging at or over $(($trip +1 )) minutes." cd /var/spool/exim/input for message in `find ? -cmin +$trip -print`; do if [ -f "$message" ]; then let "counter += 1" if [ "$1" = "--show" ]; then echo -en "$message\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b" fi rm -f $message` let "i += 1" fi done let "i = $i / 2" echo "Done. $i stale emails nuked."
Agreed and I would like to add, the above stuff I posted is just the last line of defense in case you're out having drinks and some ignorant pleab fills up your mail queue.lloyd_tennison said:It is more important to know why your queue is large. Spammers on your server could be one reason among many others.
You really need to get an admin to look. Something is sending an enormous amount of email and all of the exim (and subsequent processes to catch all the bounces) are preventing other services from forking.rip_curl said:i have a "cppop failed" message in my server.
and users can't connetct to server. what can it be?
what should I check first?
|Thread starter||Similar threads||Forum||Replies||Date|
|I||Horde spell check stopped working||1|
|I am desperate, i don't know how stop spam in my server WHM||13|
|A||stopping users from deleting email||1|
|K||How to stop emails deleting from the server?||1|
|J||deleting old email forwarders doesn't stop spam||3|