How to force Sendmail to redeliver or resend all mails in queue ?
Here is the command
**You must be root to execute this command.
sendmail -q -v
Postfix queue tools
1. If your system is acting as a spam / antivirus / relay server for secondary internal servers, and your destination mail server is down, postfix will queue your messages to resend at a later time. In order for postfix to instantly re-queue these messages you use:
postqueue -f |
postqueue -p |
REFERENCES
http://tech.ebugg-i.com/2009/02/how-to-force-sendmail-to-redeliver-or.html
http://systembash.com/content/postfix-queue-tools/