Hello,

Do you know how to force whitelisting ?

I have a solution but it is tinkering...

For a mail where "From" have to be whitelisted for "To" users.
ex : 
From: Someone <[EMAIL PROTECTED]>
To: Otherone <[EMAIL PROTECTED]>
-----
i=0
while [ $i -lt 20 ];
do      let "i += 1"
        echo -e "From: Someone <[EMAIL PROTECTED]>\n\n" | dspam  --user \
        [EMAIL PROTECTED] --source=inoculation --stdout \
        --deliver=innocent,spam --class=innocent
done
-----

The result is :

Before : $> echo -e "From: [EMAIL PROTECTED]" | dspam  --user \
[EMAIL PROTECTED] --stdout --deliver=innocent,spam --classify
X-DSPAM-Result: [EMAIL PROTECTED]; result="Innocent";
class="Innocent"; probability=0.1649; confidence=1.00; signature=N/A

After : $> echo -e "From: [EMAIL PROTECTED]" | dspam  --user \
[EMAIL PROTECTED] --stdout --deliver=innocent,spam --classify
X-DSPAM-Result: [EMAIL PROTECTED]; result="Innocent";
class="Whitelisted"; probability=0.0000; confidence=0.99; signature=N/A

As you can see, class become "Whitelisted". 
Does anyone have a better solution to whiteliste ? Do you know if DSPAM
support domain whitelisting ? (every mail from xxxxxx.com would be
whitelisted for someone)

Thanks

--
 .`'`.   BONNETOT Jean-Daniel
:  ': :  
`. ` .`  PRIVIANET
  `'`    Sys & Net Admin

!DSPAM:1011,485f81c6150927029913703!


Reply via email to