On spam from Z

This is a simple script for VHCS (exim email servers) to teach spamassassin what is spam…

Put it into some place, make it executable, then add it to cron to be run once or twice a day (or every hour if you wish so)

— start of script–
#!/bin/bash
for SPAMFOLDERS in `find /var/mail/virtual/* -type d -wholename ‘*.Junk/cur’ -o -type d -wholename ‘*.Spam/cur’` ;do
echo “Learning as SPAM contents of:”$SPAMFOLDERS
sa-learn –spam –progress $SPAMFOLDERS
echo “Done with:”$SPAMFOLDERS
echo “———————–”
done
–end of script–

Z

Defrag Scientific Atlanta 8000/8300

How to defrag the HDD of the Scientific Atlanta 8000 series.

Push pause for 20 – 25 seconds, until the mail light starts blinking (the little envelop above the clock)

Push the PAGE- (minus) button, you will get E – xx (where xx is a number) instead of the clock.

Push the STOP button 3 times.

Then simply wait. Your machine will defrag and then turn itself off.

You will not lose any data or settings as you would with the reformatting of the drive.

Make sure you DO NOT push the LIST button 3 times instead of the Stop button as LIST will actually reformat the HDD and you will lose all your settings and recordings.