<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.schokokeks.org/wiki/index.php?action=history&amp;feed=atom&amp;title=E-Mail%2FManuelle_Konfiguration%2FArchivierung</id>
	<title>E-Mail/Manuelle Konfiguration/Archivierung - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.schokokeks.org/wiki/index.php?action=history&amp;feed=atom&amp;title=E-Mail%2FManuelle_Konfiguration%2FArchivierung"/>
	<link rel="alternate" type="text/html" href="https://wiki.schokokeks.org/wiki/index.php?title=E-Mail/Manuelle_Konfiguration/Archivierung&amp;action=history"/>
	<updated>2026-05-23T00:44:04Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in schokokeks.org Wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.schokokeks.org/wiki/index.php?title=E-Mail/Manuelle_Konfiguration/Archivierung&amp;diff=8993&amp;oldid=prev</id>
		<title>Bernd: /* Script */</title>
		<link rel="alternate" type="text/html" href="https://wiki.schokokeks.org/wiki/index.php?title=E-Mail/Manuelle_Konfiguration/Archivierung&amp;diff=8993&amp;oldid=prev"/>
		<updated>2010-08-31T07:32:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Script&lt;/span&gt;&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 31. August 2010, 09: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-l29&quot;&gt;Zeile 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 29:&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;  # Alle Ordner finden:&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;  # Alle Ordner finden:&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;  find &amp;quot;${MAILBOX}.&amp;quot; -maxdepth 1 -type d -and -not \( -name tmp -or -name cur -or -name new -or -name courierimapkeywords -or -name courierimaphieracl -or -name . \) -printf &amp;quot;%f\0&amp;quot; | \&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;  find &amp;quot;${MAILBOX}.&amp;quot; -maxdepth 1 -type d -and -not \( -name tmp -or -name cur -or -name new -or -name courierimapkeywords -or -name courierimaphieracl -or -name . \) -printf &amp;quot;%f\0&amp;quot; | \&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;    xargs -0 -I FOLDER /usr/local/bin/cleanup-maildir --&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;quiet &lt;/del&gt;-a &quot;${DAYS}&quot; -d 2 --archive-folder=&quot;${ARCHIVE}&quot;FOLDER --folder-prefix=&quot;&quot; --maildir-root=${MAILBOX} archive FOLDER&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;    xargs -0 -I FOLDER /usr/local/bin/cleanup-maildir --&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;trial-run &lt;/ins&gt;-a &quot;${DAYS}&quot; -d 2 --archive-folder=&quot;${ARCHIVE}&quot;FOLDER --folder-prefix=&quot;&quot; --maildir-root=${MAILBOX} archive FOLDER&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;/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;/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;Bitte ersetzen Sie in der letzten Zeile &#039;&#039;&#039;--trial-run&#039;&#039;&#039; durch &#039;&#039;&#039;--quiet&#039;&#039;&#039;, wenn Sie sicher sind, dass die Archivierung die korrekten Ordnernamen benutzt.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bernd</name></author>
	</entry>
	<entry>
		<id>https://wiki.schokokeks.org/wiki/index.php?title=E-Mail/Manuelle_Konfiguration/Archivierung&amp;diff=8992&amp;oldid=prev</id>
		<title>Bernd: /* Vorbedingungen */</title>
		<link rel="alternate" type="text/html" href="https://wiki.schokokeks.org/wiki/index.php?title=E-Mail/Manuelle_Konfiguration/Archivierung&amp;diff=8992&amp;oldid=prev"/>
		<updated>2010-08-31T07:29:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Vorbedingungen&lt;/span&gt;&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 31. August 2010, 09:29 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-l16&quot;&gt;Zeile 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 16:&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;In unserem Beispiel befindet sich die reguläre Mailbox in &amp;#039;&amp;#039;&amp;#039;~/mailbox/inbox/&amp;#039;&amp;#039;&amp;#039;, was gleichzeitig auch der Pfad des IMAP-Kontos ist. Eine separate Mailbox unter &amp;#039;&amp;#039;&amp;#039;~/mailbox/attic/&amp;#039;&amp;#039;&amp;#039; ist als separates Postfach eingerichtet und soll das Archiv aufnehmen.&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;In unserem Beispiel befindet sich die reguläre Mailbox in &amp;#039;&amp;#039;&amp;#039;~/mailbox/inbox/&amp;#039;&amp;#039;&amp;#039;, was gleichzeitig auch der Pfad des IMAP-Kontos ist. Eine separate Mailbox unter &amp;#039;&amp;#039;&amp;#039;~/mailbox/attic/&amp;#039;&amp;#039;&amp;#039; ist als separates Postfach eingerichtet und soll das Archiv aufnehmen.&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;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; 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;Die Archivierung soll so erfolgen, dass jeder Ordner &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;des &lt;/del&gt;Original-Mailbox im Archiv um Unterordner für Jahr und Monat erweitert wird.&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;Die Archivierung soll so erfolgen, dass jeder Ordner &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;der &lt;/ins&gt;Original-Mailbox im Archiv um Unterordner für Jahr und Monat erweitert wird.&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;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;=== Script ===&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;=== Script ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bernd</name></author>
	</entry>
	<entry>
		<id>https://wiki.schokokeks.org/wiki/index.php?title=E-Mail/Manuelle_Konfiguration/Archivierung&amp;diff=8991&amp;oldid=prev</id>
		<title>Bernd am 31. August 2010 um 07:28 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.schokokeks.org/wiki/index.php?title=E-Mail/Manuelle_Konfiguration/Archivierung&amp;diff=8991&amp;oldid=prev"/>
		<updated>2010-08-31T07:28:01Z</updated>

		<summary type="html">&lt;p&gt;&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 31. August 2010, 09:28 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-l1&quot;&gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&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;Ankommende E-Mails werden bei uns typischerweise in einer Mailbox vom Typ »Maildir« gespeichert. Dieses Mailbox-Format hat zwar bei der normalen Verwendung unschlagbare Vorteile, wird aber sichtbar langsamer wenn sich zu viele E-Mails in einem Verzeichnis befinden.&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;Ankommende E-Mails werden bei uns typischerweise in einer Mailbox vom Typ »Maildir« gespeichert. Dieses Mailbox-Format hat zwar bei der normalen Verwendung unschlagbare Vorteile, wird aber sichtbar langsamer wenn sich zu viele E-Mails in einem Verzeichnis befinden.&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;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; 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;Typischerweise sollten sich nicht mehr als 5.000 E-Mails in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;einer Mailbox &lt;/del&gt;befinden, damit der IMAP-Server diese schnell auflisten kann.&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;Typischerweise sollten sich nicht mehr als 5.000 E-Mails in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;einem Unterordner &lt;/ins&gt;befinden, damit der IMAP-Server diese schnell auflisten kann.&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;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;== Automatische Archivierung ==&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;== Automatische Archivierung ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bernd</name></author>
	</entry>
	<entry>
		<id>https://wiki.schokokeks.org/wiki/index.php?title=E-Mail/Manuelle_Konfiguration/Archivierung&amp;diff=8989&amp;oldid=prev</id>
		<title>Bernd: Die Seite wurde neu angelegt: „Ankommende E-Mails werden bei uns typischerweise in einer Mailbox vom Typ »Maildir« gespeichert. Dieses Mailbox-Format hat zwar bei der normalen Verwendung unsc…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.schokokeks.org/wiki/index.php?title=E-Mail/Manuelle_Konfiguration/Archivierung&amp;diff=8989&amp;oldid=prev"/>
		<updated>2010-08-31T07:22:22Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „Ankommende E-Mails werden bei uns typischerweise in einer Mailbox vom Typ »Maildir« gespeichert. Dieses Mailbox-Format hat zwar bei der normalen Verwendung unsc…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Ankommende E-Mails werden bei uns typischerweise in einer Mailbox vom Typ »Maildir« gespeichert. Dieses Mailbox-Format hat zwar bei der normalen Verwendung unschlagbare Vorteile, wird aber sichtbar langsamer wenn sich zu viele E-Mails in einem Verzeichnis befinden.&lt;br /&gt;
