Mail.app daily outputs

MasonMcD

Registered
Well, since nobody answered my first question about transferring preferences, I'm hesitant to try another, but here goes. A couple of weeks ago, my Mail started giving me these messages instead of the normal ones, and I can't for the life of me remember what I did. Anyone have a clue what might cause this?:

Code:
Subject: localhost daily run output

Removing scratch and junk files:

Backing up NetInfo data
Can't find address for localhost
nidump: incorrect format for domain localhost/local (Host not found)
usage: -t / can be a host name or IP address
usage: nidump [-r] [-T timeout] {directory | format} [-t] domain
known formats:
	aliases
	bootptab
	bootparams
	ethers
	exports
	fstab
	group
	hosts
	networks
	passwd
	printcap
	protocols
	resolv.conf
	rpc
	services
	mountmaps


Checking subsystem status:

disks:

Last dump(s) done (Dump '>' file systems):


network:
Name  Mtu      Network    Address            Ipkts      Ierrs      Opkts      Oerrs      Coll
lo0   16384    <link>                              7266       0          7266       0          0
lo0   16384    127        localhost          7266       0          7266       0          0
en0   1500     <link>           XX.XX.XX.XX.XX     125650     14         104866     0          83
en0   1500     none       none               125650     14         104866     0          83
ppp0  1492     <link>                              118902     0          104864     0          0
ppp0  1492     64         client-XX-XXX-XX   118902     0          104864     0          0

ruptime: no hosts in /var/rwho.


Rotating log files: system.log

Cleaning web server log files:
 
Are you by any chance logging in as root via the GUI?
Those look like output from root's cronjobs...
They get mailed to root nightly if you have sendmail
running.
 
Yes, I'm root, but the jobs actually did something a few weeks ago, aside from telling me something was wonky. And I was root then, as well.
 
Originally posted by MasonMcD
Yes, I'm root, but the jobs actually did something a few weeks ago, aside from telling me something was wonky. And I was root then, as well.

You don't ask easy questions do you. These are the possibilities:
Your daily script is not entirely correct anymore. Look for these lines in /etc/daily and see if they are still correct.
Code:
if [ -d /var/db/netinfo ]; then
        echo ""
        echo "Backing up NetInfo data"
        cd /var/db/netinfo
        for domain in *.nidb; do
            domain=$(basename $domain .nidb)
            nidump -r / -t localhost/$domain > $bak/$domain.nidump;
        done
fi
There is something wrong with your network setup. Remember even if you do not have a network, there is still a setup for it.

That's all i can say about it from here.

DJ
 
Back
Top