Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.
2012-11-15 09:24:03 1TZ0MN-0000Tm-2W <= USER@HOST.DOMAIN.TLD U=USER P=local S=439 T="http://USER-DOMAIN.net" for SENTTO@yahoo.com
2012-11-15 09:24:09 1TZ0MS-0000UH-Jq <= USER@HOST.DOMAIN.TLD U=USER P=local S=439 T="http://USER-DOMAIN.net" for SENTTO@yahoo.com
2012-11-15 09:24:13 1TZ0MX-0000Us-Me <= USER@HOST.DOMAIN.TLD U=USER P=local S=439 T="http://USER-DOMAIN.net" for SENTTO@yahoo.com
2012-11-15 09:24:20 1TZ0Md-0000VI-Rh <= USER@HOST.DOMAIN.TLD U=USER P=local S=439 T="http://USER-DOMAIN.net" for SENTTO@yahoo.com
2012-11-15 09:24:24 1TZ0Mi-0000Vf-KQ <= USER@HOST.DOMAIN.TLD U=USER P=local S=439 T="http://USER-DOMAIN.net" for SENTTO@yahoo.com
2012-11-15 09:24:30 1TZ0Mn-0000W6-TR <= USER@HOST.DOMAIN.TLD U=USER P=local S=439 T="http://USER-DOMAIN.net" for SENTTO@yahoo.com
2012-11-15 09:24:36 1TZ0Mt-0000WY-SR <= USER@HOST.DOMAIN.TLD U=USER P=local S=439 T="http://USER-DOMAIN.net" for SENTTO@yahoo.com
2012-11-15 09:24:41 1TZ0Mz-0000XI-1S <= USER@HOST.DOMAIN.TLD U=USER P=local S=439 T="http://USER-DOMAIN.net" for SENTTO@yahoo.com
2012-11-15 09:24:45 1TZ0N3-0000Xi-Mz <= USER@HOST.DOMAIN.TLD U=USER P=local S=439 T="http://USER-DOMAIN.net" for SENTTO@yahoo.com
2012-11-15 09:24:51 1TZ0N9-0000YI-FX <= USER@HOST.DOMAIN.TLD U=USER P=local S=439 T="http://USER-DOMAIN.net" for SENTTO@yahoo.com

Is there a way to go in and drop all their e-mails? They have 1000s in there.

I tried:

exiqgrep -ir SENTTO@yahoo.com | xargs exim -Mrm
exim: no message ids given after -Mrm option
share|improve this question
    
What's (a sample of) the output of the first half of that command? –  Ladadadada Nov 15 '12 at 15:24
    
Blank. Also tried using the user@host as well. Blank. Maybe I followed the instructions off google wrong. –  Tiffany Walker Nov 15 '12 at 15:39
add comment

3 Answers

All the examples I can find of using exiqgrep have the options separated, never combined.

Try exiqgrep -i -r SENTTO@yahoo.com | xargs exim -Mrm

share|improve this answer
    
Weird still not getting any. I wonder if CPanel is moving them out because they hit the que limit of 20 per hour. Right now I know the exim log file is flooding from emails not being able to send. –  Tiffany Walker Nov 15 '12 at 16:29
    
The next argument after -r is a regex. I wonder if there's anything in your replaced SENTTO that has a special meaning in a regular expression. Try just exiqgrep -r yahoo.com. –  Ladadadada Nov 15 '12 at 16:39
    
If I run just eximgrep I see 3 e-mails (not related) then for a split second I had one as mentioned above but then it was gone. I wonder if CPanel just drops them or something from the que. –  Tiffany Walker Nov 15 '12 at 17:05
add comment

Try this command

exiqgrep -z -i | xargs exim -Mrm

it work for me to remove all frozen mail from queue.

share|improve this answer
add comment

If you want to remove all mail from the queue having sender mail address email@email.com try:

# exiqgrep -i -f email@email.com | xargs exim -Mg

in this you don't have to enter massage id manually one by one... it works for me..

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.