Solved

re-send mail in mqueue

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
USPS intelligent mail barcode font 11 150
How to get my virtual machine IP address - Virtualbox 10 95
OpenWrt 1 47
(Open)LDAP V2.44  search proxy to AD (W2012R2) 37 172
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

856 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