Birkoff wrote:

> hai sa zicem altfel: nu m'am dumirit cum il fac sa invete din mers pe 
> masura ce vin mailurile.
> si dupa cum se anunta ar avea nevoie de destul de multe resurse....

Pai sa-ti zic o metoda simpla care o aplic eu.

Merge numai pentru conturile care folosesc IMAP, si mail-urile stau in 
format mbox pe server.

In primul rand, vreau sa zic ca Spamassassin prinde, numai cu 
default-urile lui, 95% din spam.

Pentru restul de 5%, am gasit urmatoarea solutie:

Am creat un folder spam-undetected unde mut manual spamurile care au 
scapat.  Le-am spus la useri sa faca la fel, sa-l numeasca musai exact 
spam-undetected.

Mi-am pus in /etc/cron.weekly/spamassassin-learn

#!/bin/bash

# Script to make SpamAssassin learn from /home/username/spam-undetected

# find the users (IMAP only) that have created the folder
find /home -maxdepth 2 -name spam-undetected > 
/tmp/users_with_spam-undetected

# learn from the folders
sa-learn --spam --mbox -f /tmp/users_with_spam-undetected

# empty the folders
for LINE in `< /tmp/users_with_spam-undetected` ; do
   > $LINE
done

# clean up
rm -f /tmp/users_with_spam-undetected

--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui