After discovering 'mailq' I asked if there was a way to 'cycle' specific
email messages that were 'stuck' in the queue that I KNEW were bad. I
didn't want to kill the message but just force it to bounce as if it had
passed the normal 3 day waiting period that our sendmail is set to.
A number of people asked that I summarize so I am. (I should have said
that in my original message.)
There were a number of suggestions but the ones that helped the most are:
####################
From: Stephen Harris <sweh@mpn.com>
You can clean it manually every so often...
If you have standard sendmail 5 (old Solaris, SunOS) then
/usr/lib/sendmail -oT1m -v -q -Rrecipient_address
If sendmail 8 then
/usr/lib/sendmail -oT1m -v -qRrecipient_address
This should force sendmail to try and resent the message, and if it fails,
to reject (bounce) the message if it is older than 1 minute.
eg if you have a message queued to send to fred.bloggs@a.bad.address then
/usr/lib/sendmail -oT1m -v -q -Rbloggs
should work.
####################
From: Claus Assmann <ca@informatik.uni-kiel.de>
Take a look at your sendmail page:
you can run the queue for a message-id and set a short timeout E.g., for an
old sendmail:
/usr/lib/sendmail -oT1h -M1234567
####################
Other who supplied food for thought were:
Frank Pardo <fpardo@tisny.com>
John Justin Hough <john@oncology.uthscsa.edu>
Jason L Tibbitts III <tibbs@hpc.uh.edu>
Reto Lichtensteiger <rali@meitca.com>
Peter M Allan <peter.allan@aeat.co.uk>
Rich Kulawiec <rsk@itw.com>
Dan Baritchi <dan.baritchi@mci.com>
----------
Bob Woodward, Seattle FilmWorks (bobw@filmworks.com)
Data Processing Department
Visit our Web Site to learn about getting your pictures via downloads on
the Internet!
Point your browser to "http://www.filmworks.com".
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:15 CDT