<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://kb.pocnet.net/index.php?action=history&amp;feed=atom&amp;title=Format_des_Spamassassin_Backup</id>
	<title>Format des Spamassassin Backup - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://kb.pocnet.net/index.php?action=history&amp;feed=atom&amp;title=Format_des_Spamassassin_Backup"/>
	<link rel="alternate" type="text/html" href="https://kb.pocnet.net/index.php?title=Format_des_Spamassassin_Backup&amp;action=history"/>
	<updated>2026-04-22T19:01:38Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Knowledgebase</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://kb.pocnet.net/index.php?title=Format_des_Spamassassin_Backup&amp;diff=2839&amp;oldid=prev</id>
		<title>PoC: /* T-Teile */ Typo</title>
		<link rel="alternate" type="text/html" href="https://kb.pocnet.net/index.php?title=Format_des_Spamassassin_Backup&amp;diff=2839&amp;oldid=prev"/>
		<updated>2020-12-25T19:32:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;T-Teile: &lt;/span&gt; Typo&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 25. Dezember 2020, 21:32 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l44&quot;&gt;Zeile 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 44:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== T-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Teile &lt;/del&gt;===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== T-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Zeile &lt;/ins&gt;===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Line    n_spam  n_ham   atime           token&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Line    n_spam  n_ham   atime           token&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  t       0       2       1578062662      a51f87d29e&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  t       0       2       1578062662      a51f87d29e&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l67&quot;&gt;Zeile 67:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 67:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== S-Zeile ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== S-Zeile ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Line    flag    msgid&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Line    flag    msgid&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key kbwiki:diff:1.41:old-2838:rev-2839:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>PoC</name></author>
	</entry>
	<entry>
		<id>https://kb.pocnet.net/index.php?title=Format_des_Spamassassin_Backup&amp;diff=2838&amp;oldid=prev</id>
		<title>PoC: Neu</title>
		<link rel="alternate" type="text/html" href="https://kb.pocnet.net/index.php?title=Format_des_Spamassassin_Backup&amp;diff=2838&amp;oldid=prev"/>
		<updated>2020-12-25T14:20:36Z</updated>

		<summary type="html">&lt;p&gt;Neu&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Die &amp;#039;&amp;#039;&amp;#039;Backupfunkion von Spamassassin&amp;#039;&amp;#039;&amp;#039; schreibt ein tabellarisches &amp;#039;&amp;#039;&amp;#039;Dateiformat&amp;#039;&amp;#039;&amp;#039; im Klartext, dessen Feldbschreibungen nicht einfach auffindbar sind. Dieses Format soll hier dokumentiert werden.&lt;br /&gt;
&lt;br /&gt;
== Drei Arten von Zeilen ==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Zeile&lt;br /&gt;
!DB-Tabelle&lt;br /&gt;
|-&lt;br /&gt;
|s&lt;br /&gt;
|bayes_seen&lt;br /&gt;
|-&lt;br /&gt;
|t&lt;br /&gt;
|bayes_token&lt;br /&gt;
|-&lt;br /&gt;
|v&lt;br /&gt;
|bayes_global_vars&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Die nachfolgenden Informationen variieren je nach Zeilenart.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
=== V-Zeile ===&lt;br /&gt;
==== Format 1 ====&lt;br /&gt;
 Line    Val.    Key&lt;br /&gt;
 v       3       db_version # this must be the first line!!!&lt;br /&gt;
&lt;br /&gt;
 MariaDB [spamassassin]&amp;gt; select * from bayes_global_vars limit 5;&lt;br /&gt;
 +----------+-------+&lt;br /&gt;
 | variable | value |&lt;br /&gt;
 +----------+-------+&lt;br /&gt;
 | VERSION  | 3     |&lt;br /&gt;
 +----------+-------+&lt;br /&gt;
&lt;br /&gt;
==== Format 2  ====&lt;br /&gt;
 Line    Val.    Key&lt;br /&gt;
 v       679734  num_spam&lt;br /&gt;
 v       606034  num_nonspam&lt;br /&gt;
