The Technical Corner

I had contact with my first computer in the the early 80’s at the local Radio Shack. The first computer I owned was a Timex Sinclair ZX81 built from a kit. With 8k of ROM, 1k of RAM and a 2MHz processor it was the first and last computer I’ve really understood. (By that I mean reading and mostly understanding the assembly code for the ROM.) Computers have gotten much more complex since then but my fascination with them remains.
Aspen House Systems started as a venture writing communications software between surveyors handheld data collectors and Wang and HP mini-computers. It had a retail presence for a few years, and now provides MIS services for small and medium sized business networks.

Sendmail queue cleanup

When a subscribers mail box fills up or they exceed their quota the mail starts to pile up in the /var/spool/mqueue directory. A search of the Internet found several scripts that will clean it up but most use qtool.pl which I haven’t been able to find. Typical is http://www.brandonhutchinson.com/deleting_mail_queue.html . I did find a ksh script SQG – Sendmail Queue Groomer at http://www.sun.com/bigadmin/scripts/submittedScripts/queue_groomer.ksh.txt that was a starting point for the following.
Note: Jan, 2010 – make sure that the /var/spool/morgue-queue directory exists before running the script or the files will get moved to a file of that name instead of being moved into that directory.

Continue reading “Sendmail queue cleanup”