?
Solved

re-send mail in mqueue

Posted on 2000-02-22
3
Medium Priority
?
505 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 50 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

Python: Series & Data Frames With Pandas

Learn the basics of Python’s pandas library of series & data frames and how we can use these tools for data manipulation.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

765 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