I ate all the SPAM
By mramcha on Nov 16, 2006
I was chatting to Chris about my spamassassin setup, and he was saying that he's configured his with .forward files for all his users (family), and explained the reason for doing so.
Basically, he wanted to set a low SPAM threshold, and have all the SPAM delivered to himself so he could check it. Given that I have 4 daughters under the age of 12, I thought that would be a GOOD THING(tm) as well.
I also wanted to configure it so that I could vary the level of SPAM detection based on the user.
I created a .forward file in each user's account that looks like this:
# Exim filter
$header_X-Spam-Score: does not begin -
if $header_X-Spam-Score: is above 10
deliver <to me>
I had to change the exim configuration to write the X-Spam-Score calculated by spamassassin in the acl_check_data filter to $spam_score_int because the user filter stuff in exim doesn't like decimals.
Finally, I wrote a filter in Thunderbird which puts all mail that's in my inbox that's NOT addressed to me in a folder called SPAM. That means I can check for false positives, forward the e-mails to my offspring if required, and add a rule to the whitelist to allow in the future.
The .forward file allows me to specify varying limits of SPAM checking to different people. e.g. the 7 year old twins have a setting of 5 (i.e. .5), while my wife has a setting of 1.
Need to let this run for a while so I can tweak between too much or too little as required.