Solved

re-send mail in mqueue

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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

729 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