&lt;br /&gt;
Typischerweise sollten sich nicht mehr als 5.000 E-Mails in einer Mailbox befinden, damit der IMAP-Server diese schnell auflisten kann.&lt;br /&gt;
&lt;br /&gt;
== Automatische Archivierung ==&lt;br /&gt;
&lt;br /&gt;
Da man in der Regel seine E-Mails nicht löschen möchte, bietet es sich an, eine automatische Archivierung einzurichten. Hierfür haben wir das Programm [http://svn.houseofnate.net/unix-tools/trunk/cleanup-maildir cleanup-maildir] in einer angepassten Version installiert.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Ganze Mailbox-Hierarchie archivieren ==&lt;br /&gt;
&lt;br /&gt;
Bei einer Mailbox mit mehreren Unterordnern bietet es sich an, die gesamte Hierarchie in einer zweiten IMAP-Mailbox als Archiv nachzubilden. Damit werden die archivierten E-Mails nicht mehr innerhalb der Mailbox des täglichen Bedarfs gespeichert und verlangsamen den regulären Zugriff nicht. Da Sie bei uns mittels &amp;#039;&amp;#039;grep&amp;#039;&amp;#039; oder &amp;#039;&amp;#039;mutt&amp;#039;&amp;#039; auch direkt auf dem Server zugreifen können, ist eine Suche nach alten Nachrichten auch möglich ohne stets den gesamten Nachrichtenbestand in das E-Mail-Programm zu laden.&lt;br /&gt;
&lt;br /&gt;
=== Vorbedingungen ===&lt;br /&gt;
&lt;br /&gt;
In unserem Beispiel befindet sich die reguläre Mailbox in &amp;#039;&amp;#039;&amp;#039;~/mailbox/inbox/&amp;#039;&amp;#039;&amp;#039;, was gleichzeitig auch der Pfad des IMAP-Kontos ist. Eine separate Mailbox unter &amp;#039;&amp;#039;&amp;#039;~/mailbox/attic/&amp;#039;&amp;#039;&amp;#039; ist als separates Postfach eingerichtet und soll das Archiv aufnehmen.&lt;br /&gt;
&lt;br /&gt;
Die Archivierung soll so erfolgen, dass jeder Ordner des Original-Mailbox im Archiv um Unterordner für Jahr und Monat erweitert wird.&lt;br /&gt;
&lt;br /&gt;
=== Script ===&lt;br /&gt;
&lt;br /&gt;
Folgendes Script nutzt &amp;#039;&amp;#039;cleanup-maildir&amp;#039;&amp;#039; um eine gesamte Mailbox mit allen Unterverzeichnissen zu archivieren. Beachten Sie, dass die Zeilen sehr lang sind. Vor dem Zeilenumbruch befindet sich ein &amp;#039;&amp;#039;&amp;#039;\&amp;#039;&amp;#039;&amp;#039;, der dafür sorgt, dass der Zeilenumbruch ignoriert wird. Dies muss entweder exakt so beibehalten werden oder der &amp;#039;&amp;#039;&amp;#039;\&amp;#039;&amp;#039;&amp;#039; muss zusammen mit dem Zeilenumbruch entfernt werden.&lt;br /&gt;
&lt;br /&gt;
 # Mit abschließendem / angeben!&lt;br /&gt;
 MAILBOX=~/mailbox/inbox/&lt;br /&gt;
 ARCHIVE=~/mailbox/attic/&lt;br /&gt;
 DAYS=90 &lt;br /&gt;
 &lt;br /&gt;
 # Alle Ordner finden:&lt;br /&gt;
 find &amp;quot;${MAILBOX}.&amp;quot; -maxdepth 1 -type d -and -not \( -name tmp -or -name cur -or -name new -or -name courierimapkeywords -or -name courierimaphieracl -or -name . \) -printf &amp;quot;%f\0&amp;quot; | \&lt;br /&gt;
   xargs -0 -I FOLDER /usr/local/bin/cleanup-maildir --quiet -a &amp;quot;${DAYS}&amp;quot; -d 2 --archive-folder=&amp;quot;${ARCHIVE}&amp;quot;FOLDER --folder-prefix=&amp;quot;&amp;quot; --maildir-root=${MAILBOX} archive FOLDER&lt;/div&gt;</summary>
		<author><name>Bernd</name></author>
	</entry>
</feed>