[Spambayes] shell script

Atom 'Smasher' atom at suspicious.org
Fri Dec 12 03:26:16 EST 2003


if anyone wants this... it counts how many hams are in $HOME/Maildir/cur/
and how many spams are in $HOME/Maildir/.spam/cur/ and if there's more
spam than ham, it deletes the oldest spam (leaving equal amounts of ham
and spam) and rebuilds the sb_mailsort.py database.

this is not useful for everyone... if you need it, you'll probably know
you need it. if you need something like it, but a little different, feel
free to rewrite it.

http://smasher.suspicious.org/tmp/spam.cron.tgz

the tarball contains:
	bin/spam.cron
	bin/spam.cron.asc

if anyone uses it, let me know how it works. i just threw it together, but
it seems to work quite well... i'll be running it nightly as a cron job.


        ...atom

 _______________________________________________
 PGP key - http://smasher.suspicious.org/pgp.txt
 3EBE 2810 30AE 601D 54B2 4A90 9C28 0BBF 3D7D 41E3
 -------------------------------------------------

	Democracy, n.:
        	A government of the masses.  Authority derived
	through mass meeting or any other form of direct expression.
	Results in mobocracy. Attitude toward property is
	communistic... negating property rights. Attitude toward
	law is that the will of the majority shall regulate, whether
	it is based upon deliberation or governed by passion,
	prejudice, and impulse, without restraint or regard to
	consequences. Result is demagogism, license, agitation,
	discontent, anarchy.
                -- U. S. Army Training Manual
		No. 2000-25 (1928-1932), since withdrawn.




More information about the Spambayes mailing list