Incoming mail stuck in MTA

I’m using Postfix with a Cent OS install on my RT 3.6.3 box. I recently
setup a bunch of new queues and accidently had a typo on one of the queues
in the /etc/aliases file. I sent a test email to that queue and obviously it
errored out since no queue of that name existed. I fixed the problem in my
aliases file and all is well with the world except that I keep getting an
error in my maillog because the mail gate keeps trying to process this
message that can’t be delivered to a queue that doesn’t exist.

Where can I find this message and delete it on the system?

Thanks,

-Jeff

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Those deferred messages should be in:

/var/spool/clientmqueue

Simply take a look at the files to make sure they are the emails in
question, then delete them. In other odd cases, they may have ended up in
one of the directories under /var/spool/postfix - but those directories are
used for temporary processing of mail - ie, an email might appear in the
’bounce’ directory, then gone in the next second.

James Moseley

         "Jeff Platter"                                                
         <jplatter@vortexi                                             
         t.net>                                                     To 
         Sent by:                  <rt-users@lists.bestpractical.com>  
         rt-users-bounces@                                          cc 
         lists.bestpractic                                             
         al.com                                                Subject 
                                   [rt-users] Incoming mail stuck in   
                                   MTA                                 
         06/21/2007 10:25                                              
         AM                                                            

I’m using Postfix with a Cent OS install on my RT 3.6.3 box. I recently
setup a bunch of new queues and accidently had a typo on one of the queues
in the /etc/aliases file. I sent a test email to that queue and obviously
it errored out since no queue of that name existed. I fixed the problem in
my aliases file and all is well with the world except that I keep getting
an error in my maillog because the mail gate keeps trying to process this
message that can’t be delivered to a queue that doesn’t exist.

Where can I find this message and delete it on the system?

Thanks,
-Jeff

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean. _______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

I think you should check your /var/spool/mqueue directory.
for every mail not already sent you should find a qf* file and a df* one.
one for the contents/data of the e-mail (df) and one for the information pertinent with the e-mail delivery itself (qf).
checking them you could delete the e-mail files you need to.
See also

http://www.unet.univie.ac.at/aix/aixbman/commadmn/ml_queue.htm

HIH,
Gianluca

Da: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] Per conto di Jeff Platter
Inviato: giovedì 21 giugno 2007 17.25
A: rt-users@lists.bestpractical.com
Oggetto: [rt-users] Incoming mail stuck in MTA



I'm using Postfix with a Cent OS install on my RT 3.6.3 box. I recently setup a bunch of new queues and accidently had a typo on one of the queues in the /etc/aliases file. I sent a test email to that queue and obviously it errored out since no queue of that name existed. I fixed the problem in my aliases file and all is well with the world except that I keep getting an error in my maillog because the mail gate keeps trying to process this message that can't be delivered to a queue that doesn't exist. 

 

Where can I find this message and delete it on the system?

 

Thanks,

-Jeff


This message has been scanned for viruses and 
dangerous content by MailScanner <http://www.mailscanner.info/> , and is 
believed to be clean.

opss… I didn’t read that you are using postfix…
Don’t know if the same applies for it.

Sorry for the bandwith waste…

Da: Gianluca Cecchi 
Inviato: giovedì 21 giugno 2007 17.40
A: 'rt-users@lists.bestpractical.com'
Oggetto: R: [rt-users] Incoming mail stuck in MTA


I think you should check your /var/spool/mqueue directory.
for every mail not already sent you should find a qf* file and a df* one.
one for the contents/data of the e-mail (df) and one for the information pertinent with the e-mail delivery itself (qf).
checking them you could delete the e-mail files you need to.
See also
 
http://www.unet.univie.ac.at/aix/aixbman/commadmn/ml_queue.htm
 
HIH,
Gianluca



	Da: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] Per conto di Jeff Platter
	Inviato: giovedì 21 giugno 2007 17.25
	A: rt-users@lists.bestpractical.com
	Oggetto: [rt-users] Incoming mail stuck in MTA
	
	

	I'm using Postfix with a Cent OS install on my RT 3.6.3 box. I recently setup a bunch of new queues and accidently had a typo on one of the queues in the /etc/aliases file. I sent a test email to that queue and obviously it errored out since no queue of that name existed. I fixed the problem in my aliases file and all is well with the world except that I keep getting an error in my maillog because the mail gate keeps trying to process this message that can't be delivered to a queue that doesn't exist. 

	 

	Where can I find this message and delete it on the system?

	 

	Thanks,

	-Jeff


	This message has been scanned for viruses and 
	dangerous content by MailScanner <http://www.mailscanner.info/> , and is 
	believed to be clean.

If you use mailq to get the Queue ID of the message, you can do
postsuper -d QueueID to remove the message from the queue. man
postsuper, and take a look at the -d flag for examples.

Jacob Helwig
PC Technician
Busch’s Help Desk
Desk: x35221
Direct: 734-214-8221From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Jeff
Platter
Sent: Thursday, June 21, 2007 11:25 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Incoming mail stuck in MTA

I’m using Postfix with a Cent OS install on my RT 3.6.3 box. I recently
setup a bunch of new queues and accidently had a typo on one of the
queues in the /etc/aliases file. I sent a test email to that queue and
obviously it errored out since no queue of that name existed. I fixed
the problem in my aliases file and all is well with the world except
that I keep getting an error in my maillog because the mail gate keeps
trying to process this message that can’t be delivered to a queue that
doesn’t exist.

Where can I find this message and delete it on the system?

Thanks,

-Jeff

This message has been scanned for viruses and
dangerous content by MailScanner http://www.mailscanner.info/ , and is

believed to be clean.

You can run mailq and see if there’s a queue_ID for that email (assuming
it’s stuck in postfix). Delete it with the following command:

postsuper -d <queue_ID>From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Jeff
Platter
Sent: Thursday, June 21, 2007 11:25 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Incoming mail stuck in MTA

I’m using Postfix with a Cent OS install on my RT 3.6.3 box. I recently
setup a bunch of new queues and accidently had a typo on one of the
queues in the /etc/aliases file. I sent a test email to that queue and
obviously it errored out since no queue of that name existed. I fixed
the problem in my aliases file and all is well with the world except
that I keep getting an error in my maillog because the mail gate keeps
trying to process this message that can’t be delivered to a queue that
doesn’t exist.

Where can I find this message and delete it on the system?

Thanks,

-Jeff

This message has been scanned for viruses and
dangerous content by MailScanner http://www.mailscanner.info/ , and is

believed to be clean.

This email (including any attachments) is for its intended-recipient’s
use only. This email may contain information that is confidential or
privileged. If you received this email in error, please immediately
advise the sender by replying to this email and then delete this message
from your system. For further information and disclaimers that apply to
this email, see [http://www.viacom.com/email_disclaimer.jhtml].