Solved

re-send mail in mqueue

Posted on 2000-02-22
3
489 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…

733 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