[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



#
#
:0fw: /tmp/.msgid.lock
#| /usr/bin/crm -u /home/nomad mailfilter.crm
| /usr/bin/crm -u /home/nomad/crm114 /usr/share/crm114/mailfilter.crm

THRESHOLD="30"

:0
* ^X-CRM114-Status: SPAM  \( pR: \/-[0-9]+
{
  PRVALUE=$MATCH

  # If -$THRESHOLD < pR < 0 then the message is likely spam
  :0 :
  * $ ${THRESHOLD}^0
  * $   ${PRVALUE}^0
  /home/nomad/Mail/CaughtSpam

  # If pR < -$THRESHOLD then the message is surely spam
  :0
  /dev/null
  #/home/nomad/Mail/DefinitelySpam
}

Basically if the score is worse than 30, devnull, otherwise put in a
folder for review.





Thus spake Jay Loden (jloden at toughguy.net):

> I finally decided I get too much spam and the only way to filter it was to 
> filter it myself, since the school I attend only filters by blacklist.  So, 
> I've set up spamassassin on my personal server and I'm running all my 
> incoming mail through it with a this in /etc/procmailrc:
> 
> :0fw
> | /usr/bin/spamc
> 
> Now, I'm afraid that it's going to have lots of false positives, and I'd like 
> to train it with ham and spam emails...can anyone give me a quick rundown on 
> some basics of using spamassassin properly?  (or just a decent web tutorial 
> you think covers it would be fine) I don't want to dump all my good mail 
> to /dev/null ;)
> 
> Thanks guys, 
> -Jay
> _______________________________________________
> Ale mailing list
> Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu
DISCLAIMER:
      These are MY OPINIONS             With Dreams To Be A King,
       ALONE.  I speak for              First One Should Be A Man
       no-one else.                       - Manowar

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00159" href="msg00159.html">[ale] Spamassassin help</a></strong>
<ul><li><em>From:</em> jloden at toughguy.net (Jay Loden)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00159.html">[ale] Spamassassin help</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00161.html">[ale] Burning CDs</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00159.html">[ale] Spamassassin help</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00162.html">[ale] dump and ACL's</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00160"><strong>Date</strong></a></li>
<li><a href="threads.html#00160"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>