<?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>Lubico Technologie Blog</title>
	<atom:link href="http://blog.lubico.biz/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lubico.biz</link>
	<description>IT Consulting, Entwicklung &#38; Design</description>
	<lastBuildDate>Mon, 26 Sep 2011 09:14:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>PHP vs. Django</title>
		<link>http://blog.lubico.biz/2011/09/english-php-vs-django/</link>
		<comments>http://blog.lubico.biz/2011/09/english-php-vs-django/#comments</comments>
		<pubDate>Sun, 25 Sep 2011 13:00:19 +0000</pubDate>
		<dc:creator>sas</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Benchmark]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.lubico.biz/?p=107</guid>
		<description><![CDATA[This week I found an impressive chart on the web that illustrates the power of php frameworks. This benchmark shows how many requests per second a very simple web application can deliver. The test is targeting on the basic overhead of the framework, things like bootstrap initialization etc. This kind of overhead which every request [...]]]></description>
			<content:encoded><![CDATA[<p>This week I found an impressive chart on the web that illustrates the power of php frameworks. <a href="http://www.yiiframework.com/performance/">This benchmark </a>shows how many requests per second a very simple web application can deliver. The test is targeting on the basic overhead of the framework, things like bootstrap initialization etc. This kind of overhead which every request have. So this benchmark is provided by the Framework Yii, and what a surprise, this framework is the best of all in this benchmark.</p>
<p>So far so good. The question that I ask myself was, how fast a django application (based on python 2.7), which also deliver this simple &#8220;hello world&#8221; will be?</p>
<p>I created a very basic simple django 1.3 application for testing the performance. I included this application into the code base from the upon drescriped benchmark application. The whole code is available to my <a href="https://github.com/sassman/django-benchmark">github repository</a> (including the code providing from yii).</p>
<p>Here are the interesting results (Requests per Second):</p>
<p style="text-align: center;"><a href="http://blog.lubico.biz/wp-content/uploads/2011/09/benchmark.png"><img class="aligncenter" title="benchmark" src="http://blog.lubico.biz/wp-content/uploads/2011/09/benchmark.png" alt="PHP Frameworks vs. Django" width="656" height="304" /></a></p>
<p>&nbsp;</p>
<table border="0" frame="VOID" rules="NONE" cellspacing="0">
<colgroup>
<col width="143" />
<col width="215" /></colgroup>
<tbody>
<tr>
<td align="LEFT" valign="BOTTOM" width="143" height="19"><span style="color: #000000;">Framework</span></td>
<td align="LEFT" valign="BOTTOM" width="215"><span style="color: #000000;">[#-Requests/sec] (mean)</span></td>
</tr>
<tr>
<td align="LEFT" valign="BOTTOM" height="19"><span style="color: #000000;">cakephp-1.3.4</span></td>
<td align="RIGHT" valign="BOTTOM"><span style="color: #000000;">30.34</span></td>
</tr>
<tr>
<td align="LEFT" valign="BOTTOM" height="19"><span style="color: #000000;">symfony-1.4.8</span></td>
<td align="RIGHT" valign="BOTTOM"><span style="color: #000000;">45.89</span></td>
</tr>
<tr>
<td align="LEFT" valign="BOTTOM" height="19"><span style="color: #000000;">zend-1.10.8</span></td>
<td align="RIGHT" valign="BOTTOM"><span style="color: #000000;">60.15</span></td>
</tr>
<tr>
<td align="LEFT" valign="BOTTOM" height="19"><span style="color: #000000;">yii-1.1.4</span></td>
<td align="RIGHT" valign="BOTTOM"><span style="color: #000000;">100.48</span></td>
</tr>
<tr>
<td align="LEFT" valign="BOTTOM" height="19"><span style="color: #000000;">codeigniter-1.7.2</span></td>
<td align="RIGHT" valign="BOTTOM"><span style="color: #000000;">143.72</span></td>
</tr>
<tr>
<td align="LEFT" valign="BOTTOM" height="19"><span style="color: #000000;">django-1.3</span></td>
<td align="RIGHT" valign="BOTTOM"><span style="color: #000000;">431.76</span></td>
</tr>
</tbody>
</table>
<p>Operating System: Kubuntu 11.04The testing environment is as follows:</p>
<ul>
<li>Web Server: Apache/2.2.17 (Ubuntu)</li>
<li>PHP: 5.3.5-1ubuntu7.2</li>
<li>CPU: Intel Core2Duo P8600 2.4 GHz</li>
<li>Main Memory: 4GB</li>
<li>Hard Drive: 300GB SATA HDD</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.lubico.biz/2011/09/english-php-vs-django/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP function benchmark</title>
		<link>http://blog.lubico.biz/2011/01/php-function-benchmark/</link>
		<comments>http://blog.lubico.biz/2011/01/php-function-benchmark/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 12:16:32 +0000</pubDate>
		<dc:creator>sas</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.lubico.biz/?p=96</guid>
		<description><![CDATA[If you are not sure which function have the best performance you can look up this at phpbench.com and find the best performance function call. In my case i wanted to kwow how fast are the functions isset() and empty(): the result is they are exactly equal fast.]]></description>
			<content:encoded><![CDATA[<p>If you are not sure which function have the best performance you can look up this at <a href="http://www.phpbench.com/">phpbench.com</a> and find the best performance function call.</p>
<p>In my case i wanted to kwow how fast are the functions isset() and empty(): the result is they are exactly equal fast.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lubico.biz/2011/01/php-function-benchmark/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git branch on shell promt</title>
		<link>http://blog.lubico.biz/2010/10/git-branch-am-shell-promt/</link>
		<comments>http://blog.lubico.biz/2010/10/git-branch-am-shell-promt/#comments</comments>
		<pubDate>Sat, 30 Oct 2010 13:30:51 +0000</pubDate>
		<dc:creator>sas</dc:creator>
				<category><![CDATA[Source Version Control]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://blog.lubico.biz/?p=86</guid>
		<description><![CDATA[to show the git branch on the command promt set the PS1 var in .bashrc or .profile like this:]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.lubico.biz/wp-content/uploads/2010/10/git-promt.png"><img class="size-full wp-image-85" title="git promt" src="http://blog.lubico.biz/wp-content/uploads/2010/10/git-promt.png" alt="Shows the current git branch on the shell promt" width="545" height="120" /></a></p>
<p>
to show the git branch on the command promt set the PS1 var in .bashrc or .profile like this:
</p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="re2">PS1</span>=<span class="st_h">'\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\e[0m\]\[\e[31m\]$(git branch 2&gt;/dev/null|fgrep '</span><span class="co3">\'</span><span class="st_h">'*'</span><span class="co3">\'</span><span class="st_h">'|sed '</span><span class="co3">\'</span><span class="st_h">'s/$/)/;s/^* / (/'</span><span class="co3">\'</span><span class="st_h">')\[\e[0m\]$ '</span></pre></div></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.lubico.biz/2010/10/git-branch-am-shell-promt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CakePHP Deployment</title>
		<link>http://blog.lubico.biz/2010/07/cakephp-deployment/</link>
		<comments>http://blog.lubico.biz/2010/07/cakephp-deployment/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 14:47:54 +0000</pubDate>
		<dc:creator>sas</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[cakeshell]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.lubico.biz/?p=44</guid>
		<description><![CDATA[Intro About the task of deploy a PHP application to a web-server exists a lot of tools and possibilities. The most of these tools are complicated to configure or difficult to use. A very simple and integrated with CakePHP solution for this, i would like to introduce here. Prerequisites CakePHP version 1.3 remote access to [...]]]></description>
			<content:encoded><![CDATA[<h3>Intro</h3>
<p>About the task of deploy a PHP application to a web-server exists a lot of tools and possibilities. The most of these tools are complicated to configure or difficult to use.</p>
<p>A very simple and integrated with CakePHP solution for this, i would like to introduce here.</p>
<h3>Prerequisites</h3>
<ul>
<li>CakePHP version 1.3</li>
<li>remote access to your web server during FTP</li>
<li>a command shell on localhost with configured <a href="http://book.cakephp.org/view/1106/The-CakePHP-Console" target="_blank">cake-shell</a></li>
</ul>
<p>Let&#8217;s start..</p>
<h3>1. Installation</h3>
<p>git://github.com/sassman/deployment_shell.git</p>
<p>put the code to directory &#8220;app/vendors/shells/&#8221;.</p>
<h3>2. Create the configuration</h3>
<h3>2.1 Create the configuration interactive</h3>
<p>like <em>cake bake shell</em> style the configuration can be created interactively.</p>
<pre>cake deploy create_deployment_config
or
cake deploy
</pre>
<h3>2.2 Create the Configuration manually</h3>
<p>/app/config/deployment.php:</p>
<div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="php" style="font-family:monospace;"><span class="kw2">&lt;?php</span>
&nbsp;
<span class="kw2">class</span> AppDeployment <span class="kw2">extends</span> BasicDeployment
<span class="br0">&#123;</span>
    <span class="kw2">var</span> <span class="re0">$default</span> <span class="sy0">=</span> <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span>
	<span class="st_h">'source'</span> <span class="sy0">=&gt;</span> <span class="st_h">'File'</span><span class="sy0">,</span>
	<span class="st_h">'destination'</span> <span class="sy0">=&gt;</span> <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span><span class="st_h">'Ftp'</span> <span class="sy0">=&gt;</span> <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span>
		<span class="st_h">'host'</span>      <span class="sy0">=&gt;</span> <span class="st_h">'yourftp_hostname'</span><span class="sy0">,</span>
           	<span class="st_h">'login'</span>     <span class="sy0">=&gt;</span> <span class="st_h">'username'</span><span class="sy0">,</span>
           	<span class="st_h">'password'</span>  <span class="sy0">=&gt;</span> <span class="st_h">'password'</span><span class="sy0">,</span>
           	<span class="st_h">'port'</span>      <span class="sy0">=&gt;</span> <span class="st_h">'21'</span><span class="sy0">,</span>
           	<span class="st_h">'timeout'</span>   <span class="sy0">=&gt;</span> <span class="st_h">'60'</span><span class="sy0">,</span>
           	<span class="st_h">'path'</span>		<span class="sy0">=&gt;</span> <span class="st_h">'/html/app/beta/your_app'</span>
	<span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">,</span>
       <span class="st_h">'exclusions'</span> <span class="sy0">=&gt;</span> <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span>
       		<span class="st_h">'files/attachments*'</span><span class="sy0">,</span>
       		<span class="st_h">'core.php'</span>
       <span class="br0">&#41;</span>
    <span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp;
    <span class="kw2">var</span> <span class="re0">$live</span> <span class="sy0">=</span> <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span>
	<span class="st_h">'source'</span> <span class="sy0">=&gt;</span> <span class="st_h">'File'</span><span class="sy0">,</span>
	<span class="st_h">'destination'</span> <span class="sy0">=&gt;</span> <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span><span class="st_h">'Ftp'</span> <span class="sy0">=&gt;</span> <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span>
		<span class="st_h">'host'</span>      <span class="sy0">=&gt;</span> <span class="st_h">'your_ftphostname'</span><span class="sy0">,</span>
           	<span class="st_h">'login'</span>     <span class="sy0">=&gt;</span> <span class="st_h">'username'</span><span class="sy0">,</span>
           	<span class="st_h">'password'</span>  <span class="sy0">=&gt;</span> <span class="st_h">'password'</span><span class="sy0">,</span>
           	<span class="st_h">'port'</span>      <span class="sy0">=&gt;</span> <span class="st_h">'21'</span><span class="sy0">,</span>
           	<span class="st_h">'timeout'</span>   <span class="sy0">=&gt;</span> <span class="st_h">'60'</span><span class="sy0">,</span>
           	<span class="st_h">'path'</span>		<span class="sy0">=&gt;</span> <span class="st_h">'/html/apps/your_app'</span>
	<span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">,</span>
       <span class="st_h">'exclusions'</span> <span class="sy0">=&gt;</span> <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span>
       		<span class="st_h">'files/attachments*'</span><span class="sy0">,</span>
       		<span class="st_h">'/cake/'</span><span class="sy0">,</span>
       		<span class="st_h">'core.php'</span>
       <span class="br0">&#41;</span>
    <span class="br0">&#41;</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
&nbsp;
<span class="sy1">?&gt;</span></pre></div></div>
<h3>3. First Run</h3>
<p>take a command line shell and go into your applications &#8220;/app&#8221; folder and type&#8230;</p>
<p>cake deploy</p>
<p>executes the deployment shell with the &#8220;default&#8221; configuration (default configuration descriptor see above).</p>
<p>and</p>
<p>cake deploy live</p>
<p>executes the deployment shell with the &#8220;live&#8221; configuration.</p>
<p>On this way you can provide one or many more of these configuration descriptors and with it many of deployment targets.</p>
<h3>4. Remarks</h3>
<p>The tracking of files witch was uploaded is implemented during a sha1 checksum from the file itself and saved in the context of a deployment descriptor. During this, every deployment descriptor provides it&#8217;s own change/update list of files.</p>
<p>Any Questions? Send me an email.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lubico.biz/2010/07/cakephp-deployment/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>.NET 3.5 SP1 Und Click Once deployment</title>
		<link>http://blog.lubico.biz/2010/06/net-3-5-sp1-und-click-once-deployment/</link>
		<comments>http://blog.lubico.biz/2010/06/net-3-5-sp1-und-click-once-deployment/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 16:30:55 +0000</pubDate>
		<dc:creator>sas</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[ClickOnce]]></category>
		<category><![CDATA[VS2008]]></category>

		<guid isPermaLink="false">http://blog.lubico.biz/?p=48</guid>
		<description><![CDATA[Mit Visual Studio 2008 SP1 ist es leicht möglich eine Anwendung über Click Once bereitzustellen. Desweiteren kann man die erforderlichen Komponenten auswählen, welche der Click Once Installer dann direkt von Microsoft runterläd. Wenn man jedoch die Komponenten (in diesem Fall .Net 3.5 SP1) mit vom  Bereitstellungsort laden lassen möchte, um z. B.  Netzlast zu sparen, [...]]]></description>
			<content:encoded><![CDATA[<p>Mit Visual Studio 2008 SP1 ist es leicht möglich eine Anwendung über Click Once bereitzustellen. Desweiteren kann man die erforderlichen Komponenten auswählen, welche der Click Once Installer dann direkt von Microsoft runterläd.</p>
<p>Wenn man jedoch die Komponenten (in diesem Fall .Net 3.5 SP1) mit vom  Bereitstellungsort laden lassen möchte, um z. B.  Netzlast zu sparen, führt das, in dem Moment wo man &gt;Bereitstellen&lt; drückt, zu einer Reihe von Fehlermeldungen.</p>
<p><a href="http://download.microsoft.com/download/7/F/6/7F61602F-58AC-40D5-92C3-D9647F93E8E0/VS2008SP1Readme.htm" target="_blank">Hier</a> findet man eine lange Liste von Fehlern, welche im VS 2008 SP1 stecken. Unter anderem findet man auch, für das oben beschriebene Problem, unter 2.3.1.1 &#8220;Samesite für das .NET Framework 3.5 SP1-Bootstrapperpaket aktivieren&#8221; eine ausführliche Anleitung um dies zu beheben.</p>
<p>Viel Spaß beim Deployment!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lubico.biz/2010/06/net-3-5-sp1-und-click-once-deployment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mailfunktionalität für lokale PHP Anwendungen unter Linux</title>
		<link>http://blog.lubico.biz/2010/05/mailfunktionalitat-fur-lokale-php-anwendungen-unter-linux/</link>
		<comments>http://blog.lubico.biz/2010/05/mailfunktionalitat-fur-lokale-php-anwendungen-unter-linux/#comments</comments>
		<pubDate>Thu, 13 May 2010 18:17:15 +0000</pubDate>
		<dc:creator>sas</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Kubuntu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://blog.lubico.biz/?p=12</guid>
		<description><![CDATA[Im Entwicklungsprozess einer PHP Anwendung kommt man früher oder später an den Punkt, wo es interessant wird E-Mail-Funktionalität zu integrieren. Denkbar sind Anwendungsbeispiele wie: Anforderung eines neuen Passwortes für den Login oder das automatische Informieren bei Aktionen. Doch zunächst findet die Entwicklung meist auf  lokalen Entwicklungsmaschinen statt,  so wie in diesem Beispiel ein Linux Rechner [...]]]></description>
			<content:encoded><![CDATA[<p>Im Entwicklungsprozess einer PHP Anwendung kommt man früher oder später an den Punkt, wo es interessant wird E-Mail-Funktionalität zu integrieren. Denkbar sind Anwendungsbeispiele wie: Anforderung eines neuen Passwortes für den Login oder das automatische Informieren bei Aktionen. Doch zunächst findet die Entwicklung meist auf  lokalen Entwicklungsmaschinen statt,  so wie in diesem Beispiel ein Linux Rechner (Kubuntu 10.04).  Das Problem was an dieser Stelle auftaucht ist klar, per default ist PHP so eingerichtet, dass es die lokale Mailfunktion des Betriebssystemes nutzt, konkret heißt dies der Postfix-Dienst muss die E-Mails ausliefern, was er zunächst im besten Fall auch nur lokal macht.</p>
<p>Also ist die Frage: Wie bekomme ich Postfix dazu mit meinem &#8220;öffentlichen&#8221; E-Mail Account, Mails zu versenden. Dies wird im Folgenden mit anschaulichen Erklärungen beschrieben.<br />
<div id="wpshdo_3" class="wp-synhighlighter-outer"><div id="wpshdt_3" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_3"></a><a id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_3" onClick="javascript:wpsh_code(3)" title="Show code only"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_3" onClick="javascript:wpsh_print(3)" title="Print code"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> postfix</pre></div></div><br />
Die Einstelldialoge werden mit folgenden Werten belegt:</p>
<ul>
<li>Internet mit Smarthost</li>
<li>Ihrem Rechnernamen (default vorausgefüllt)</li>
<li>die Adresse des SMTP Servers ihres E-Mailproviders</li>
</ul>
<p>Eine Nachbearbeitung der /etc/postfix/main.cf ist nötig, Folgendes ist  hinzuzufügen<br />
<div id="wpshdo_4" class="wp-synhighlighter-outer"><div id="wpshdt_4" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_4"></a><a id="wpshat_4" class="wp-synhighlighter-title" href="#codesyntax_4"  onClick="javascript:wpsh_toggleBlock(4)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_4" onClick="javascript:wpsh_code(4)" title="Show code only"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_4" onClick="javascript:wpsh_print(4)" title="Print code"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_4" class="wp-synhighlighter-inner" style="display: block;"><pre class="cfm" style="font-family:monospace;"># noplaintext weglassen, wenn Passwörter im
# Klartext übertragen werden sollen
# (nicht empfohlen)
# smtp_sasl_security_options = noplaintext noanonymous
smtp_sasl_security_options = noanonymous
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
&nbsp;
# lokale sender (username) sollen
# auf reale adressen gemapt werden
sender_canonical_maps = hash:/etc/postfix/sender_canonical</pre></div></div><br />
Nun sind die entsprechenden Dateien sasl_password und sender_canonical vorzubereiten.<br />
In der Datei /etc/postfix/sasl_password werden der Server, Login und das Passwort angegeben, mit dem sich Postfix bei Ihrem E-Mailprovider authentifiziert.<br />
<div id="wpshdo_5" class="wp-synhighlighter-outer"><div id="wpshdt_5" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_5"></a><a id="wpshat_5" class="wp-synhighlighter-title" href="#codesyntax_5"  onClick="javascript:wpsh_toggleBlock(5)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_5" onClick="javascript:wpsh_code(5)" title="Show code only"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_5" onClick="javascript:wpsh_print(5)" title="Print code"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_5" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">smtp.IhreDomain.de MailNutzername:PasswortDesNutzers</pre></div></div></p>
<p>In der Datei /etc/postfix/sender_canonical werden die System-Nutzer den jeweiligen Mailadressen zugewiesen. So z.B. der www-data Nutzer (unter dem Apache2 läuft) auf eine Mailadresse Ihrer Wahl.</p>
<div id="wpshdo_6" class="wp-synhighlighter-outer"><div id="wpshdt_6" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_6"></a><a id="wpshat_6" class="wp-synhighlighter-title" href="#codesyntax_6"  onClick="javascript:wpsh_toggleBlock(6)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_6" onClick="javascript:wpsh_code(6)" title="Show code only"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_6" onClick="javascript:wpsh_print(6)" title="Print code"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_6" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">www-data your-mail-adress<span class="sy0">@</span>yourmailprovider.de</pre></div></div>

<div id="wpshdo_7" class="wp-synhighlighter-outer"><div id="wpshdt_7" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_7"></a><a id="wpshat_7" class="wp-synhighlighter-title" href="#codesyntax_7"  onClick="javascript:wpsh_toggleBlock(7)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_7" onClick="javascript:wpsh_code(7)" title="Show code only"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_7" onClick="javascript:wpsh_print(7)" title="Print code"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://blog.lubico.biz/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_7" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> postmap <span class="sy0">/</span>etc<span class="sy0">/</span>postfix<span class="sy0">/</span>sasl_password
<span class="kw2">sudo</span> postmap <span class="sy0">/</span>etc<span class="sy0">/</span>postfix<span class="sy0">/</span>sender_canonical
<span class="kw2">sudo</span> service postfix reload</pre></div></div>
<p>Der postmap Befehl erstellt eine für Postfix lesbare .db Datei.</pre>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.lubico.biz/2010/05/mailfunktionalitat-fur-lokale-php-anwendungen-unter-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KMail und die Task-Bar</title>
		<link>http://blog.lubico.biz/2010/04/kmail-und-die-task-bar/</link>
		<comments>http://blog.lubico.biz/2010/04/kmail-und-die-task-bar/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 11:18:20 +0000</pubDate>
		<dc:creator>sas</dc:creator>
				<category><![CDATA[PIM]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[KDE4]]></category>
		<category><![CDATA[KMail]]></category>
		<category><![CDATA[Kubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.lubico.biz/?p=4</guid>
		<description><![CDATA[Früher (KDE 3) war es Standard, dass KMail sich beim Öffnen in die Task-Bar (System-Tray) &#8220;klinkte&#8221;, so dass beim schließen, die Anwendung in die Task-Bar minimiert wurde. Aber auch heute (KDE4) ist dies Problemlos möglich, nur etwas versteckt zu finden: Einstellungen-&#62;Kmail einrichten-&#62; Erscheinungsbild-&#62;Systemabschnitt der Kontrolleiste Dort dann den Haken bei &#8220;Anzeige im Systemabschnitt der Kontrolleiste&#8221; setzen [...]]]></description>
			<content:encoded><![CDATA[<p>Früher (KDE 3) war es Standard, dass KMail sich beim Öffnen in die Task-Bar (System-Tray) &#8220;klinkte&#8221;, so dass beim schließen, die Anwendung in die Task-Bar minimiert wurde.</p>
<p>Aber auch heute (KDE4) ist dies Problemlos möglich, nur etwas versteckt zu finden:</p>
<p>Einstellungen-&gt;Kmail einrichten-&gt; Erscheinungsbild-&gt;Systemabschnitt der Kontrolleiste</p>
<p>Dort dann den Haken bei &#8220;Anzeige im Systemabschnitt der Kontrolleiste&#8221; setzen und darunter &#8220;Kmail immer in der Kontrollleiste anzeigen&#8221; selektieren.</p>
<p>So einfach war das!</p>
<p>Kontext: KDE 4.4.2 | KMail 1.13.2</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lubico.biz/2010/04/kmail-und-die-task-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

