> From: Chris Garrigues <[EMAIL PROTECTED]>
> Date: Wed, 20 Nov 2002 09:20:10 -0600
>
> After Jason implemented my request to be able to see the X-Spam-Status header
> in the summary output I decided to go one step further and remove messages
> from the pending queue which were also identified as SPAM by SPAM Assassin.
>
> My theory is that the number of false positives from *both* systems will be
>
> minuscule, so let's pretend those messages don't even exist.
>
> I added one line to .tmda/config:
>
> TERSE_SUMMARY_HEADERS = ["X-Spam-Status"]
>
> and made my thrice weekly cron job look like this:
>
> 30 08 * * 1,3,5 /usr/bin/tmda-pending -qbd -O 7d; (/usr/bin/tmda-pending -b -T|grep
>-i yes| awk '{print $1}'| /usr/bin/tmda-pending -q -b -d -); /usr/bin/tmda-pending -C
>-b -s | mail -s 'TMDA pending summary' cwg-tmdasummary
>
> I've just done this so it hasn't had a chance to actually run out of cron yet,
> but based on what I was seeing in my summary email, this should cut the size
> of that mail by about 95%.
>
> I suppose in theory it might be better to simply not display the messages that
> were tagged by SPAM Assassin rather than deleting them in case something there
> is legitimate and the sender wants to release it, but I haven't figured out how
> to do that yet.
After allowing enough new SPAM to be collected to tackle this again, I figured
out how to do it this way.
Here's my current cron job:
30 08 * * 1,3,5 /usr/bin/tmda-pending -qbd -O 7d; /usr/bin/tmda-pending -CbT|grep -iv
yes| awk '{print $1}'| /usr/bin/tmda-pending -bs - | mail -s 'TMDA pending summary'
cwg-tmdasummary
Thanks again for a really cool tool.
Chris
--
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO http://www.virCIO.Com
716 Congress, Suite 200
Austin, TX 78701 +1 512 374 0500
World War III: The Wrong-Doers Vs. the Evil-Doers.
msg00905/pgp00000.pgp
Description: PGP signature
