<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>2010/05/11 on Yano&#39;s digital garage</title>
    <link>https://www.bravotouring.com/~yano/archives/2010/05/11/</link>
    <description>Recent content in 2010/05/11 on Yano&#39;s digital garage</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 11 May 2010 22:01:59 +0900</lastBuildDate>
    <atom:link href="https://www.bravotouring.com/~yano/archives/2010/05/11/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>SpamAssassin</title>
      <link>https://www.bravotouring.com/~yano/diary/it/20100511spamassassin.htm</link>
      <pubDate>Tue, 11 May 2010 22:01:59 +0900</pubDate>
      <guid>https://www.bravotouring.com/~yano/diary/it/20100511spamassassin.htm</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://www.bravotouring.com/~yano/diary/it/20100401spam.htm&#34;&gt;4月&lt;/a&gt;に&lt;a href=&#34;http://spamassassin.apache.org/&#34;&gt;&lt;span class=&#34;Software&#34;&gt;SpamAssassin&lt;/span&gt;&lt;/a&gt;の&lt;span class=&#34;Strong&#34;&gt;FH_DATE_PAST_20XX&lt;/span&gt;を対応したが、その後も誤判定が多い気がしてベイジアンフィルタを作り直した。&lt;/p&gt;&#xA;&lt;table align=&#34;right&#34; class=&#34;Landscape&#34;&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;&lt;img alt=&#34;SpamAssassin&#34; src=&#34;https://www.bravotouring.com/~yano/images/2010/20100401spam.jpg&#34;/&gt;&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td class=&#34;PhotoMemo&#34;&gt;&lt;a href=&#34;http://spamassassin.apache.org/&#34;&gt;&lt;span class=&#34;Software&#34;&gt;SpamAssassin&lt;/span&gt;&lt;/a&gt;より&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;捕獲している1000通ほどの&lt;span class=&#34;Strong&#34;&gt;spam&lt;/span&gt;を喰わせて学習させて運転再開させていたのだが、今度はどうもベイジアンフィルタが効いてない気がしてたところ、&#xA;&lt;blockquote class=&#34;Log&#34;&gt;$ /usr/bin/spamassassin --lint -D 2&gt;&amp;1 | grep bayes:&lt;br/&gt;&#xA;[11580] dbg: bayes: tie-ing to DB file R/O /home/yano/.spamassassin/bayes_toks&lt;br/&gt;&#xA;[11580] dbg: bayes: tie-ing to DB file R/O /home/yano/.spamassassin/bayes_seen&lt;br/&gt;&#xA;[11580] dbg: bayes: found bayes db version 3&lt;br/&gt;&#xA;[11580] dbg: bayes: DB journal sync: last sync: 0&lt;br/&gt;&#xA;[11580] dbg: bayes: &lt;span class=&#34;Warning&#34;&gt;not available for scanning, only 54 ham(s) in bayes DB &lt; 200&lt;/span&gt;&lt;br/&gt;&#xA;[11580] dbg: bayes: untie-ing&lt;/blockquote&gt;てな具合で、&lt;span class=&#34;Strong&#34;&gt;ham&lt;/span&gt;の学習が不足している事がわかった。&lt;/p&gt;&#xA;&lt;p&gt;なので、&lt;span class=&#34;Path&#34;&gt;/etc/mail/spamassassin/local.cf&lt;/span&gt;に&lt;blockquote class=&#34;Log&#34;&gt;bayes_min_ham_num 50&lt;/blockquote&gt;を設定してOK。&lt;/p&gt;&#xA;&lt;p class=&#34;Reference&#34;&gt;【参照】&#xA;&#x9;&lt;br/&gt;●SpamAssassin &lt;a href=&#34;http://spamassassin.apache.org/&#34;&gt;http://spamassassin.apache.org/&lt;/a&gt;&#xA;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
