<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://www.synology-forum.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Archiv%3AGetmail_script</id>
	<title>Archiv:Getmail script - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://www.synology-forum.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Archiv%3AGetmail_script"/>
	<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Getmail_script&amp;action=history"/>
	<updated>2026-05-07T05:49:32Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Synology Wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://www.synology-forum.de/wiki/index.php?title=Archiv:Getmail_script&amp;diff=10592&amp;oldid=prev</id>
		<title>Tommes: Tommes verschob die Seite Getmail script nach Archiv:Getmail script</title>
		<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Getmail_script&amp;diff=10592&amp;oldid=prev"/>
		<updated>2025-03-15T07:18:52Z</updated>

		<summary type="html">&lt;p&gt;Tommes verschob die Seite &lt;a href=&quot;/wiki/Getmail_script&quot; class=&quot;mw-redirect&quot; title=&quot;Getmail script&quot;&gt;Getmail script&lt;/a&gt; nach &lt;a href=&quot;/wiki/Archiv:Getmail_script&quot; title=&quot;Archiv:Getmail script&quot;&gt;Archiv:Getmail script&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 15. März 2025, 07:18 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;de&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Tommes</name></author>
	</entry>
	<entry>
		<id>https://www.synology-forum.de/wiki/index.php?title=Archiv:Getmail_script&amp;diff=468&amp;oldid=prev</id>
		<title>imported&gt;Jahlives am 26. Januar 2011 um 20:24 Uhr</title>
		<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Getmail_script&amp;diff=468&amp;oldid=prev"/>
		<updated>2011-01-26T20:24:12Z</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 26. Januar 2011, 20:24 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-l7&quot;&gt;Zeile 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 7:&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;Das Script legt alle benötigten Kommandos, um festzustellen ob ein User angemeldet ist oder nicht, in /tmp und damit im RAM an. Einzig die Datei /bin/busybox muss manuell nach /tmp kopiert werden. Zusätzlich muss man manuell einen Softlink zwischen /tmp/busybox und /tmp/sh erstellen, bevor man das Script starten kann.&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;Das Script legt alle benötigten Kommandos, um festzustellen ob ein User angemeldet ist oder nicht, in /tmp und damit im RAM an. Einzig die Datei /bin/busybox muss manuell nach /tmp kopiert werden. Zusätzlich muss man manuell einen Softlink zwischen /tmp/busybox und /tmp/sh erstellen, bevor man das Script starten 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; 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;Den Code gibt es wiederum [http://svn.brain-force.ch/listing.php?repname=&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Diskstation+Stuff&lt;/del&gt;&amp;amp;path=%2Frun_getmail%2F im svn] oder gleich hier folgend. Es handelt sich hierbei um die Version [http://svn.brain-force.ch/filedetails.php?repname=Repos&amp;amp;path=%2Fdiskstation%2Frun_getmail%2Frun_getmail_multiuser run_getmail_multiuser]. Es gibt auch noch eine [http://svn.brain-force.ch/filedetails.php?repname=&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Diskstation+Stuff&lt;/del&gt;&amp;amp;path=%2Frun_getmail%2Frun_getmail Version für nur einen User]. Wobei die keinen Sinn macht wenn mehr als 1 Mailuser existiert ;-)  &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;Den Code gibt es wiederum [http://svn.brain-force.ch/listing.php?repname=&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Repos&lt;/ins&gt;&amp;amp;path=&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;%2Fdiskstation&lt;/ins&gt;%2Frun_getmail%2F im svn] oder gleich hier folgend. Es handelt sich hierbei um die Version [http://svn.brain-force.ch/filedetails.php?repname=Repos&amp;amp;path=%2Fdiskstation%2Frun_getmail%2Frun_getmail_multiuser run_getmail_multiuser]. Es gibt auch noch eine [http://svn.brain-force.ch/filedetails.php?repname=&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Repos&lt;/ins&gt;&amp;amp;path=&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;%2Fdiskstation&lt;/ins&gt;%2Frun_getmail%2Frun_getmail Version für nur einen User]. Wobei die keinen Sinn macht wenn mehr als 1 Mailuser existiert ;-)  &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;&amp;lt;pre&amp;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;&amp;lt;pre&amp;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;#!/tmp/sh&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;#!/tmp/sh&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Jahlives</name></author>
	</entry>
	<entry>
		<id>https://www.synology-forum.de/wiki/index.php?title=Archiv:Getmail_script&amp;diff=4158&amp;oldid=prev</id>
		<title>imported&gt;Jahlives am 26. Januar 2011 um 20:19 Uhr</title>
		<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Getmail_script&amp;diff=4158&amp;oldid=prev"/>
		<updated>2011-01-26T20:19:53Z</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 26. Januar 2011, 20:19 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-l7&quot;&gt;Zeile 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 7:&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;Das Script legt alle benötigten Kommandos, um festzustellen ob ein User angemeldet ist oder nicht, in /tmp und damit im RAM an. Einzig die Datei /bin/busybox muss manuell nach /tmp kopiert werden. Zusätzlich muss man manuell einen Softlink zwischen /tmp/busybox und /tmp/sh erstellen, bevor man das Script starten kann.&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;Das Script legt alle benötigten Kommandos, um festzustellen ob ein User angemeldet ist oder nicht, in /tmp und damit im RAM an. Einzig die Datei /bin/busybox muss manuell nach /tmp kopiert werden. Zusätzlich muss man manuell einen Softlink zwischen /tmp/busybox und /tmp/sh erstellen, bevor man das Script starten 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; 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;Den Code gibt es wiederum [http://svn.brain-force.ch/listing.php?repname=Diskstation+Stuff&amp;amp;path=%2Frun_getmail%2F im svn] oder gleich hier folgend. Es handelt sich hierbei um die Version [http://svn.brain-force.ch/filedetails.php?repname=&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Diskstation+Stuff&lt;/del&gt;&amp;amp;path=%2Frun_getmail%2Frun_getmail_multiuser run_getmail_multiuser]. Es gibt auch noch eine [http://svn.brain-force.ch/filedetails.php?repname=Diskstation+Stuff&amp;amp;path=%2Frun_getmail%2Frun_getmail Version für nur einen User]. Wobei die keinen Sinn macht wenn mehr als 1 Mailuser existiert ;-)  &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;Den Code gibt es wiederum [http://svn.brain-force.ch/listing.php?repname=Diskstation+Stuff&amp;amp;path=%2Frun_getmail%2F im svn] oder gleich hier folgend. Es handelt sich hierbei um die Version [http://svn.brain-force.ch/filedetails.php?repname=&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Repos&lt;/ins&gt;&amp;amp;path=&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;%2Fdiskstation&lt;/ins&gt;%2Frun_getmail%2Frun_getmail_multiuser run_getmail_multiuser]. Es gibt auch noch eine [http://svn.brain-force.ch/filedetails.php?repname=Diskstation+Stuff&amp;amp;path=%2Frun_getmail%2Frun_getmail Version für nur einen User]. Wobei die keinen Sinn macht wenn mehr als 1 Mailuser existiert ;-)  &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;&amp;lt;pre&amp;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;&amp;lt;pre&amp;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;#!/tmp/sh&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;#!/tmp/sh&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Jahlives</name></author>
	</entry>
	<entry>
		<id>https://www.synology-forum.de/wiki/index.php?title=Archiv:Getmail_script&amp;diff=4157&amp;oldid=prev</id>
		<title>imported&gt;Jahlives: /* getmail Script */</title>
		<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Getmail_script&amp;diff=4157&amp;oldid=prev"/>
		<updated>2010-09-12T12:36:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;getmail 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 12. September 2010, 12:36 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-l81&quot;&gt;Zeile 81:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 81:&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;done&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;done&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;&amp;lt;/pre&amp;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;&amp;lt;/pre&amp;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;[[Category:Mailstation]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Jahlives</name></author>
	</entry>
	<entry>
		<id>https://www.synology-forum.de/wiki/index.php?title=Archiv:Getmail_script&amp;diff=4156&amp;oldid=prev</id>
		<title>imported&gt;Jahlives: /* getmail Script */</title>
		<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Getmail_script&amp;diff=4156&amp;oldid=prev"/>
		<updated>2010-04-18T15:18:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;getmail 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 18. April 2010, 15:18 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-l7&quot;&gt;Zeile 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 7:&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;Das Script legt alle benötigten Kommandos, um festzustellen ob ein User angemeldet ist oder nicht, in /tmp und damit im RAM an. Einzig die Datei /bin/busybox muss manuell nach /tmp kopiert werden. Zusätzlich muss man manuell einen Softlink zwischen /tmp/busybox und /tmp/sh erstellen, bevor man das Script starten kann.&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;Das Script legt alle benötigten Kommandos, um festzustellen ob ein User angemeldet ist oder nicht, in /tmp und damit im RAM an. Einzig die Datei /bin/busybox muss manuell nach /tmp kopiert werden. Zusätzlich muss man manuell einen Softlink zwischen /tmp/busybox und /tmp/sh erstellen, bevor man das Script starten 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; 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;Den Code gibt es wiederum [http://svn.brain-force.ch/listing.php?repname=Diskstation+Stuff&amp;amp;path=%2Frun_getmail im svn] oder gleich hier folgend&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;Den Code gibt es wiederum [http://svn.brain-force.ch/listing.php?repname=Diskstation+Stuff&amp;amp;path=%2Frun_getmail&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;%2F &lt;/ins&gt;im svn] oder gleich hier folgend&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Es handelt sich hierbei um die Version [http://svn.brain-force.ch/filedetails.php?repname=Diskstation+Stuff&amp;amp;path=%2Frun_getmail%2Frun_getmail_multiuser run_getmail_multiuser]. Es gibt auch noch eine [http://svn.brain-force.ch/filedetails.php?repname=Diskstation+Stuff&amp;amp;path=%2Frun_getmail%2Frun_getmail Version für nur einen User]. Wobei die keinen Sinn macht wenn mehr als 1 Mailuser existiert ;-) &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;&amp;lt;pre&amp;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;&amp;lt;pre&amp;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;#!/tmp/sh&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;#!/tmp/sh&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Jahlives</name></author>
	</entry>
	<entry>
		<id>https://www.synology-forum.de/wiki/index.php?title=Archiv:Getmail_script&amp;diff=4155&amp;oldid=prev</id>
		<title>imported&gt;Jahlives: Die Seite wurde neu angelegt: „== getmail Script == getmail bietet die Möglichkeit externe E-Mail Konten zu leeren und die Mails in eine Mailbox auf der DS zu liefern. Meist wird getmail dazu …“</title>
		<link rel="alternate" type="text/html" href="https://www.synology-forum.de/wiki/index.php?title=Archiv:Getmail_script&amp;diff=4155&amp;oldid=prev"/>
		<updated>2010-04-18T15:12:07Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „== getmail Script == getmail bietet die Möglichkeit externe E-Mail Konten zu leeren und die Mails in eine Mailbox auf der DS zu liefern. Meist wird getmail dazu …“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== getmail Script ==&lt;br /&gt;
getmail bietet die Möglichkeit externe E-Mail Konten zu leeren und die Mails in eine Mailbox auf der DS zu liefern. Meist wird getmail dazu in einem cronjob aufgerufen. Das ist einfach jedoch u.U. etwas zu statisch. Denn der job wird immer mit dem gleichen Intervall ausgeführt, egal ob ein User am IMAP Server angemeldet ist oder nicht. Also suchte ich nach einem Weg das Script häufig auszuführen wenn User angemeldet sind und selten wenn keine User online sind. Damit können auch die Festplatten durchschlafen.&lt;br /&gt;
&lt;br /&gt;
Das Script wird einmal aufgerufen und läuft dann in einer Endlosschleife. Bei jedem Durchlauf prüft das Script ob ein User online ist oder nicht. Falls ein User Online ist, wird dessen getmail.sh Script aufgerufen und die E-Mails geladen. &amp;lt;br /&amp;gt;&lt;br /&gt;
Wenn jedoch kein User online ist, dann schläft das Script und prüft nach einem definierten Intervall wieder ob ein User online ist. Spätestens nach einer festgelegten Zeit wird getmail.sh jedoch für alle User augeführt, damit beim ersten Login das Laden der Mails nicht allzu lange geht ;-)&lt;br /&gt;
&lt;br /&gt;
Das Script legt alle benötigten Kommandos, um festzustellen ob ein User angemeldet ist oder nicht, in /tmp und damit im RAM an. Einzig die Datei /bin/busybox muss manuell nach /tmp kopiert werden. Zusätzlich muss man manuell einen Softlink zwischen /tmp/busybox und /tmp/sh erstellen, bevor man das Script starten kann.&lt;br /&gt;
&lt;br /&gt;
Den Code gibt es wiederum [http://svn.brain-force.ch/listing.php?repname=Diskstation+Stuff&amp;amp;path=%2Frun_getmail im svn] oder gleich hier folgend&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/tmp/sh&lt;br /&gt;
## NAME des getmail Scripts hier anpassen (ohne Pfadangabe!!!)&lt;br /&gt;
pfad_getmail=getmail.sh&lt;br /&gt;
# Pfad fuer Logfile hier angeben. ALLE Ausgaben des Skriptes werden hierhin umgeleitet&lt;br /&gt;
getmail_log=/opt/var/log/tobi.getmail.log&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if test -e /tmp/checkmaill ; then&lt;br /&gt;
 echo &amp;quot;Code rennt bereits&amp;quot;&lt;br /&gt;
 exit&lt;br /&gt;
elif test &amp;quot;$(whoami)&amp;quot; != &amp;quot;root&amp;quot; ; then&lt;br /&gt;
 echo &amp;quot;Das Script MUSS unter root laufen. Mittels su &amp;lt;user&amp;gt; holt das Script die Emails dann als &amp;lt;user&amp;gt; ab&amp;quot;&lt;br /&gt;
 exit&lt;br /&gt;
elif test ! -e $getmail_log ; then&lt;br /&gt;
 echo &amp;quot;Das Logfile unter $getmail_log konnte nicht gefunden werden&amp;quot;&lt;br /&gt;
 exit&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
## Benoetigte Kommandos in /tmp &amp;quot;erstellen&amp;quot;, damit die Platten durchschlafen können&lt;br /&gt;
## WICTHIG: Der Link zwischen /tmp/busybox und /tmp/sh MUSS manuell vor dem Aufruf der Scriptes erstellt werden!!&lt;br /&gt;
cp -f /bin/busybox /tmp/ &amp;gt;&amp;gt; $getmail_log 2&amp;gt;&amp;amp;1&lt;br /&gt;
ln -s /tmp/busybox /tmp/sleep &amp;gt;&amp;gt; $getmail_log 2&amp;gt;&amp;amp;1&lt;br /&gt;
ln -s /tmp/busybox /tmp/expr &amp;gt;&amp;gt; $getmail_log 2&amp;gt;&amp;amp;1&lt;br /&gt;
ln -s /tmp/busybox /tmp/test &amp;gt;&amp;gt; $getmail_log 2&amp;gt;&amp;amp;1&lt;br /&gt;
ln -s /tmp/busybox /tmp/pidof &amp;gt;&amp;gt; $getmail_log 2&amp;gt;&amp;amp;1&lt;br /&gt;
ln -s /tmp/busybox /tmp/cut &amp;gt;&amp;gt; $getmail_log 2&amp;gt;&amp;amp;1&lt;br /&gt;
ln -s /tmp/busybox /tmp/ls &amp;gt;&amp;gt; $getmail_log 2&amp;gt;&amp;amp;1&lt;br /&gt;
ln -s /tmp/busybox /tmp/grep &amp;gt;&amp;gt; $getmail_log 2&amp;gt;&amp;amp;1&lt;br /&gt;
# su wird nur dann benoetigt wenn das Kommando DIREKT in diesem Script aufgerufen wird (siehe Zeile 48+49 und 65+66)&lt;br /&gt;
#ln -s /tmp/busybox /tmp/su &amp;gt;&amp;gt; $getmail_log 2&amp;gt;&amp;amp;1&lt;br /&gt;
ln -s /tmp/busybox /tmp/find &amp;gt;&amp;gt; $getmail_log 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
i=0&lt;br /&gt;
touch /tmp/checkmaill&lt;br /&gt;
echo $$ &amp;gt; /tmp/checkmaill&lt;br /&gt;
PATH=/tmp&lt;br /&gt;
while true; do&lt;br /&gt;
 s=`pidof imap`&lt;br /&gt;
 t=&amp;#039;&amp;#039;&lt;br /&gt;
 if test &amp;quot;$s&amp;quot; != &amp;#039;&amp;#039; ; then&lt;br /&gt;
  for var in $s ; do&lt;br /&gt;
   tt=`ls -all /proc | grep $var | cut -d&amp;#039; &amp;#039; -f6`&lt;br /&gt;
   if test &amp;quot;$tt&amp;quot; != &amp;quot;$t&amp;quot; ; then&lt;br /&gt;
     for ii in `find /volume1/homes/$tt -name $pfad_getmail`; do&lt;br /&gt;
          # Die folgende Zeile nur dann &amp;quot;entkommentieren&amp;quot; wenn keine virtuellen Benutzer verwendet werden&lt;br /&gt;
          # Sonst gibt es Probleme mit deliver. ACHTUNG: Wenn diese Zeile auskommentiert ist MUSS su &amp;lt;user&amp;gt; in getmail.sh gesetzt werden,&lt;br /&gt;
          # sonst wird das Script (getmail.sh) unter root ausgeführt und das gibt garantiert Aerger mit dem dovecot&lt;br /&gt;
          #su $tt -c &amp;quot;$ii&amp;quot; &amp;gt;&amp;gt; $getmail_log 2&amp;gt;&amp;amp;1&lt;br /&gt;
      $ii &amp;gt;&amp;gt; $getmail_log 2&amp;gt;&amp;amp;1&lt;br /&gt;
      done&lt;br /&gt;
     t=$tt&lt;br /&gt;
   fi&lt;br /&gt;
  done&lt;br /&gt;
  i=`expr $i + 1`&lt;br /&gt;
  sleep 60&lt;br /&gt;
 else&lt;br /&gt;
  tt=&amp;#039;&amp;#039;&lt;br /&gt;
  i=`expr $i + 1`&lt;br /&gt;
  sleep 1&lt;br /&gt;
  if test `expr $i % 3600` -eq 0 ; then&lt;br /&gt;
   i=0&lt;br /&gt;
   for ii in `find /volume1/homes/ -name $pfad_getmail`; do&lt;br /&gt;
    tt=`ls -all $ii | cut -d&amp;#039; &amp;#039; -f6`&lt;br /&gt;
        # siehe oben (Zeile 44-46)&lt;br /&gt;
    #su $tt -c &amp;quot;$ii&amp;quot; &amp;gt;&amp;gt; $getmail_log 2&amp;gt;&amp;amp;1&lt;br /&gt;
    $ii &amp;gt;&amp;gt; $getmail_log 2&amp;gt;&amp;amp;1&lt;br /&gt;
   done&lt;br /&gt;
  fi&lt;br /&gt;
 fi&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Jahlives</name></author>
	</entry>
</feed>