Solved

re-send mail in mqueue

Posted on 2000-02-22
3
441 Views
Last Modified: 2010-03-18
hi,

there are 1000+ in my mqueue,
how can i re-send mail one by one, Or how can i solve it?

eg: /usr/sbin/sendmail qa12345

because i found there is an important mail queue inside the mqueue, so i would like to send this important mail out first.

By the way, is this the right way to restart sendmail, correct me if i m wrong,

>killall -HUP sendmail
>/usr/sbin/sendmail -bd -q30m

ThankYou
mic
0
Comment
Question by:michaelair
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 25 total points
ID: 2545966
Use "-qIstring" to select a message to send where "string" is a portion of (or the entire) queue ID. Some of the man pages also show the syntax to be "-q Istring" (the space char might be significant).
0
 

Author Comment

by:michaelair
ID: 2553753
I try to send the mqueue using root permission

>/usr/sbin/sendmail -qIqfDAA08441

but the mail still inside the mqueue,
huh?

any idea?
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2554159
Then sendmail is having a problem delivering the message. It's probably because you included more than the message ID (don't either the leading "df" or "qf" portion). Easy enough to find out what's happening. Use ">/usr/sbin/sendmail -v -qIDAA08441"
and it will run in verbose mode and tell you what it's doing as it attempts delivery.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video discusses moving either the default database or any database to a new volume.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now