By default, after exim successfully configured and run, it sends out Megabytes of mail queue to the root mailbox. It can be annoying when using a slow download line. e.g. PSTN & ISDN dialup, 3G internet access & etc.
To stop receiving those mail queues, specify “daily_status_mailq_enable=”NO”" in /etc/periodic.conf .
*** parameters are not only store/listed in /etc/defaults/periodic.conf, check out the scripts in :
- /etc/periodic/daily/*
- /etc/periodic/weekly/*
- /etc/periodic/monthly/*
- /etc/periodic/security/*
- /usr/local/etc/periodic/daily/*
- /usr/local/etc/periodic/weekly/*
- /usr/local/etc/periodic/monthly/*
- /usr/local/etc/periodic/security/*
psyber.monkey posted on April 25th, 2008 in Systems category | Nobody dare to comment yet »
first :
cd /destination/directory
second :
split /source/directory/big-huge-file prefix-to-apply-onto-splited-files
Voila !!!
(use the parameter -b to specify the size of splited files in BYTES, NOT kb, mb or gb)
psyber.monkey posted on April 22nd, 2008 in Apple, Open Source, Systems category | Tags: Apple, mac, mac osx
Nobody dare to comment yet »
after changing time zone (tzsetup), restart cron (/etc/rc.d/cron restart) to let it know the changes or else the cron jobs will use the previous time zone.
psyber.monkey posted on April 18th, 2008 in Open Source, Systems category | Nobody dare to comment yet »
date -d ‘<Unix epoch> <epoch date> sec’
e.g. date -d ’1970-01-01 988822888 sec’ would dated “Wed May 2 17:31:28 MYT 2001″
20080430 :
get a particular date in epoch, e.g. date -d ‘Apr 30 2008 00:00:00′ ‘+%s’
psyber.monkey posted on April 13th, 2008 in Apple, Open Source, Systems category | Tags: Apple, mac, mac osx
3 Comments »
On a FreeBSD server
1. reboot server
2. choose to boot into single user mode
3. mount -o rw <root partition> e.g. mount -o rw /
4. passwd <root account> e.g. passwd root
5. mount -o ro <root partition> e.g. mount -o ro /
6. reboot server again
Voila !!!
psyber.monkey posted on April 8th, 2008 in Open Source, Systems category | Only ONE daring fellow comment »