unable to open "Mail Queue Administration"

seachen

Verified User
Joined
Feb 3, 2007
Messages
491
help....i try to open Mail Queue Administration. but it always show

Your connection has timed out

Details

Either your request was invalid or the program hasn't completed your request.
Please notify the server admin

how to solve this problem ??
 
The error most likely means you've got too many emails in your queue, and the server has given up on waiting. The fix is to manage the queue manually.

Jeff
 
I only have like 200 messages in the mqueue according to exim -bpc and I still cannot open the mail queue admin panel. It used to work but now when I click on it its just empty. Does not time out but just empty. Any ideas?

Matt
 
Try this script from the shell:
empty_exim_que.sh
Code:
#!/bin/sh

if [ $1 ]; then
        echo "`exim -bpru | tr '\n' + | sed -e "s/++/=/g" | tr -d + | tr = '\n' | grep "$1" | awk {'print $3'} | xargs exim -Mrm | wc -l` E-Mails deleted"
else
        echo "If you want to delete ALL the `exim -bpc` E-Mails on mail queue, give this command:"
        echo "exim -bpru | awk {'print $3'} | xargs exim -Mrm"
        echo ""
        echo "If you want to delete only mails with an specific sender/recipient, use:"
        echo "$0 [sender/recipient]"
fi
 
Back
Top