Hi,
There are 5000+ email are in queue, my problem is that, i want to delete the email for the perticular domain from the queue. to do so please advice me.
Hi,
There are 5000+ email are in queue, my problem is that, i want to delete the email for the perticular domain from the queue. to do so please advice me.
NC
Have a nice time
You'll need to delete the files directly from /var/spool/exim/input/* and /var/spool/exim/msglog/*. You can di it most simply using grep and piping to rm, this would probably do it:
grep -ri "domain\.com" /var/spool/exim/input/* | rm -fv
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Hi,
I applied the command but no luck, i want remove all the emails queue for perticular domain like xyz.com. suppose there are 5000+ mails are in queue for xyz.com. so i want delete all the mail queue for xyz.com. Please help me
NC
Have a nice time
Have a look.....
http://forums.cpanel.net/showthread.php?t=30820
Either Zero Or Hundred...
Try:
exiqgrep -ir <domain> | xargs -n1 exim -Mrm
that should remove any e-mail that is in the queue that is waiting to be delivered to POP accounts at <domain>.
Anyone looking for GOOD script, read my post there.
Reliable web-hosting, good resellers plans, web-design.
ISProHosting.com