<?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"
	>

<channel>
	<title>Dotdeb</title>
	<atom:link href="http://www.dotdeb.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dotdeb.org</link>
	<description>The repository for Debian-based LAMP servers</description>
	<pubDate>Mon, 13 Oct 2008 15:32:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Calculate statistics from your Qmail logfiles using Awstats</title>
		<link>http://www.dotdeb.org/2008/10/13/calculate-statistics-from-your-qmail-logfiles-using-awstats/</link>
		<comments>http://www.dotdeb.org/2008/10/13/calculate-statistics-from-your-qmail-logfiles-using-awstats/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 15:06:35 +0000</pubDate>
		<dc:creator>Guillaume Plessis</dc:creator>
		
		<category><![CDATA[Documentation]]></category>

		<category><![CDATA[awstats]]></category>

		<category><![CDATA[qmail]]></category>

		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://www.dotdeb.org/?p=141</guid>
		<description><![CDATA[Awstats is a commonly used program to calculate web statistics from your webserver logfiles. It can detect useragents, referers, unique visitors&#8230; But one of its another feature is to build usage reports from your mail server&#8217;s logfiles, as seen on this demo.
Here is how to quickly configure Awstats to take profit of your Qmail log [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://awstats.sourceforge.net/" onclick="javascript:pageTracker._trackPageview('/outbound/article/awstats.sourceforge.net');">Awstats</a> is a commonly used program to calculate web statistics from your webserver logfiles. It can detect useragents, referers, unique visitors&#8230; But one of its another feature is to build usage reports from your mail server&#8217;s logfiles, as seen on <a href="http://awstats.sourceforge.net/awstats.mail.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/awstats.sourceforge.net');">this demo</a>.</p>
<p>Here is how to quickly configure Awstats to take profit of your Qmail log files&#8230;</p>
<p> </p>
<p style="text-align: center;"><img class="size-medium wp-image-146 aligncenter" title="mailboxes" src="http://www.dotdeb.org/wp-content/uploads/2008/10/956430_23580482-300x200.jpg" alt="mailboxes" width="300" height="200" /></p>
<p> </p>
<p><span id="more-141"></span>First of all, you need to convert rour <em>/var/log/mail.log</em> file to make it readable to Awstats (supposing you&#8217;re using Qmail and Vpopmail from Dotdeb and Awstats from Debian&#8217;s official repositories).</p>
<p>Hopefully, a tool is provided with the awstats package : <em>/usr/share/doc/awstats/examples/maillogconvert.pl</em></p>
<p>You can take a look at its output by executing the following command :</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>doc<span style="color: #000000; font-weight: bold;">/</span>awstats<span style="color: #000000; font-weight: bold;">/</span>examples<span style="color: #000000; font-weight: bold;">/</span>maillogconvert.pl vadmin <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>mail.log </pre></div></div>

<p>(<em>vadmin</em> is here to consider the Vpopmail&#8217;s virtualdomain translation)</p>
<p>Great! We now just have to configure awstats to produce useful reports. Here is a sample configuration file (name it <em>/etc/awstats/awstats.mail.conf</em>, for example)&#8230; Please note the space <strong>after</strong> the pipe :</p>

<div class="wp_syntax"><div class="code"><pre class="ini ini" style="font-family:monospace;"><span style="color: #000099;">LogFile</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #933;">&quot;/usr/share/doc/awstats/examples/maillogconvert.pl vadmin /var/log/mail.log | &quot;</span>
<span style="color: #000099;">LogType</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">M</span>
<span style="color: #000099;">LogFormat</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #933;">&quot;%time2 %email %email_r %host %host_r %method %url %code %bytesd&quot;</span>
<span style="color: #000099;">SiteDomain</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #933;">&quot;localhost&quot;</span>
<span style="color: #000099;">HostAliases</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #933;">&quot;127.0.0.1 @/etc/qmail/rcpthosts&quot;</span>
<span style="color: #000099;">LevelForBrowsersDetection</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0 # 0 disables Browsers detection.</span>
<span style="color: #000099;">LevelForOSDetection</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0 # 0 disables OS detection.</span>
<span style="color: #000099;">LevelForRefererAnalyze</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0 # 0 disables Origin detection.</span>
<span style="color: #000099;">LevelForRobotsDetection</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0 # 0 disables Robots detection.</span>
<span style="color: #000099;">LevelForSearchEnginesDetection</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0 # 0 disables Search engines detection.</span>
<span style="color: #000099;">LevelForKeywordsDetection</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0 # 0 disables Keyphrases/Keywords detection.</span>
<span style="color: #000099;">LevelForFileTypesDetection</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0 # 0 disables File types detection.</span>
<span style="color: #000099;">ShowSummary</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">HB</span>
<span style="color: #000099;">ShowMonthStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">HB</span>
<span style="color: #000099;">ShowDaysOfMonthStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">HB</span>
<span style="color: #000099;">ShowDaysOfWeekStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">HB</span>
<span style="color: #000099;">ShowHoursStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">HB</span>
<span style="color: #000099;">ShowDomainsStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0</span>
<span style="color: #000099;">ShowHostsStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">HBL</span>
<span style="color: #000099;">ShowRobotsStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0</span>
<span style="color: #000099;">ShowEMailSenders</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">HBML</span>
<span style="color: #000099;">ShowEMailReceivers</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">HBML</span>
<span style="color: #000099;">ShowSessionsStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0</span>
<span style="color: #000099;">ShowPagesStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0</span>
<span style="color: #000099;">ShowFileTypesStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0</span>
<span style="color: #000099;">ShowOSStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0</span>
<span style="color: #000099;">ShowBrowsersStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0</span>
<span style="color: #000099;">ShowOriginStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0</span>
<span style="color: #000099;">ShowKeyphrasesStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0</span>
<span style="color: #000099;">ShowKeywordsStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0</span>
<span style="color: #000099;">ShowMiscStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0</span>
<span style="color: #000099;">ShowHTTPErrorsStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0</span>
<span style="color: #000099;">ShowSMTPErrorsStats</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">1</span></pre></div></div>

<p>Now, just add this line to /etc/cron.d/awstats to compute your logfiles every 10 minutes:</p>
<pre>0,10,20,30,40,50 * * * * root [ -x /usr/lib/cgi-bin/awstats.pl ] &amp;&amp; /usr/lib/cgi-bin/awstats.pl -config=mail -update &amp;&gt;/dev/null</pre>
<p>(Let&#8217;s enjoy a 10-minutes break or brew a good coffee, waiting for the stats to be calculated&#8230;)</p>
<p>Your mailserver&#8217;s statistics will shortly be available at this URL : <a href="http://yourserver/cgi-bin/awstats.pl?config=mail" onclick="javascript:pageTracker._trackPageview('/outbound/article/yourserver');">http://yourserver/cgi-bin/awstats.pl?config=mail</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2008/10/13/calculate-statistics-from-your-qmail-logfiles-using-awstats/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Vpopmail 5.4.25 updated</title>
		<link>http://www.dotdeb.org/2008/10/09/vpopmail-5425-updated/</link>
		<comments>http://www.dotdeb.org/2008/10/09/vpopmail-5425-updated/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 12:16:21 +0000</pubDate>
		<dc:creator>Guillaume Plessis</dc:creator>
		
		<category><![CDATA[Mail]]></category>

		<category><![CDATA[release]]></category>

		<category><![CDATA[vpopmail]]></category>

		<guid isPermaLink="false">http://www.dotdeb.org/?p=138</guid>
		<description><![CDATA[The Vpopmail 5.4.25 packages has been updated to fix a problem with passwords longer than 8 characters.
The /etc/init.d/vpopmail script has been updated to launch simultaneously :

the (enabled by default) POP3 server
the (disabled by default) POP3-SSL server
the (disabled by default) Vpopmaild server

depending on the settings in /etc/vpopmail/options.
]]></description>
			<content:encoded><![CDATA[<p>The Vpopmail 5.4.25 packages has been updated to fix a <a href="http://qmail.jms1.net/vpopmail/#passlen" onclick="javascript:pageTracker._trackPageview('/outbound/article/qmail.jms1.net');">problem with passwords longer than 8 characters</a>.</p>
<p>The <em>/etc/init.d/vpopmail</em> script has been updated to launch simultaneously :</p>
<ul>
<li>the (enabled by default) POP3 server</li>
<li>the (disabled by default) POP3-SSL server</li>
<li>the (disabled by default) <a href="http://www.qmailwiki.org/index.php/Vpopmaild" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.qmailwiki.org');">Vpopmaild</a> server</li>
</ul>
<p>depending on the settings in <em>/etc/vpopmail/options</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2008/10/09/vpopmail-5425-updated/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Website problem</title>
		<link>http://www.dotdeb.org/2008/10/06/website-problem/</link>
		<comments>http://www.dotdeb.org/2008/10/06/website-problem/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 09:22:35 +0000</pubDate>
		<dc:creator>Guillaume Plessis</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[dotdeb]]></category>

		<guid isPermaLink="false">http://www.dotdeb.org/?p=136</guid>
		<description><![CDATA[On the previous week-end, Dotdeb&#8217;s website went down due to configuation problems. Sorry for that, it is now fixed.
]]></description>
			<content:encoded><![CDATA[<p>On the previous week-end, Dotdeb&#8217;s website went down due to configuation problems. Sorry for that, it is now fixed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2008/10/06/website-problem/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Qmailadmin 1.2.11 updated</title>
		<link>http://www.dotdeb.org/2008/09/29/qmailadmin-1211-updated/</link>
		<comments>http://www.dotdeb.org/2008/09/29/qmailadmin-1211-updated/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 11:59:05 +0000</pubDate>
		<dc:creator>Guillaume Plessis</dc:creator>
		
		<category><![CDATA[Mail]]></category>

		<category><![CDATA[qmail]]></category>

		<category><![CDATA[release]]></category>

		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.dotdeb.org/?p=133</guid>
		<description><![CDATA[I just updated Qmailadmin 1.2.11 for Etch amd64/i386 to include some changes :

instead of a checkbox to enable/disable spam filtering on pop accounts, there is now a list to chose what to do (no filtering, marking spams, deleting spams, learn spam, learn ham). This allow anyone to easily train your bayesian filters.
Spamassassin is now recommanded [...]]]></description>
			<content:encoded><![CDATA[<p>I just updated Qmailadmin 1.2.11 for Etch amd64/i386 to include some changes :</p>
<ul>
<li>instead of a checkbox to enable/disable spam filtering on pop accounts, there is now a list to chose what to do (no filtering, marking spams, deleting spams, learn spam, learn ham). This allow anyone to easily train your bayesian filters.</li>
<li>Spamassassin is now recommanded and will replace bogofilter in a near future</li>
<li>Clamassassin replaces clamfilter.pl due to performance issues. Please DO update the <em>/etc/procmailrc-*</em> files during the upgrade to ensure virus are scanned.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2008/09/29/qmailadmin-1211-updated/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to package PHP extensions by yourself</title>
		<link>http://www.dotdeb.org/2008/09/25/how-to-package-php-extensions-by-yourself/</link>
		<comments>http://www.dotdeb.org/2008/09/25/how-to-package-php-extensions-by-yourself/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 12:52:56 +0000</pubDate>
		<dc:creator>Guillaume Plessis</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[debian]]></category>

		<category><![CDATA[extension]]></category>

		<category><![CDATA[package]]></category>

		<category><![CDATA[pecl]]></category>

		<guid isPermaLink="false">http://www.dotdeb.org/?p=116</guid>
		<description><![CDATA[I often receive emails telling me that Dotdeb is a great tool, but that some useful packages are missing, such as some PECL extensions. I wish I could maintain many and many packages, but I don&#8217;t think it&#8217;s a good idea for the Dotdeb&#8217;s overall quality and for my free time  Sorry for that.
Then, this article [...]]]></description>
			<content:encoded><![CDATA[<p>I often receive emails telling me that Dotdeb is a great tool, but that some useful packages are missing, such as some <a href="http://pecl.php.net/" onclick="javascript:pageTracker._trackPageview('/outbound/article/pecl.php.net');">PECL</a> extensions. I wish I could maintain many and many packages, but I don&#8217;t think it&#8217;s a good idea for the Dotdeb&#8217;s overall quality and for my free time <img src='http://www.dotdeb.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> Sorry for that.</p>
<p>Then, this article will show you how to build packages from your favorite PECL extensions in a strict Debian way, using the <a href="http://packages.debian.org/stable/dh-make-php" onclick="javascript:pageTracker._trackPageview('/outbound/article/packages.debian.org');">dh-make-php</a> package.</p>
<p><span id="more-116"></span>Imagine we want to package the <a href="http://pecl.php.net/package/Fileinfo" onclick="javascript:pageTracker._trackPageview('/outbound/article/pecl.php.net');">Fileinfo</a> extension for PHP5&#8230;</p>
<p>First, install all the needed packages (libmagic-dev is only needed here to build Fileinfo) :</p>
<pre><strong># apt-get install dh-make-php php5-dev build-essential libmagic-dev</strong></pre>
<p>Then, export some needed environment variables, download the package</p>
<pre><strong># export DEBFULLNAME="Guillaume Plessis"
# export DEBEMAIL="gui@php.net"
# pecl download fileinfo</strong>
downloading Fileinfo-1.0.4.tgz ...
Starting to download Fileinfo-1.0.4.tgz (5,835 bytes)
.....done: 5,835 bytes
File /tmp/Fileinfo-1.0.4.tgz downloaded</pre>
<p>Ok, let&#8217;s summon the magical <em>dh-make-pecl</em> command with the appropriate arguments :</p>
<pre><strong># dh-make-pecl --only 5 Fileinfo-1.0.4.tgz</strong>
Creating debian source package: php-fileinfo-1.0.4
Upstream is: Ilia Alshanetsky
Guessing Maintainer: Guillaume Plessis</pre>
<p>No error message&#8230; Great! <em>dh-make-pecl</em> did its job, e.g. unarchived the tarball and created the <em>php-fileinfo-1.0.4/debian/</em> subdirectory that contains all the packaging stuff.<br />
&#8220;<em>&#8211;only 5</em>&#8221; restricts the building process to PHP5 packages (PHP4 is obsolete!)</p>
<p>Let&#8217;s build the package!</p>
<pre><strong># cd php-fileinfo-1.0.4/
# ./debian/rules binary</strong>
xsltproc --nonet --novalid debian/changelog.xsl package.xml &gt; debian/Changelog
touch build-stamp
dh_testdir
...
dh_md5sums
dh_builddeb
dpkg-deb: building package `php5-fileinfo' in `../php5-fileinfo_1.0.4-1_i386.deb'.</pre>
<p>That&#8217;s it! Let&#8217;s take a look at the content of the package&#8230;</p>
<pre><strong># dpkg -c ../php5-fileinfo_1.0.4-1_i386.deb</strong>
drwxr-xr-x root/root         0 2008-09-20 10:10 ./
drwxr-xr-x root/root         0 2008-09-20 10:10 ./usr/
drwxr-xr-x root/root         0 2008-09-20 10:10 ./usr/lib/
drwxr-xr-x root/root         0 2008-09-20 10:10 ./usr/lib/php5/
drwxr-xr-x root/root         0 2008-09-20 10:10 ./usr/lib/php5/20060613+lfs/
-rw-r--r-- root/root     10296 2008-09-20 10:10 ./usr/lib/php5/20060613+lfs/fileinfo.so
drwxr-xr-x root/root         0 2008-09-20 10:10 ./usr/share/
drwxr-xr-x root/root         0 2008-09-20 10:10 ./usr/share/doc/
drwxr-xr-x root/root         0 2008-09-20 10:10 ./usr/share/doc/php5-fileinfo/
-rw-r--r-- root/root       202 2008-09-20 10:09 ./usr/share/doc/php5-fileinfo/README.Debian
-rw-r--r-- root/root        26 2004-02-13 01:06 ./usr/share/doc/php5-fileinfo/CREDITS
-rw-r--r-- root/root      3466 2008-09-20 10:09 ./usr/share/doc/php5-fileinfo/copyright
-rw-r--r-- root/root       159 2008-09-20 10:09 ./usr/share/doc/php5-fileinfo/changelog.Debian.gz
-rw-r--r-- root/root       865 2005-11-24 23:07 ./usr/share/doc/php5-fileinfo/fileinfo.php
-rw-r--r-- root/root       149 2008-09-20 10:10 ./usr/share/doc/php5-fileinfo/changelog.gz</pre>
<p>and its metadata :</p>
<pre><strong># dpkg -I ../php5-fileinfo_1.0.4-1_i386.deb</strong>
 new debian package, version 2.0.
 size 12740 bytes: control archive= 4848 bytes.
     940 bytes,    31 lines   *  config               #!/bin/sh
     607 bytes,    20 lines      control
     522 bytes,     7 lines      md5sums
    1218 bytes,    58 lines   *  postinst             #!/bin/sh
     206 bytes,     8 lines   *  postrm               #!/bin/sh
    1773 bytes,    63 lines   *  prerm                #!/bin/sh
    8758 bytes,    67 lines      templates
 Package: php5-fileinfo
 Version: 1.0.4-1
 Section: web
 Priority: optional
 Architecture: i386
 Depends: libc6 (&gt;= 2.3.6-6), libmagic1, debconf (&gt;= 0.5) | debconf-2.0, php5 | php5-cli
 Installed-Size: 100
 Maintainer: Guillaume Plessis
 Source: php-fileinfo
 Description: Fileinfo module for PHP 5
  libmagic bindings
  .
  This extension allows retrieval of information regarding vast
  majority of file.
  This information may include dimensions, quality, length etc...
  .
  Additionally it can also be used to retrieve the mime type for a
  particular
  file and for text files proper language encoding.
  .</pre>
<p>Great job! Now install the package and enjoy&#8230;</p>
<p>For more information and specific needs, take a look at &#8220;<em>dh-make-pecl</em>&#8221; and &#8220;<em>man dh-make-pecl</em>&#8220;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2008/09/25/how-to-package-php-extensions-by-yourself/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Vpopmail 5.4.25 is now packaged</title>
		<link>http://www.dotdeb.org/2008/09/24/vpopmail-5425-is-now-packaged/</link>
		<comments>http://www.dotdeb.org/2008/09/24/vpopmail-5425-is-now-packaged/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 21:55:32 +0000</pubDate>
		<dc:creator>Guillaume Plessis</dc:creator>
		
		<category><![CDATA[Mail]]></category>

		<category><![CDATA[release]]></category>

		<category><![CDATA[vpopmail]]></category>

		<guid isPermaLink="false">http://www.dotdeb.org/?p=126</guid>
		<description><![CDATA[Vpopmail 5.4.25 has been packaged for Etch amd64/i386 to fix some annoying bugs. It&#8217;s safe and recommanded to upgrade your servers to this version.
For more information, read the official Changelog.
]]></description>
			<content:encoded><![CDATA[<p>Vpopmail 5.4.25 has been packaged for Etch amd64/i386 to fix some annoying bugs. It&#8217;s safe and recommanded to upgrade your servers to this version.</p>
<p>For more information, read the official <a href="http://vpopmail.cvs.sourceforge.net/vpopmail/vpopmail/ChangeLog?revision=1.179&amp;view=markup" onclick="javascript:pageTracker._trackPageview('/outbound/article/vpopmail.cvs.sourceforge.net');">Changelog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2008/09/24/vpopmail-5425-is-now-packaged/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Today is&#8230;</title>
		<link>http://www.dotdeb.org/2008/09/24/today-is/</link>
		<comments>http://www.dotdeb.org/2008/09/24/today-is/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 12:46:58 +0000</pubDate>
		<dc:creator>Guillaume Plessis</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[petition]]></category>

		<category><![CDATA[software patents]]></category>

		<guid isPermaLink="false">http://www.dotdeb.org/?p=123</guid>
		<description><![CDATA[&#8230;World Day Against Software Patents

 
You can : 

read the press announce
sign or comment the petition
spread the word
so many other things to fight those absurd patents&#8230;

]]></description>
			<content:encoded><![CDATA[<p>&#8230;<a href="http://stopsoftwarepatents.org/" onclick="javascript:pageTracker._trackPageview('/outbound/article/stopsoftwarepatents.org');">World Day Against Software Patents</a></p>
<p><a href="http://stopsoftwarepatents.org/" onclick="javascript:pageTracker._trackPageview('/outbound/article/stopsoftwarepatents.org');"><img class="aligncenter size-full wp-image-128" title="World Day against software patents" src="http://www.dotdeb.org/wp-content/uploads/2008/09/logo2.png" alt="" width="468" height="96" /></a></p>
<p style="text-align: center;"> </p>
<p>You can : </p>
<ul>
<li>read the <a href="http://stopsoftwarepatents.org/pr:september-24-is-world-day-against-software-patents" onclick="javascript:pageTracker._trackPageview('/outbound/article/stopsoftwarepatents.org');">press announce</a></li>
<li>sign or comment <a href="http://stopsoftwarepatents.org/petition" onclick="javascript:pageTracker._trackPageview('/outbound/article/stopsoftwarepatents.org');">the petition</a></li>
<li>spread the word</li>
<li>so many other things to fight those absurd patents&#8230;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2008/09/24/today-is/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ClamAV removed from Dotdeb</title>
		<link>http://www.dotdeb.org/2008/09/22/clamav-removed-from-dotdeb/</link>
		<comments>http://www.dotdeb.org/2008/09/22/clamav-removed-from-dotdeb/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 08:50:36 +0000</pubDate>
		<dc:creator>Guillaume Plessis</dc:creator>
		
		<category><![CDATA[Mail]]></category>

		<category><![CDATA[clamav]]></category>

		<category><![CDATA[debian]]></category>

		<category><![CDATA[dotdeb]]></category>

		<guid isPermaLink="false">http://www.dotdeb.org/?p=121</guid>
		<description><![CDATA[FYI, ClamAV has been removed from Dotdeb, since it is more actively maintained on Debian Volatile.
Volatile is now part of the Debian project and will be activated by default on Debian Lenny. Its goal is to provide up-to-date packages of some specific pieces of software (ClamAV, Spamassassin for example). Please use it instead of Dotdeb [...]]]></description>
			<content:encoded><![CDATA[<p>FYI, <a href="http://www.clamav.net/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.clamav.net');">ClamAV</a> has been removed from Dotdeb, since it is more actively maintained on <a href="http://www.debian.org/volatile/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.debian.org');">Debian Volatile</a>.</p>
<p>Volatile is now part of the Debian project and will be activated by default on Debian Lenny. Its goal is to provide up-to-date packages of some specific pieces of software (ClamAV, Spamassassin for example). Please use it instead of Dotdeb for your mail-filtering packages.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2008/09/22/clamav-removed-from-dotdeb/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to bind your Qmail server to a specific IP address</title>
		<link>http://www.dotdeb.org/2008/08/27/how-to-bind-your-qmail-server-to-a-specific-ip-address/</link>
		<comments>http://www.dotdeb.org/2008/08/27/how-to-bind-your-qmail-server-to-a-specific-ip-address/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 13:04:43 +0000</pubDate>
		<dc:creator>Guillaume Plessis</dc:creator>
		
		<category><![CDATA[Documentation]]></category>

		<category><![CDATA[qmail]]></category>

		<guid isPermaLink="false">http://www.dotdeb.org/?p=106</guid>
		<description><![CDATA[Just a little tip :
By default, Qmail listens to all the available IP address on the machine (0.0.0.0). It is possible to change this behaviour to bind Qmail to a specific IP.
We suppose that you are using Qmail from Dotdeb and launching it using the provided init script, /etc/init.d/qmail. Just edit it and change these [...]]]></description>
			<content:encoded><![CDATA[<p>Just a little tip :</p>
<p>By default, Qmail listens to all the available IP address on the machine (0.0.0.0). It is possible to change this behaviour to bind Qmail to a specific IP.</p>
<p>We suppose that you are using Qmail from Dotdeb and launching it using the provided init script, <em>/etc/init.d/qmail</em>. Just edit it and change these lines :</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;">          <span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;start-stop-daemon --start --quiet --user qmaild <span style="color: #000099; font-weight: bold;">\</span>
          --pidfile /var/run/tcpserver_smtpd.pid --make-pidfile <span style="color: #000099; font-weight: bold;">\</span>
          --exec /usr/bin/tcpserver -- -H -P -R -l 0 <span style="color: #000099; font-weight: bold;">\</span>
          -u `id -u qmaild` -g `id -g nobody` -x /etc/tcp.smtp.cdb 0 smtp <span style="color: #000099; font-weight: bold;">\</span>
          $rblsmtpd /usr/sbin/qmail-smtpd 2&gt;&amp;1 <span style="color: #000099; font-weight: bold;">\</span>
          | $logger &amp;&quot;</span></pre></div></div>

<p>by those ones :</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;">          <span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;start-stop-daemon --start --quiet --user qmaild <span style="color: #000099; font-weight: bold;">\</span>
          --pidfile /var/run/tcpserver_smtpd.pid --make-pidfile <span style="color: #000099; font-weight: bold;">\</span>
          --exec /usr/bin/tcpserver -- -H -P -R -l 0 <span style="color: #000099; font-weight: bold;">\</span>
          -u `id -u qmaild` -g `id -g nobody` -x /etc/tcp.smtp.cdb xxx.xxx.xxx.xxx smtp <span style="color: #000099; font-weight: bold;">\</span>
          $rblsmtpd /usr/sbin/qmail-smtpd 2&gt;&amp;1 <span style="color: #000099; font-weight: bold;">\</span>
          | $logger &amp;&quot;</span></pre></div></div>

<p>(Just replace xxx.xxx.xxx.xxx by your IP address)</p>
<p>Now, when you list your listening dameon, you should see tcpserver listening to xxx.xxx.xxx.xxx:25 instead of 0.0.0.0:25.</p>
<pre>machine# netstat -apn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <strong>xxx.xxx.xxx.xxx</strong>:25      0.0.0.0:*               LISTEN      21175/tcpserver</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2008/08/27/how-to-bind-your-qmail-server-to-a-specific-ip-address/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using the Google Perftools to speed up your MySQL server</title>
		<link>http://www.dotdeb.org/2008/08/25/using-the-google-perftools-to-speed-up-your-mysql-server/</link>
		<comments>http://www.dotdeb.org/2008/08/25/using-the-google-perftools-to-speed-up-your-mysql-server/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 15:13:44 +0000</pubDate>
		<dc:creator>Guillaume Plessis</dc:creator>
		
		<category><![CDATA[Documentation]]></category>

		<category><![CDATA[google-perftools]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.dotdeb.org/?p=99</guid>
		<description><![CDATA[The Google Perftools, especially tcmalloc (Thread Caching Malloc), can be very useful to speed up your applications, depending on your environment :
TCMalloc is faster than the glibc 2.3 malloc (available as a separate library called ptmalloc2) and other mallocs that I have tested. ptmalloc2 takes approximately 300 nanoseconds to execute a malloc/free pair on a [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://goog-perftools.sourceforge.net/" onclick="javascript:pageTracker._trackPageview('/outbound/article/goog-perftools.sourceforge.net');">Google Perftools</a>, especially <a href="http://goog-perftools.sourceforge.net/doc/tcmalloc.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/goog-perftools.sourceforge.net');">tcmalloc</a> (Thread Caching Malloc), can be very useful to speed up your applications, depending on your environment :</p>
<blockquote><p>TCMalloc is faster than the glibc 2.3 malloc (available as a separate library called ptmalloc2) and other mallocs that I have tested. ptmalloc2 takes approximately 300 nanoseconds to execute a malloc/free pair on a 2.8 GHz P4 (for small objects). The TCMalloc implementation takes approximately 50 nanoseconds for the same operation pair.</p></blockquote>
<p>Its deployment in your LAMP stack can speed up your MySQL servers, since it enhances memory allocation on threaded applications with the downside of larger memory footprints.</p>
<p>Here is how to use it easily&#8230;</p>
<p><strong>Installation</strong></p>
<p>First of all, you can install Google Perftools from Dotdeb :</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libgoogle-perftools0</pre></div></div>

<p>Then, since the mainstream MySQL packages are not compiled against tcmalloc, you&#8217;ll have to trick your OS&#8217; dynamic linker by adding the following line at the top of your <em>/etc/init.d/mysql</em> init script :</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">LD_PRELOAD</span>=<span style="color: #ff0000;">&quot;/usr/lib/libtcmalloc.so.0&quot;</span></pre></div></div>

<p>After relauching your MySQL server using the modified init script, you&#8217;ll take profit from tcmalloc&#8217;s faster memory allocation.</p>
<p><strong>Results</strong></p>
<p>At the time of writing this article, I didn&#8217;t make benchmarks, but some reported that they had a ~15-20% performance gain. Please leave comments about your experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2008/08/25/using-the-google-perftools-to-speed-up-your-mysql-server/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
