cnh5730@calvin.tamu.edu (Chuck Herrick) (02/22/91)
On a magical mystery tour of /private/spool/mqueue, I found several files about which I have a question. Below is a listing: maraba# ls -Flags total 309 1 drwxrwx--- 2 root wheel 1024 Feb 21 22:02 ./ 1 drwxr-xr-x 11 root wheel 1024 Dec 17 17:19 ../ 1 -rw------- 1 root wheel 1006 Feb 19 12:25 dfAA00765 0 -rw------- 1 root wheel 0 Dec 20 14:34 dfAA01947 48 -rw------- 1 root wheel 49152 Jan 21 14:08 dfAA09913 1 -rw------- 1 root wheel 520 Feb 21 21:53 qfAA00765 144 -rw-r----- 1 root staff 138920 Feb 21 22:03 syslog 112 -rw-r----- 1 root wheel 100003 Feb 15 21:13 syslog.old 0 -rw------- 1 root wheel 0 Dec 20 13:13 tfAA01840 1 -rw------- 1 root wheel 856 Jan 21 14:09 tfAA09913 Anyway, some of the quaintly-named files appear to have email-related contents and are of what I consider non-trivial size. Sooooo.. Does the system delete them at some point? What if I delete them? Does syslog get transformed into syslog.old at some point? When? Thanks in advance for any little boost up the learning-curve y'all can spare. NeXTmail received at: cnh5730@maraba.tamu.edu -- The opinions expressed herein are mine and are in no way attributed to any of the many people for whom I work. Who they are is irrelevant.
hardy@golem.ps.uci.edu (Meinhard E. Mayer (Hardy)) (02/22/91)
The df.. qf.. etc files are e-mail messages which for some reason have not been sent. Look at them, send them off or rm them. syslog is a log of all incoming and outgoing mail (you can look at it, with more or less). syslog tends to grow without bound, so on my HP-workstation ( Idon't have a NeXT yet) I have cron cycle them over a week, and then delete the files, using the following script (which is /usr/adm/newsyslog: --- #!/bin/sh # #newsyslog: save only one week's log of sendmail #logging cd /usr/spool/mqueue mv syslog.6 syslog.7 mv syslog.5 syslog.6 mv syslog.4 syslog.5 mv syslog.3 syslog.4 mv syslog.2 syslog.3 mv syslog.1 syslog.2 cp syslog syslog.1 cp /dev/null syslog chmod 644 syslog --- Hope this helps you and others. Hardy -------****------- Prof Meinhard E. Mayer Department of Physics University of California Irvine, CA, 92717 hardy@golem.ps.uci.edu or MMAYER@UCI.BITNET