&lt;br /&gt;
 MariaDB [spamassassin]&amp;gt; select * from bayes_vars limit 5;&lt;br /&gt;
 +----+--------------+------------+-----------+-------------+-------------+------------------+--------------------+------------------+------------------+&lt;br /&gt;
 | id | username     | spam_count | ham_count | token_count | last_expire | last_atime_delta | last_expire_reduce | oldest_token_age | newest_token_age |&lt;br /&gt;
 +----+--------------+------------+-----------+-------------+-------------+------------------+--------------------+------------------+------------------+&lt;br /&gt;
 |  1 | spamassassin |     679734 |    606034 |     5593680 |  1608721482 |         22118400 |              92193 |       1563616942 |       1608898408 |&lt;br /&gt;
 +----+--------------+------------+-----------+-------------+-------------+------------------+--------------------+------------------+------------------+&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
=== T-Teile ===&lt;br /&gt;
 Line    n_spam  n_ham   atime           token&lt;br /&gt;
 t       0       2       1578062662      a51f87d29e&lt;br /&gt;
 t       94      333     1606745986      000124aa15&lt;br /&gt;
&lt;br /&gt;
 MariaDB [spamassassin]&amp;gt; select id, hex(token), spam_count, ham_count, atime from bayes_token limit 5;&lt;br /&gt;
 +----+------------+------------+-----------+------------+&lt;br /&gt;
 | id | hex(token) | spam_count | ham_count | atime      |&lt;br /&gt;
 +----+------------+------------+-----------+------------+&lt;br /&gt;
 |  1 | A51F87D29E |          0 |         2 | 1578062662 |&lt;br /&gt;
 |  1 | 000124AA15 |         94 |       333 | 1606745986 |&lt;br /&gt;
 |  1 | 00014C46DB |        147 |       976 | 1608828621 |&lt;br /&gt;
 |  1 | AEAB11EE46 |          0 |         3 | 1575190834 |&lt;br /&gt;
 |  1 | 00031FFB07 |         38 |      2485 | 1608723281 |&lt;br /&gt;
 +----+------------+------------+-----------+------------+&lt;br /&gt;
&lt;br /&gt;
Bitwert bleibt gleich auf OS/400!!&lt;br /&gt;
&lt;br /&gt;
 ....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+..&lt;br /&gt;
            ID   HEX ( TOKEN )     SPAM_COUNT       HAM_COUNT           ATIME &lt;br /&gt;
             1    000124AA15               94             333   1.606.745.986 &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
=== S-Zeile ===&lt;br /&gt;
 Line    flag    msgid&lt;br /&gt;
 s       h       af1eced4f05c75d52f3b0539e6da1304f7c2769c@sa_generated&lt;br /&gt;
 s       s       eea1310bdc1e66c30af31619ac880d58195436af@sa_generated&lt;br /&gt;
&lt;br /&gt;
 MariaDB [spamassassin]&amp;gt; select * from bayes_seen limit 5;&lt;br /&gt;
 +----+-------------------------------------------------------+------+&lt;br /&gt;
 | id | msgid                                                 | flag |&lt;br /&gt;
 +----+-------------------------------------------------------+------+&lt;br /&gt;
 |  1 | af1eced4f05c75d52f3b0539e6da1304f7c2769c@sa_generated | h    |&lt;br /&gt;
 |  1 | eea1310bdc1e66c30af31619ac880d58195436af@sa_generated | s    |&lt;br /&gt;
 |  1 | 4e4f77c01592c063322a5f9197d83ac6f3be9a91@sa_generated | h    |&lt;br /&gt;
 |  1 | fdd9c5a887bb906a683163fa36052ebdc0a5f483@sa_generated | h    |&lt;br /&gt;
 |  1 | b53e253ab3c54d4bb29891bd4d7e5e2b18b3c9c7@sa_generated | h    |&lt;br /&gt;
 +----+-------------------------------------------------------+------+&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Linux]]&lt;br /&gt;
[[Kategorie:Datenbank]]&lt;br /&gt;
[[Kategorie:Software]]&lt;/div&gt;</summary>
		<author><name>PoC</name></author>
	</entry>
</feed>