You are here

sendmail

Ivan Radovanovic's picture

How to have deferred queue to resend

Execute
sendmail -q

Ivan Radovanovic's picture

How to delete message from sendmail queue

First find it with

$ mailq
/var/spool/mqueue (1 request)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
w0MEs0vA055142 5289 Mon Jan 22 14:54
(Deferred: Operation timed out with some server.)

Total requests: 1

Then delete it using qtool.pl (in sendmail's contrib dir):
./qtool.pl -C /etc/mail/sendmail.cf -d /var/spool/mqueue/w0MEs0vA055142

Subscribe to RSS - sendmail