Gabriel Lai Yong Shern wrote:

Nop, is this http://jakev.com/qmail/spamsucks.html

That one is for SpamAssassin to auto-learn what SPAM is. To clarify: SpamAssassin will mark messages as SPAM when they receive enough points (defined in your /etc/mail/spamassassin/local.cf file) Simscan will **NOT** delete the messages marked as SPAM at this time. This is a KNOWN bug, and is being worked on. Ther solution is a while down the road. For those that cannot wait until the fix is out:
<--snip from old message--->

Hi Jason,

I have been watching this issue. When a stable fix is out there, we will
have it.

In the mean time, it should be easy enough to write a procmail recipe that
filters score=xx.x and sends scores over a certain amount to /dev/null,
scores over a certatin amount to a spam file, and the rest get delivered
normally.

Here is an example from a memory, which sometimes fails me, that should
give an idea of what I'm describing:

###### ~/.procmailrc ######

TRASH_THE_SPAM=20.0
SAVE_THE_SPAM=5.0

:0:
* ^X-Spam-Status: . *score=\/[0-9\.]+
{
  # Trash scores over 20
  :0
  * $ -${TRASH_THE_SPAM}^0
  * $ ${MATCH}^0
  /dev/null

  # Send scores over 5 to .spam
  :0E:
  * $ -${SAVE_THE_SPAM}^0
  * $ ${MATCH}^0
  .spam
}

###### end of file ######

Create a file .qmail:

| preline /usr/bin/procmail | (your delivery script)

I am not in my office and this example may not be exactly correct but, it
should get you on the right track to dump the high score emails.

If someone wants to write a proper script to do this, I would be happy to
link it to the web site.

Regards,

Nick
<--snip-->

That should get you on the right track to delete messages marked as SPAM.

Nick



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to