[bb535118] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[b0b2cf3] | 7 | <!ENTITY bogofilter-download-http "&sourceforge-dl;/bogofilter/bogofilter-&bogofilter-version;.tar.xz">
|
---|
[bb535118] | 8 | <!ENTITY bogofilter-download-ftp " ">
|
---|
[b0b2cf3] | 9 | <!ENTITY bogofilter-md5sum "8763f87adfff7b802ced177d8c654539">
|
---|
| 10 | <!ENTITY bogofilter-size "784 KB">
|
---|
| 11 | <!ENTITY bogofilter-buildsize "19 MB">
|
---|
[bb535118] | 12 | <!ENTITY bogofilter-time "0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[51dfb3e] | 15 | <sect1 id="bogofilter" xreflabel="Bogofilter-&bogofilter-version;">
|
---|
[bb535118] | 16 | <?dbhtml filename="bogofilter.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Bogofilter-&bogofilter-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="bogofilter">
|
---|
| 22 | <primary sortas="a-Bogofilter">Bogofilter</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Bogofilter</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
[e4758caa] | 29 | The <application>Bogofilter</application> application is a mail filter that classifies
|
---|
[bb535118] | 30 | mail as spam or ham (non-spam) by a statistical analysis of the message's header and
|
---|
| 31 | content (body).
|
---|
| 32 | </para>
|
---|
| 33 |
|
---|
[8c5fe7b] | 34 | &lfs120_checked;
|
---|
[bb535118] | 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&bogofilter-download-http;"/>
|
---|
| 41 | </para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&bogofilter-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download MD5 sum: &bogofilter-md5sum;
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download size: &bogofilter-size;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Estimated disk space required: &bogofilter-buildsize;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated build time: &bogofilter-time;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect3">Bogofilter Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 73 | <para role="required">
|
---|
| 74 | <xref linkend="db"/>
|
---|
| 75 | </para>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 78 | <para role="recommended">
|
---|
[b0b2cf3] | 79 | <xref linkend="gsl"/> and
|
---|
| 80 | <xref linkend="libxml2"/>
|
---|
[bb535118] | 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 84 | <para role="optional">
|
---|
[b0b2cf3] | 85 | <xref linkend="lmdb"/>,
|
---|
[bb535118] | 86 | <xref linkend="sqlite"/>,
|
---|
[b0b2cf3] | 87 | <xref linkend="xmlto"/>,
|
---|
[b3d0dbd] | 88 | <ulink url="https://dbmx.net/qdbm/">QDBM</ulink> and
|
---|
| 89 | <ulink url="https://dbmx.net/tokyocabinet/">TokyoCabinet</ulink>
|
---|
[bb535118] | 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <note>
|
---|
| 93 | <para>
|
---|
| 94 | If you do not install the recommended <xref linkend="gsl"/> package
|
---|
| 95 | then a statically linked shipped version will be used instead.
|
---|
| 96 | </para>
|
---|
| 97 | </note>
|
---|
| 98 |
|
---|
| 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 role="installation">
|
---|
| 102 | <title>Installation of Bogofilter</title>
|
---|
| 103 |
|
---|
[ef0d8f4] | 104 | <note>
|
---|
| 105 | <para>
|
---|
| 106 | If you plan to change the version of your database library on an
|
---|
| 107 | existing installation, or to change to a different database, read the
|
---|
| 108 | warning at the top of the RELEASE.NOTES file.
|
---|
| 109 | </para>
|
---|
| 110 | </note>
|
---|
| 111 |
|
---|
[bb535118] | 112 | <para>
|
---|
| 113 | Install <application>Bogofilter</application> by running the following
|
---|
| 114 | commands:
|
---|
| 115 | </para>
|
---|
| 116 |
|
---|
| 117 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc/bogofilter &&
|
---|
| 118 | make</userinput></screen>
|
---|
| 119 |
|
---|
| 120 | <para>
|
---|
[785d5974] | 121 | To test the results, issue <command>make check</command>.
|
---|
[bb535118] | 122 | </para>
|
---|
| 123 |
|
---|
| 124 | <para>
|
---|
| 125 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 126 | </para>
|
---|
| 127 |
|
---|
| 128 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 129 |
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="commands">
|
---|
| 133 | <title>Command Explanations</title>
|
---|
| 134 |
|
---|
| 135 | <para>
|
---|
| 136 | <option>--with-database=</option>: This switch allows you to change
|
---|
| 137 | the default database from db to either qdbm, sqlite3 or tokyocabinet.
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
| 140 | </sect2>
|
---|
| 141 |
|
---|
| 142 | <sect2 role="content">
|
---|
| 143 | <title>Contents</title>
|
---|
| 144 |
|
---|
| 145 | <segmentedlist>
|
---|
| 146 | <segtitle>Installed Programs</segtitle>
|
---|
| 147 | <segtitle>Installed Libraries</segtitle>
|
---|
| 148 | <segtitle>Installed Directories</segtitle>
|
---|
| 149 |
|
---|
| 150 | <seglistitem>
|
---|
| 151 | <seg>
|
---|
| 152 | bf_compact, bf_copy, bf_tar, bogofilter, bogolexer, bogotune,
|
---|
| 153 | bogoupgrade and bogoutil
|
---|
| 154 | </seg>
|
---|
| 155 | <seg>
|
---|
| 156 | None
|
---|
| 157 | </seg>
|
---|
| 158 | <seg>
|
---|
| 159 | /etc/bogofilter
|
---|
| 160 | </seg>
|
---|
| 161 | </seglistitem>
|
---|
| 162 | </segmentedlist>
|
---|
| 163 |
|
---|
| 164 | <variablelist>
|
---|
| 165 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 166 | <?dbfo list-presentation="list"?>
|
---|
| 167 | <?dbhtml list-presentation="table"?>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="bf_compact">
|
---|
| 170 | <term><command>bf_compact</command></term>
|
---|
| 171 | <listitem>
|
---|
| 172 | <para>
|
---|
| 173 | creates a more compact bogofilter working directory with a
|
---|
[4c24eb0a] | 174 | dump/load cycle
|
---|
[bb535118] | 175 | </para>
|
---|
| 176 | <indexterm zone="bogofilter bf_compact">
|
---|
| 177 | <primary sortas="b-bf_compact">bf_compact</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | <varlistentry id="bf_copy">
|
---|
| 183 | <term><command>bf_copy</command></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>
|
---|
[4c24eb0a] | 186 | copies a bogofilter working directory to another directory
|
---|
[bb535118] | 187 | </para>
|
---|
| 188 | <indexterm zone="bogofilter bf_copy">
|
---|
| 189 | <primary sortas="b-bf_copy">bf_copy</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | <varlistentry id="bf_tar">
|
---|
| 195 | <term><command>bf_tar</command></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>
|
---|
| 198 | bundles a bogofilter working directory in tar format and
|
---|
[4c24eb0a] | 199 | copies it to standard output
|
---|
[bb535118] | 200 | </para>
|
---|
| 201 | <indexterm zone="bogofilter bf_tar">
|
---|
| 202 | <primary sortas="b-bf_tar">bf_tar</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="bogofilter-prog">
|
---|
| 208 | <term><command>bogofilter</command></term>
|
---|
| 209 | <listitem>
|
---|
| 210 | <para>
|
---|
[4c24eb0a] | 211 | is a fast Bayesian spam filter
|
---|
[bb535118] | 212 | </para>
|
---|
| 213 | <indexterm zone="bogofilter bogofilter-prog">
|
---|
| 214 | <primary sortas="b-bogofilter">bogofilter</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="bogolexer">
|
---|
| 220 | <term><command>bogolexer</command></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>
|
---|
[b0b2cf3] | 223 | is used to separate messages into tokens and to test new
|
---|
[4c24eb0a] | 224 | versions of the lexer.l code
|
---|
[bb535118] | 225 | </para>
|
---|
| 226 | <indexterm zone="bogofilter bogolexer">
|
---|
| 227 | <primary sortas="b-bogolexer">bogolexer</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
| 232 | <varlistentry id="bogotune">
|
---|
| 233 | <term><command>bogotune</command></term>
|
---|
| 234 | <listitem>
|
---|
| 235 | <para>
|
---|
[4c24eb0a] | 236 | attempts to find optimum parameter settings for bogofilter
|
---|
[bb535118] | 237 | </para>
|
---|
| 238 | <indexterm zone="bogofilter bogotune">
|
---|
| 239 | <primary sortas="b-bogotune">bogotune</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | <varlistentry id="bogoupgrade">
|
---|
| 245 | <term><command>bogoupgrade</command></term>
|
---|
| 246 | <listitem>
|
---|
| 247 | <para>
|
---|
[4c24eb0a] | 248 | upgrades the bogofilter database to the current version
|
---|
[bb535118] | 249 | </para>
|
---|
| 250 | <indexterm zone="bogofilter bogoupgrade">
|
---|
| 251 | <primary sortas="b-bogoupgrade">bogoupgrade</primary>
|
---|
| 252 | </indexterm>
|
---|
| 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 |
|
---|
| 256 | <varlistentry id="bogoutil">
|
---|
| 257 | <term><command>bogoutil</command></term>
|
---|
| 258 | <listitem>
|
---|
| 259 | <para>
|
---|
[4c24eb0a] | 260 | dumps, loads, and maintains bogofilter database files
|
---|
[bb535118] | 261 | </para>
|
---|
| 262 | <indexterm zone="bogofilter bogoutil">
|
---|
| 263 | <primary sortas="b-bogoutil">bogoutil</primary>
|
---|
| 264 | </indexterm>
|
---|
| 265 | </listitem>
|
---|
| 266 | </varlistentry>
|
---|
| 267 |
|
---|
| 268 | </variablelist>
|
---|
| 269 |
|
---|
| 270 | </sect2>
|
---|
| 271 |
|
---|
| 272 | </sect1>
|
---|