To run an old mail queue, follow these instructions.
Become root or assume an equivalent role.
For information about roles, refer to “Using Privileged Applications” in System Administration Guide: Security Services.
Run the old mail queue.
# /usr/lib/sendmail -oQ/var/spool/omqueue -q |
The -oQ flag specifies an alternate queue directory. The -q flag says to run every job in the queue. Use the -v flag if you are displaying the verbose output on the screen.
Remove the empty directory.
# rmdir /var/spool/omqueue |