Force sendmail to deliver a message in sendmail’s mail queue
Sendmail is age-old mail transfer agent (MTA). We still use sendmail on Solaris boxes and all other web hosting (www) server to route mails via our master MTA.
Task: Linux/UNIX deliver old email
The command sendmail -q forces the mail queue to be sent. Use the command mailq to find out what's in the queue:
# sendmail -q
# mailq
Following command will force sendmail to become verbose so that debugging turns into an easy job:
# sendmail -v -q
However, there is a catch. Sendmail would not process your queue if the system load were too high. You can configure these options in sendmail configuration file sendmail.cf and configure QueueLA option. Using this option you can configure load average at which Sendmail simply queues up new messages, this is a good tweaking and troubleshooting parameter.
Want to stay up to date with the latest Linux tips, news and announcements? Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
You may also be interested in other helpful articles:
- Routing all mail to unknown users to a single mail account
- Sendmail is only accepting connections from localhost (127.0.0.1 IP)
- Sendmail masquerade outgoing email address
- Quick Tip: Postfix Flush the Mail Queue
- Postfix Illegal seek / queue file write mail server error and solution
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


Recent Comments
Today ~ 17 Comments
Today ~ 1 Comment
Today ~ 12 Comments
Today ~ 3 Comments
Today ~ 6 Comments