<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>vServer | Nerdpress.org</title>
	<atom:link href="https://nerdpress.org/tag/vserver/feed/" rel="self" type="application/rss+xml" />
	<link>https://nerdpress.org</link>
	<description>...dev, tech problems and solutions.</description>
	<lastBuildDate>Tue, 06 Apr 2021 15:46:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Hosting multiple Express (node.js) apps on port 80</title>
		<link>https://nerdpress.org/2012/04/20/hosting-multiple-express-node-js-apps-on-port-80/</link>
					<comments>https://nerdpress.org/2012/04/20/hosting-multiple-express-node-js-apps-on-port-80/#comments</comments>
		
		<dc:creator><![CDATA[Max Girkens]]></dc:creator>
		<pubDate>Fri, 20 Apr 2012 03:40:31 +0000</pubDate>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Express]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[socket.io]]></category>
		<category><![CDATA[vServer]]></category>
		<category><![CDATA[express]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[sockets]]></category>
		<guid isPermaLink="false">https://nerdpress.org/?p=2144</guid>

					<description><![CDATA[<p>In the last days, i was trying to find a solution hosting multiple Express apps on my vServer the same Server. Starting with Apache and mod_proxy, i ended up with a plain node solution, which i really like. Let&#8217;s take a quick look on some different approaches out there: &#8212;1&#8212; Using apache on port 80 &#8230; </p>
<p class="link-more"><a href="https://nerdpress.org/2012/04/20/hosting-multiple-express-node-js-apps-on-port-80/" class="more-link">Continue reading<span class="screen-reader-text"> "Hosting multiple Express (node.js) apps on port 80"</span></a></p>
The post <a href="https://nerdpress.org/2012/04/20/hosting-multiple-express-node-js-apps-on-port-80/">Hosting multiple Express (node.js) apps on port 80</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></description>
										<content:encoded><![CDATA[<p>In the last days, i was trying to find a solution hosting multiple <a href="http://expressjs.com/">Express</a> apps on <del datetime="2012-04-19T00:40:35+00:00">my vServer </del>the same Server.</p>
<p>Starting with <a href="http://www.apache.org/">Apache</a> and <a href="http://httpd.apache.org/docs/2.0/mod/mod_proxy.html">mod_proxy</a>, i ended up with a plain node solution, which i really like.<span id="more-2144"></span></p>
<p><a href="https://nerdpress.org/wp-content/uploads/2012/04/node-http-proxy-haz-colors.png"><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-2146" title="node-http-proxy-haz-colors" src="https://nerdpress.org/wp-content/uploads/2012/04/node-http-proxy-haz-colors.png" alt="" width="527" height="106" srcset="https://nerdpress.org/wp-content/uploads/2012/04/node-http-proxy-haz-colors.png 527w, https://nerdpress.org/wp-content/uploads/2012/04/node-http-proxy-haz-colors-300x60.png 300w" sizes="(max-width: 527px) 100vw, 527px" /></a></p>
<p>Let&#8217;s take a quick look on some different approaches out there:</p>
<p><strong>&#8212;1&#8212;</strong></p>
<p>Using apache on port 80 as a proxy</p>
<pre class="brush: bash; title: ; notranslate">
ProxyPass /nodeurls/ http://localhost:9000/
ProxyPassReverse /nodeurls/ http://localhost:9000/
</pre>
<p>via <a href="http://stackoverflow.com/questions/6109089/how-do-i-run-node-js-on-port-80">stackoverflow</a></p>
<p>&#8212; no websockets<br />
++ probably the easiest way to integrate with your running AMPP-stack</p>
<p><strong>&#8212;2&#8212;</strong></p>
<p>Using a node.js app on port 80 as a Wrapper for other node apps.</p>
<pre class="brush: jscript; title: ; notranslate">
express.createServer()
  .use(express.vhost('hostname1.com', require('/path/to/hostname1').app)
  .use(express.vhost('hostname2.com', require('/path/to/hostname2').app)
.listen(80)
</pre>
<p>via <a href="http://stackoverflow.com/questions/9332865/how-should-i-organize-multiple-express-servers-on-the-same-system">stackoverflow</a></p>
<p>++ you can use websockets on port 80<br />
&#8212; apps crash/restart/stop globally<br />
&#8211;what about your apache or the like?</p>
<p><strong>&#8212;3&#8212;</strong></p>
<p>Using node.js with node-http-proxy on port 80</p>
<pre class="brush: jscript; title: ; notranslate">
var http = require('http')
, httpProxy = require('http-proxy');

httpProxy.createServer({
  hostnameOnly: true,
  router: {
    //web-development.cc
    'www.my-domain.com': '127.0.0.1:3001',
    'www.my-other-domain.de' : '127.0.0.1:3002'
  }
}).listen(80);

</pre>
<p>++ proxy websockets to any port<br />
&#8212; you might need to move your old web server to another port</p>
<p>The really cool thing about using node-http-proxy is its capability of proxying websockets.<br />
So you can have your apps running independtly on different ports while serving everything to the user over port 80 and use stuff like <a href="http://socket.io/">socket.io</a>.</p>
<p>Since i&#8217;m new to node.js and miles away from beeing a admin, any feedback is highly appreciated :)</p>The post <a href="https://nerdpress.org/2012/04/20/hosting-multiple-express-node-js-apps-on-port-80/">Hosting multiple Express (node.js) apps on port 80</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></content:encoded>
					
					<wfw:commentRss>https://nerdpress.org/2012/04/20/hosting-multiple-express-node-js-apps-on-port-80/feed/</wfw:commentRss>
			<slash:comments>14</slash:comments>
		
		
			</item>
		<item>
		<title>Migrate to Mongolab</title>
		<link>https://nerdpress.org/2011/09/26/migrate-to-mongolab/</link>
					<comments>https://nerdpress.org/2011/09/26/migrate-to-mongolab/#comments</comments>
		
		<dc:creator><![CDATA[Ivo Bathke]]></dc:creator>
		<pubDate>Mon, 26 Sep 2011 05:38:07 +0000</pubDate>
				<category><![CDATA[MongoDB]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[vServer]]></category>
		<category><![CDATA[mongodb]]></category>
		<guid isPermaLink="false">https://nerdpress.org/?p=1738</guid>

					<description><![CDATA[<p>Recently i ran into RAM troubles on my vserver for some reasons, i encountered the evil: Cannot allocate memory at ... So first i suspected mongodb to use up loads of memory as top showed. But after some recherche work i learned mongodb only -seems- to use a lot of memory. see here and here &#8230; </p>
<p class="link-more"><a href="https://nerdpress.org/2011/09/26/migrate-to-mongolab/" class="more-link">Continue reading<span class="screen-reader-text"> "Migrate to Mongolab"</span></a></p>
The post <a href="https://nerdpress.org/2011/09/26/migrate-to-mongolab/">Migrate to Mongolab</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></description>
										<content:encoded><![CDATA[<p>Recently i ran into RAM troubles on my vserver for some reasons, i encountered the evil:</p>
<pre class="brush: bash; title: ; notranslate">
Cannot allocate memory at ...
</pre>
<p>So first i suspected <a href="http://www.mongodb.org/">mongodb</a> to use up loads of memory as top showed.</p>
<p>But after some recherche work i learned mongodb only -seems- to use a lot of memory.<br />
see <a href="http://blog.mongodb.org/post/101911655/mongo-db-memory-usage">here</a> and <a href="http://www.mongodb.org/display/DOCS/Checking+Server+Memory+Usage">here</a> and <a href="http://stackoverflow.com/questions/4918443/is-it-ideal-that-mongodb-is-using-150-mb-memory/4918676#4918676">here</a><br />
The actual usage was around 20mb RAM, so mongodb was innocent.</p>
<p>The true RAM monsters were some apache and php-fpm zombies, but thats another story.</p>
<p>While suspecting mongodb i thought about outsourcing the mongodb and i found a free and sufficient offer in <a href="https://mongolab.com">mongolab</a>.<br />
My interests were on and i gave it a try.<br />
The free version has a limit for up to 240MB storage and since my app is just a small counter it should last for some time.<br />
<span id="more-1738"></span></p>
<p>The registration was easy, creation of the database aswell and the administration panel is also pretty cool and informative.<br />
<img decoding="async" class="alignnone size-medium wp-image-1743" style="border-style: initial; border-color: initial;" title="mongolab" src="https://nerdpress.org/wp-content/uploads/2011/09/mongolab-300x167.png" alt="" width="300" height="167" srcset="https://nerdpress.org/wp-content/uploads/2011/09/mongolab-300x167.png 300w, https://nerdpress.org/wp-content/uploads/2011/09/mongolab.png 816w" sizes="(max-width: 300px) 100vw, 300px" /><br />
Then create a user and migrate:</p>
<p>First get my data from the vserver on the vserver:</p>
<pre class="brush: bash; title: ; notranslate">
 mongodump --host 127.0.0.1
</pre>
<p>Then fetch it to my local machine:</p>
<pre class="brush: bash; title: ; notranslate">
 scp -r me@vserver.de:/var/www/vhosts/verrueckte/dump/mongodumpdata .
</pre>
<p>Ups i didnt had no mongo client on my local machine, go get it:</p>
<pre class="brush: bash; title: ; notranslate">
 sudo apt-get install mongodb-clients
</pre>
<p>Now connect to the mongolab via your console</p>
<pre class="brush: bash; title: ; notranslate">
 mongo db123xyz.mongolab.com:12345/thedb -u &lt;user&gt; -p &lt;pw&gt;
</pre>
<p>Hey works, great!<br />
Alright see you later.</p>
<pre class="brush: bash; title: ; notranslate">
 &gt; exit;
</pre>
<p>Now import the dumps to continue the counter there were i stopped.</p>
<pre class="brush: bash; title: ; notranslate">
 cd mongodumpdata
 mongorestore -h db123xyz.mongolab.com:12345 -d thedb -u -p .
</pre>
<p>Good!</p>
<p>Then teach the php app the new connection:</p>
<pre class="brush: php; title: ; notranslate">
 $this-&gt;host = 'mongodb://user:pw@db123xyz.mongolab.com:12345/thedb';
 new mongo($this-&gt;host);
</pre>
<p>There you go! The counter is storing its stuff to the mongolab database.<br />
And i can stop the mongod on my machine and free some memory.</p>
<pre class="brush: bash; title: ; notranslate">
 ps aux | grep mongodb
 kill &lt;PID&gt;
</pre>The post <a href="https://nerdpress.org/2011/09/26/migrate-to-mongolab/">Migrate to Mongolab</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></content:encoded>
					
					<wfw:commentRss>https://nerdpress.org/2011/09/26/migrate-to-mongolab/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Server Monitoring mit Munin</title>
		<link>https://nerdpress.org/2010/11/02/server-monitoring-mit-munin/</link>
					<comments>https://nerdpress.org/2010/11/02/server-monitoring-mit-munin/#comments</comments>
		
		<dc:creator><![CDATA[Ivo Bathke]]></dc:creator>
		<pubDate>Tue, 02 Nov 2010 19:55:07 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[vServer]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Munin]]></category>
		<category><![CDATA[Webserver]]></category>
		<guid isPermaLink="false">https://nerdpress.org/?p=1143</guid>

					<description><![CDATA[<p>Da ich ein Kontrollfreak bin ;) wollte ich mal meinen vServer monitoren. Nach allem was ich so las, scheint wohl Munin das geeignete Tool zu sein. Also aufgemacht und es installiert: Munin ist Server-Client mäßig aufgebaut, ich installiere der Einfachkeit halber mal Server und Client (Node) auf der selben Maschine. Für Debian Lenny geht das &#8230; </p>
<p class="link-more"><a href="https://nerdpress.org/2010/11/02/server-monitoring-mit-munin/" class="more-link">Continue reading<span class="screen-reader-text"> "Server Monitoring mit Munin"</span></a></p>
The post <a href="https://nerdpress.org/2010/11/02/server-monitoring-mit-munin/">Server Monitoring mit Munin</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></description>
										<content:encoded><![CDATA[<p>Da ich ein Kontrollfreak bin ;) wollte ich mal meinen vServer monitoren.<br />
Nach allem was ich so las, scheint wohl <a href="http://munin-monitoring.org">Munin</a>  das geeignete Tool zu sein.</p>
<p>Also aufgemacht und es installiert:<br />
Munin ist Server-Client mäßig aufgebaut, ich installiere der Einfachkeit halber mal Server und Client (Node) auf der selben Maschine.<br />
Für <strong>Debian Lenny</strong> geht das ganz einfach über apt-get:</p>
<pre class="brush: bash; title: ; notranslate">
apt-get install munin munin-node
</pre>
<p>So nun noch das Webinterface umlegen: ich mache dafür eine eigene Subdomain bei einem meiner vHosts über Plesk.<br />
zB munin.nerdpress.org (nein, die url gibts in echt nicht)</p>
<p>jetzt muss noch das www Verzeichnis, welches Munin generiert umkopiert werden in das Subdomain Verzeichnis:</p>
<pre class="brush: bash; title: ; notranslate">
cp -r /var/www/munin/* /var/www/vhosts/nerdpress/subdomains/munin/httpdocs
</pre>
<p><span id="more-1143"></span></p>
<p>Wichtig ist noch die Besitzer richtig zu setzen:</p>
<pre class="brush: bash; title: ; notranslate">
chown -R munin:munin /var/www/vhosts/nerdpress/subdomains/munin/httpdocs
</pre>
<p>Das Verzeichnis sollte man dann noch über .htaccess Passwort schützen.</p>
<p>Nun noch Munin beibringen das sein www Verzeichnis woanders ist, dafür muss man in die <em>munin.conf</em></p>
<pre class="brush: bash; title: ; notranslate">
joe /etc/munin/munin.conf:
</pre>
<p>und folgendes ändern:</p>
<pre class="brush: bash; title: ; notranslate">
htmldir /var/www/vhosts/nerdpress.org/subdomains/munin/httpdocs
</pre>
<p>Und wenn man schonmal da ist, kann man auch direkt seinen Server registrieren:</p>
<pre class="brush: bash; title: ; notranslate">
&#x5B;munin.nerdpress.org]
address 127.0.0.1
use_node_name yes
</pre>
<p>Weiter gehts mit dem Node, dieser will auch noch konfiguriert sein:</p>
<pre class="brush: bash; title: ; notranslate">
joe /etc/munin/munin-node.conf
</pre>
<p>Dort den host_name anpassen:</p>
<pre class="brush: bash; title: ; notranslate">
host_name munin.nerdpress.org
</pre>
<p>Soweit so gut. Nun sieht man aber noch nichts. Dafür muss man erstmal die Plugins, die man braucht aktivieren.<br />
Dies geschieht durch einen symlink:</p>
<pre class="brush: bash; title: ; notranslate">
ln -s /usr/share/munin/plugins/apache_accesses /etc/munin/plugins/apache_accesses
ln -s /usr/share/munin/plugins/memory /etc/munin/plugins/memory
</pre>
<p>Damit sind das Plugin, was den RAM monitored und das für die Apache Accesses &#8220;installiert&#8221;.</p>
<p>Jetzt noch den Node restarten </p>
<pre class="brush: bash; title: ; notranslate">
/etc/init.d/munin-node restart
</pre>
<p>und ein wenig warten, dann sollte man unter <em>munin.nerdpress.org</em> die ersten Graphen sehen. </p>
<p>Aber nichts funktioniert ja auf Anhieb ohne Probleme, so auch hier:<br />
Die System Plugin Graphen für Memory, Plattenplatz und CPU funktionieren, die Apache Plugins produzieren jedoch einen <strong>leeren Graph</strong>.</p>
<p>Warum dies?<br />
Mit Googles Hilfe dann ein paar Debug Schritte vorgenommen:</p>
<pre class="brush: bash; title: ; notranslate">
munin-run apache_accesses
</pre>
<p>Dies sagt: <em>accesses80.value U</em></p>
<pre class="brush: bash; title: ; notranslate">
munin-node-configure --suggest | grep apache
</pre>
<p>sagt:<br />
<em>Got junk from apache_accesses:</em></p>
<p>Des Rätsels Lösung ist dem Apache &#8220;sprechen beibringen&#8221;, wie <a href="https://bugs.launchpad.net/ubuntu/+source/munin/+bug/231706">hier</a> und <a href="http://linuxundich.de/de/ubuntu/webbasierte-serveruberwachung-mit-munin/">hier</a> beschrieben.</p>
<p>Also die <em>/etc/apache2/apache2.conf</em> editiert und folgenden Block so umgeschrieben, wichtig ist dabei das <em>ExtendedStatus On</em>:</p>
<pre class="brush: bash; title: ; notranslate">
&lt;IfModule mod_status.c&gt;
    #
    # Allow server status reports generated by mod_status,
    # with the URL of http://servername/server-status
    # Change the &quot;.example.com&quot; to match your domain to enable.
    #
    ExtendedStatus On
    &lt;Location /server-status&gt;
        SetHandler server-status
        Order deny,allow
        Deny from all
        Allow from 127.0.0.1
    &lt;/Location&gt;
&lt;/IfModule&gt;
 </pre>
<p>Noch den Apache restarten</p>
<pre class="brush: bash; title: ; notranslate">
/etc/init.d/apache2 restart
</pre>
<p>und siehe da auch die Apache Graphen werden gefüllt.</p>
<p>Ich hoffe Plesk läßt die Apache Konfiguration so stehen, aber bisher siehts so aus.</p>
<p>Mal sehen was man damit noch alles anstellen kann.</p>The post <a href="https://nerdpress.org/2010/11/02/server-monitoring-mit-munin/">Server Monitoring mit Munin</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></content:encoded>
					
					<wfw:commentRss>https://nerdpress.org/2010/11/02/server-monitoring-mit-munin/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>Upgrade von Etch auf Lenny</title>
		<link>https://nerdpress.org/2010/02/27/upgrade-von-etch-auf-lenny/</link>
		
		<dc:creator><![CDATA[Ivo Bathke]]></dc:creator>
		<pubDate>Sat, 27 Feb 2010 16:13:10 +0000</pubDate>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[vServer]]></category>
		<guid isPermaLink="false">https://nerdpress.org/?p=823</guid>

					<description><![CDATA[<p>Dann habe ich neulich mal meinen vServer upgegradet von Debian Etch auf Lenny, um in den Genuss einer neueren PHP Version zu kommen. Ein paar Problemchen gabs schon aber es hat geklappt! Das lief ab wie folgt: Zunächst einmal Plesk auf neuesten Stand bringen über den Updater von Plesk. Dann das Debian dist upgrade: wie &#8230; </p>
<p class="link-more"><a href="https://nerdpress.org/2010/02/27/upgrade-von-etch-auf-lenny/" class="more-link">Continue reading<span class="screen-reader-text"> "Upgrade von Etch auf Lenny"</span></a></p>
The post <a href="https://nerdpress.org/2010/02/27/upgrade-von-etch-auf-lenny/">Upgrade von Etch auf Lenny</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></description>
										<content:encoded><![CDATA[<p>Dann habe ich neulich mal meinen vServer upgegradet von Debian Etch auf Lenny, um in den Genuss einer neueren PHP Version zu kommen.<br />
Ein paar Problemchen gabs schon aber es hat geklappt!<br />
Das lief ab wie folgt:</p>
<p>Zunächst einmal Plesk auf neuesten Stand bringen über den Updater von Plesk.</p>
<p>Dann das Debian dist upgrade:<br />
wie <a href="http://serversupportforum.de/forum/virtuelle-server/30785-server4you-vserver-plus-dist-upgrade-debian-etch-lenny.html//">hier</a> beschrieben:<br />
Die Liste mit den Quell-Paketen ändern:</p>
<pre class="brush: bash; title: ; notranslate">
# new lenny packages.
deb http://ftp2.de.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free

# source packages.
deb-src http://ftp2.de.debian.org/debian/ lenny main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

# volatile sources
deb http://volatile.debian.org/debian-volatile etch/volatile main contrib non-free
</pre>
<p>Dann upgraden<br />
<span id="more-823"></span></p>
<pre class="brush: bash; title: ; notranslate">
apt-get update
apt-get dist-upgrade
</pre>
<p>Das wars schon und da war der Lenny, PHP war auch neu und die Seiten liefen alle noch.<br />
Soweit so gut. Doch nun die Probleme:</p>
<p>FTP tats nicht mehr. Liegt wohl daran das ich noch den Plesk für Etch drauf hatte und das neue ProFTP damit nich kompatibel ist.</p>
<p>Außer dem gibt Plesk einen SSL Error und kann keine Keys mehr beziehen.</p>
<blockquote><p>
Cannot retrieve license key: SSL connect error
</p></blockquote>
<p>Ein bißchen gegooglet und zum Schluß gekommen Plesk neu zu installieren.<br />
Also Plesk deinstalliert.</p>
<pre class="brush: bash; title: ; notranslate">
apt-get remove psa
apt-get remove psa-api
apt-get remove plesk-base
apt-get remove plesk-skins
</pre>
<p>Plesk wieder installiert:</p>
<pre class="brush: bash; title: ; notranslate">
apt-get install psa
</pre>
<p>Plesk gestartet:</p>
<pre class="brush: bash; title: ; notranslate">
/etc/init.d/psa start
</pre>
<p>Da Plesk nun aus lenny Packeten stammt, stimmte das jetzt auch wieder überein und siehe da:<br />
Ftp tuts wieder!</p>
<p>Doch es gibt immer noch den SSL Error.</p>
<p>Dann das hier gefunden:<br />
<a href="http://kb.parallels.com/en/6096">http://kb.parallels.com/en/6096</a><br />
Aha! libCurl ist inkompatibel und muss downgegradet werden</p>
<p>Mal nachgeschaut:</p>
<pre class="brush: bash; title: ; notranslate">
cd /var/cache/apt/archives/
</pre>
<p>Und die Version ist also noch im Cache.<br />
Dann downgraden:</p>
<pre class="brush: bash; title: ; notranslate">
dpkg -i libcurl3_7.15.5-1etch3_i386.deb
</pre>
<p>Hurra es funktioniert!<br />
Der Key wird geupdatet.</p>
<p>Jetzt sagt da PHP Curl aber nö:</p>
<blockquote><p>
Unable to load dynamic library &#8216;/usr/lib/php5/20060613+lfs/curl.so
</p></blockquote>
<p>Also Curl wieder upgegradet:</p>
<pre class="brush: bash; title: ; notranslate">
apt-get install php5-curl
dpkg -i libcurl3_7.18.2-8lenny3_i386.deb
</pre>
<p>Dann ging auch das wieder.</p>
<p>Wahrscheinlich muss ich dieses Hin und Her jetzt jedes Mal machen wenn Plesk einen neuen Key braucht.<br />
Das ist ein wenig nervig, aber hoffen wir mal auf ein Plesk Update, was das behebt.</p>
<p>Abschließend muss ich noch sagen, dass wegen der Plesk Neuinstallation noch ein paar PHP Einstellungen neu gesetzt werden mußten<br />
wie zB safemode für die cli ausmachen usw, aber nix gravierendes.</p>
<p>Natürlich ohne Gewähr und ja, ich hab natürlich fleißig vorher und mittendrin gebackupt. </p>The post <a href="https://nerdpress.org/2010/02/27/upgrade-von-etch-auf-lenny/">Upgrade von Etch auf Lenny</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>vServer SPF Spamfilter von Plesk und Thunderbird</title>
		<link>https://nerdpress.org/2009/11/19/vserver-spf-spamfilter-von-plesk-und-thunderbird/</link>
		
		<dc:creator><![CDATA[Ivo Bathke]]></dc:creator>
		<pubDate>Thu, 19 Nov 2009 19:01:07 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[SPF]]></category>
		<category><![CDATA[Thunderbird]]></category>
		<category><![CDATA[vServer]]></category>
		<guid isPermaLink="false">https://nerdpress.org/?p=589</guid>

					<description><![CDATA[<p>Kauft man einen vServer kommt in der Grundausstattung erstmal viel Spam ungefiltert durch, es sei denn man tut was dagegen. Alles umleiten auf Gmail ist eine Lösung, aber Google muss nicht alle meine Mails haben, daher mal schauen was Plesk einem so bietet. Unter Server -&#62; Mail gibt es eine &#8220;SPF spam protection&#8221;, also die &#8230; </p>
<p class="link-more"><a href="https://nerdpress.org/2009/11/19/vserver-spf-spamfilter-von-plesk-und-thunderbird/" class="more-link">Continue reading<span class="screen-reader-text"> "vServer SPF Spamfilter von Plesk und Thunderbird"</span></a></p>
The post <a href="https://nerdpress.org/2009/11/19/vserver-spf-spamfilter-von-plesk-und-thunderbird/">vServer SPF Spamfilter von Plesk und Thunderbird</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></description>
										<content:encoded><![CDATA[<p>Kauft man einen vServer kommt in der Grundausstattung erstmal viel Spam ungefiltert durch, es sei denn man tut was dagegen.<br />
Alles umleiten auf Gmail ist eine Lösung, aber Google muss nicht alle meine Mails haben, daher mal schauen was Plesk einem so bietet.</p>
<p>Unter Server -&gt; Mail gibt es eine &#8220;SPF spam protection&#8221;, also die mal ausprobiert:<br />
&#8211; SPF Filter angeschaltet</p>
<p><img decoding="async" class="alignnone size-medium wp-image-590" title="plesk mail einstellung" src="https://nerdpress.org/wp-content/uploads/2009/11/pleskmail-300x75.png" alt="pleskmail" width="432" height="107" /><br />
&#8211; folgende Einstellungen gemacht:<br />
<em>SPF checking Mode: Only create Received-SPF headers, never block</em><br />
(war doch etwas mißtrauisch, deswegen erstmal gucken was dabei raus kommt)<br />
Nun werden die Mails mit einem zusätzlichem Header ausgestattet, den man local dann filtern kann.<br />
Dazu mehr <a href="http://www.open-spf.org/SPF_Received_Header/" target="_blank" rel="noopener">hier</a><br />
&#8211; <em>SPF local rules: include:spf.trusted-forwarder.org</em><br />
&#8211;<em> SPF guess rules: a/24 mx/24 ptr</em><br />
Alles von hier übernommen: <a href="http://www.saout.de/misc/spf/" target="_blank" rel="noopener">http://www.saout.de/misc/spf/</a></p>
<p>&#8230; und gespeichert</p>
<p><span id="more-589"></span></p>
<p>Dann einen Filter für den Thunderbird gemacht um die vermeintlichen Spam Mails direkt in den Junk Ordner zu verschieben.<br />
Dazu muss man den neuen Header Thunderbird beibringen, das geht über die -Customize- Option.<br />
Filter gesetzt auf Received-SPF: fail<br />
und fertig</p>
<p><img decoding="async" class="alignnone size-medium wp-image-592" title="tb_filter" src="https://nerdpress.org/wp-content/uploads/2009/11/tb_filter1-300x208.png" alt="tb_filter" width="404" height="280" /></p>
<p><img decoding="async" class="alignnone size-medium wp-image-593" title="spf_fail" src="https://nerdpress.org/wp-content/uploads/2009/11/spf_fail-300x205.png" alt="spf_fail" width="393" height="268" /></p>
<p>Resultat ist jetzt nicht berauschend: grob geschätzt von 100 mails gehen damit 10 in den Junk Ordner.<br />
Nicht optimal aber immerhin schonmal ein bißchen besser für relativ wenig Aufwand.</p>
<p>Wenn da jemand noch ein Tip hat, immer her damit.</p>The post <a href="https://nerdpress.org/2009/11/19/vserver-spf-spamfilter-von-plesk-und-thunderbird/">vServer SPF Spamfilter von Plesk und Thunderbird</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
