<?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>Dotdeb &#187; qmail</title>
	<atom:link href="http://www.dotdeb.org/tag/qmail/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dotdeb.org</link>
	<description>The repository for Debian-based LAMP servers</description>
	<lastBuildDate>Mon, 06 Sep 2010 15:52:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<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/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=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[Mail]]></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 sta [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://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">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" 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" 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;"><span style="">0</span> # <span style="">0</span> disables Browsers detection.</span>
<span style="color: #000099;">LevelForOSDetection</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"><span style="">0</span> # <span style="">0</span> disables OS detection.</span>
<span style="color: #000099;">LevelForRefererAnalyze</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"><span style="">0</span> # <span style="">0</span> disables Origin detection.</span>
<span style="color: #000099;">LevelForRobotsDetection</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"><span style="">0</span> # <span style="">0</span> disables Robots detection.</span>
<span style="color: #000099;">LevelForSearchEnginesDetection</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"><span style="">0</span> # <span style="">0</span> disables Search engines detection.</span>
<span style="color: #000099;">LevelForKeywordsDetection</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"><span style="">0</span> # <span style="">0</span> disables Keyphrases/Keywords detection.</span>
<span style="color: #000099;">LevelForFileTypesDetection</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"><span style="">0</span> # <span style="">0</span> 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">http://yourserver/cgi-bin/awstats.pl?config=mail</a>.</p>
 <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank"><img src="http://www.dotdeb.org/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.dotdeb.org/2008/10/13/calculate-statistics-from-your-qmail-logfiles-using-awstats/&via=dotdeb&text=Calculate statistics from your Qmail logfiles using Awstats&related=w_a_s_t_e:Dotdeb's maintainer&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.dotdeb.org/2008/10/13/calculate-statistics-from-your-qmail-logfiles-using-awstats/&via=dotdeb&text=Calculate statistics from your Qmail logfiles using Awstats&related=w_a_s_t_e:Dotdeb's maintainer&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2008/10/13/calculate-statistics-from-your-qmail-logfiles-using-awstats/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Qmailadmin 1.2.11 updated</title>
		<link>http://www.dotdeb.org/2008/09/29/qmailadmin-1211-updated/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=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 [...]]]></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>
<script type="text/javascript">
var flattr_wp_ver = '0.9.14';
var flattr_uid = '13101';
var flattr_url = 'http://www.dotdeb.org';
var flattr_lng = 'en_GB';
var flattr_cat = 'text';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'Dotdeb';
var flattr_dsc = 'The repository for Debian-based LAMP servers';
</script>
<script src="https://api.flattr.com/js/0.5.0/load.js?mode=auto" type="text/javascript"></script> <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank"><img src="http://www.dotdeb.org/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.dotdeb.org/2008/09/29/qmailadmin-1211-updated/&via=dotdeb&text=Qmailadmin 1.2.11 updated&related=w_a_s_t_e:Dotdeb's maintainer&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.dotdeb.org/2008/09/29/qmailadmin-1211-updated/&via=dotdeb&text=Qmailadmin 1.2.11 updated&related=w_a_s_t_e:Dotdeb's maintainer&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2008/09/29/qmailadmin-1211-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</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/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=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[Mail]]></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 [...]]]></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" 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 <span style="color: #780078;">`id -u qmaild`</span> -g <span style="color: #780078;">`id -g nobody`</span> -x /etc/tcp.smtp.cdb 0 smtp <span style="color: #000099; font-weight: bold;">\
</span>          <span style="color: #007800;">$rblsmtpd</span> /usr/sbin/qmail-smtpd 2&amp;gt;&amp;amp;1 <span style="color: #000099; font-weight: bold;">\
</span>          | <span style="color: #007800;">$logger</span> &amp;amp;&quot;</span></pre></div></div>

<p>by those ones :</p>

<div class="wp_syntax"><div class="code"><pre class="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 <span style="color: #780078;">`id -u qmaild`</span> -g <span style="color: #780078;">`id -g nobody`</span> -x /etc/tcp.smtp.cdb xxx.xxx.xxx.xxx smtp <span style="color: #000099; font-weight: bold;">\
</span>          <span style="color: #007800;">$rblsmtpd</span> /usr/sbin/qmail-smtpd 2&amp;gt;&amp;amp;1 <span style="color: #000099; font-weight: bold;">\
</span>          | <span style="color: #007800;">$logger</span> &amp;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>
 <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank"><img src="http://www.dotdeb.org/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.dotdeb.org/2008/08/27/how-to-bind-your-qmail-server-to-a-specific-ip-address/&via=dotdeb&text=How to bind your Qmail server to a specific IP address&related=w_a_s_t_e:Dotdeb's maintainer&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.dotdeb.org/2008/08/27/how-to-bind-your-qmail-server-to-a-specific-ip-address/&via=dotdeb&text=How to bind your Qmail server to a specific IP address&related=w_a_s_t_e:Dotdeb's maintainer&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></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>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to enable greylisting on your Qmail server</title>
		<link>http://www.dotdeb.org/2008/08/24/how-to-enable-greylisting-on-your-qmail-server/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-enable-greylisting-on-your-qmail-server</link>
		<comments>http://www.dotdeb.org/2008/08/24/how-to-enable-greylisting-on-your-qmail-server/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 18:26:52 +0000</pubDate>
		<dc:creator>Guillaume Plessis</dc:creator>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[greylisting]]></category>
		<category><![CDATA[qmail]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.dotdeb.org/?p=75</guid>
		<description><![CDATA[Greylisting is very useful to avoid most of the incomin [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Greylisting">Greylisting</a> is very useful to avoid most of the incoming spam on your mail server. The Qmail packages shipped on Dotdeb have built-in MySQL-based greylisting. Here is how to enable it&#8230;</p>
<p><strong>Installation</strong></p>
<p>First of all, be sure to have Qmail installed from Dotdeb with a version number greater than 1.03-37.dotdeb.1.<br />
Then, since we&#8217;ll use a MySQL backend to share the greylisting database between several servers, be sure to have MySQL installed somewhere on your boxes.</p>
<p>In our example, we&#8217;ll create the database (we&#8217;ll name it <strong>relaydelay</strong>) and grant access to <strong>user</strong>@<strong>host</strong> with the password &#8220;<strong>password</strong>&#8220;. You&#8217;re free to change these values to fit your needs&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">DATABASE</span> relaydelay<span style="color: #000033;">;</span>
<span style="color: #990099; font-weight: bold;">GRANT</span> <span style="color: #990099; font-weight: bold;">ALL</span> <span style="color: #990099; font-weight: bold;">PRIVILEGES</span> <span style="color: #990099; font-weight: bold;">ON</span> <span style="color: #008000;">`relaydelay`</span>.<span style="color: #CC0099;">*</span> <span style="color: #990099; font-weight: bold;">TO</span> <span style="color: #008000;">'user'</span>@<span style="color: #008000;">'localhost'</span> IDENTIFIED BY <span style="color: #008000;">'password'</span><span style="color: #000033;">;</span></pre></div></div>

<p>Then, we create the needed tables :</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">TABLE</span> relaytofrom
<span style="color: #FF00FF;">&#40;</span>
  id              <span style="color: #999900; font-weight: bold;">bigint</span>          <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span>        <span style="color: #FF9900; font-weight: bold;">auto_increment</span><span style="color: #000033;">,</span>
  relay_ip        <span style="color: #000099;">char</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">16</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>
  mail_from       <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">255</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>
  rcpt_to         <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">255</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>
  block_expires   <span style="color: #999900; font-weight: bold;">datetime</span>        <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
&nbsp;
  record_expires  <span style="color: #999900; font-weight: bold;">datetime</span>        <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
  blocked_count   <span style="color: #999900; font-weight: bold;">bigint</span>          <span style="color: #990099; font-weight: bold;">default</span> <span style="color: #008080;">0</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
  passed_count    <span style="color: #999900; font-weight: bold;">bigint</span>          <span style="color: #990099; font-weight: bold;">default</span> <span style="color: #008080;">0</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
  aborted_count   <span style="color: #999900; font-weight: bold;">bigint</span>          <span style="color: #990099; font-weight: bold;">default</span> <span style="color: #008080;">0</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
  origin_type     <span style="color: #999900; font-weight: bold;">enum</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">&quot;MANUAL&quot;</span><span style="color: #000033;">,</span><span style="color: #008000;">&quot;AUTO&quot;</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
  create_time     <span style="color: #999900; font-weight: bold;">datetime</span>        <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
  last_update     <span style="color: #999900; font-weight: bold;">timestamp</span>       <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
&nbsp;
  <span style="color: #990099; font-weight: bold;">primary key</span><span style="color: #FF00FF;">&#40;</span>id<span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>
  <span style="color: #990099; font-weight: bold;">key</span><span style="color: #FF00FF;">&#40;</span>relay_ip<span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>
  <span style="color: #990099; font-weight: bold;">key</span><span style="color: #FF00FF;">&#40;</span>mail_from<span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">20</span><span style="color: #FF00FF;">&#41;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>
  <span style="color: #990099; font-weight: bold;">key</span><span style="color: #FF00FF;">&#40;</span>rcpt_to<span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">20</span><span style="color: #FF00FF;">&#41;</span><span style="color: #FF00FF;">&#41;</span>
<span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">TABLE</span> dns_name
<span style="color: #FF00FF;">&#40;</span>
  relay_ip      <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">18</span><span style="color: #FF00FF;">&#41;</span>       <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
  relay_name    <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">255</span><span style="color: #FF00FF;">&#41;</span>      <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
  last_update   <span style="color: #999900; font-weight: bold;">timestamp</span>         <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
  <span style="color: #990099; font-weight: bold;">primary key</span><span style="color: #FF00FF;">&#40;</span>relay_ip<span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>
  <span style="color: #990099; font-weight: bold;">key</span><span style="color: #FF00FF;">&#40;</span>relay_name<span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">20</span><span style="color: #FF00FF;">&#41;</span><span style="color: #FF00FF;">&#41;</span>
<span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">TABLE</span> mail_log
<span style="color: #FF00FF;">&#40;</span>
  id              <span style="color: #999900; font-weight: bold;">bigint</span>          <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span>        <span style="color: #FF9900; font-weight: bold;">auto_increment</span><span style="color: #000033;">,</span>
  relay_ip        <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">16</span><span style="color: #FF00FF;">&#41;</span>     <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
  relay_name      <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">255</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>
  dns_mismatch    <span style="color: #999900; font-weight: bold;">bool</span>            <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
  mail_from       <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">255</span><span style="color: #FF00FF;">&#41;</span>    <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
  rcpt_to         <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">255</span><span style="color: #FF00FF;">&#41;</span>    <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
  rcpt_host       <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">80</span><span style="color: #FF00FF;">&#41;</span>     <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
  create_time     <span style="color: #999900; font-weight: bold;">datetime</span>        <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
&nbsp;
  <span style="color: #990099; font-weight: bold;">primary key</span><span style="color: #FF00FF;">&#40;</span>id<span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>
  <span style="color: #990099; font-weight: bold;">key</span><span style="color: #FF00FF;">&#40;</span>relay_ip<span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>
  <span style="color: #990099; font-weight: bold;">key</span><span style="color: #FF00FF;">&#40;</span>mail_from<span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">20</span><span style="color: #FF00FF;">&#41;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>
  <span style="color: #990099; font-weight: bold;">key</span><span style="color: #FF00FF;">&#40;</span>rcpt_to<span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">20</span><span style="color: #FF00FF;">&#41;</span><span style="color: #FF00FF;">&#41;</span>
<span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span></pre></div></div>

<p>We now have to put the appropriate settings in the <em>/etc/init.d/qmail</em> init script&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">MYSQLHOST</span>=<span style="color: #ff0000;">&quot;localhost&quot;</span>
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">MYSQLUSER</span>=<span style="color: #ff0000;">&quot;user&quot;</span>
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">MYSQLPASS</span>=<span style="color: #ff0000;">&quot;password&quot;</span>
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">MYSQLDB</span>=<span style="color: #ff0000;">&quot;relaydelay&quot;</span>
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">BLOCK_EXPIRE</span>=<span style="color: #000000;">5</span>           <span style="color: #666666; font-style: italic;"># minutes until email is accepted</span>
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">RECORD_EXPIRE</span>=<span style="color: #000000;">600</span>        <span style="color: #666666; font-style: italic;"># minutes until record expires</span>
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">RECORD_EXPIRE_GOOD</span>=<span style="color: #000000;">36</span>
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">LOCAL_SCAN_DEBUG</span>=<span style="color: #000000;">0</span></pre></div></div>

<p>and in the <em>/usr/sbin/greylisting-delete-expired</em> :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">MYSQLHOST</span>=<span style="color: #ff0000;">&quot;localhost&quot;</span>
<span style="color: #007800;">MYSQLUSER</span>=<span style="color: #ff0000;">&quot;user&quot;</span>
<span style="color: #007800;">MYSQLPASS</span>=<span style="color: #ff0000;">&quot;password&quot;</span>
<span style="color: #007800;">MYSQLDB</span>=<span style="color: #ff0000;">&quot;relaydelay&quot;</span></pre></div></div>

<p>We can now relaunch Qmail and enable or disable the greylisting with a simple symbolic link :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>qmail
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>qmail-envelope-scanner <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>qmail-envelope-scanner</pre></div></div>

<p><strong>Usage</strong></p>
<p>Example wildcard whitelists for subnets :</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">INSERT</span> <span style="color: #990099; font-weight: bold;">INTO</span> relaytofrom <span style="color: #990099; font-weight: bold;">VALUES</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">0</span><span style="color: #000033;">,</span><span style="color: #008000;">&quot;127.0.0.1&quot;</span>   <span style="color: #000033;">,</span><span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span><span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span><span style="color: #008000;">&quot;0000-00-00 00:00:00&quot;</span><span style="color: #000033;">,</span><span style="color: #008000;">&quot;9999-12-31 23:59:59&quot;</span><span style="color: #000033;">,</span><span style="color: #008080;">0</span><span style="color: #000033;">,</span><span style="color: #008080;">0</span><span style="color: #000033;">,</span><span style="color: #008080;">0</span><span style="color: #000033;">,</span><span style="color: #008000;">&quot;MANUAL&quot;</span><span style="color: #000033;">,</span><span style="color: #000099;">NOW</span><span style="color: #FF00FF;">&#40;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span><span style="color: #000099;">NOW</span><span style="color: #FF00FF;">&#40;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span>
<span style="color: #990099; font-weight: bold;">INSERT</span> <span style="color: #990099; font-weight: bold;">INTO</span> relaytofrom <span style="color: #990099; font-weight: bold;">VALUES</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">0</span><span style="color: #000033;">,</span><span style="color: #008000;">&quot;192.168&quot;</span>     <span style="color: #000033;">,</span><span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span><span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span><span style="color: #008000;">&quot;0000-00-00 00:00:00&quot;</span><span style="color: #000033;">,</span><span style="color: #008000;">&quot;9999-12-31 23:59:59&quot;</span><span style="color: #000033;">,</span><span style="color: #008080;">0</span><span style="color: #000033;">,</span><span style="color: #008080;">0</span><span style="color: #000033;">,</span><span style="color: #008080;">0</span><span style="color: #000033;">,</span><span style="color: #008000;">&quot;MANUAL&quot;</span><span style="color: #000033;">,</span><span style="color: #000099;">NOW</span><span style="color: #FF00FF;">&#40;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span><span style="color: #000099;">NOW</span><span style="color: #FF00FF;">&#40;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span></pre></div></div>

<p>Example wildcard whitelist entry for a recieved domain or subdomain</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">INSERT</span> <span style="color: #990099; font-weight: bold;">INTO</span> relaytofrom <span style="color: #990099; font-weight: bold;">VALUES</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">0</span><span style="color: #000033;">,</span><span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span><span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span><span style="color: #008000;">&quot;sub.domain.com&quot;</span><span style="color: #000033;">,</span><span style="color: #008000;">&quot;0000-00-00 00:00:00&quot;</span><span style="color: #000033;">,</span><span style="color: #008000;">&quot;9999-12-31 23:59:59&quot;</span><span style="color: #000033;">,</span><span style="color: #008080;">0</span><span style="color: #000033;">,</span><span style="color: #008080;">0</span><span style="color: #000033;">,</span><span style="color: #008080;">0</span><span style="color: #000033;">,</span><span style="color: #008000;">&quot;MANUAL&quot;</span><span style="color: #000033;">,</span><span style="color: #000099;">NOW</span><span style="color: #FF00FF;">&#40;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span><span style="color: #000099;">NOW</span><span style="color: #FF00FF;">&#40;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span></pre></div></div>

<script type="text/javascript">
var flattr_wp_ver = '0.9.14';
var flattr_uid = '13101';
var flattr_url = 'http://www.dotdeb.org';
var flattr_lng = 'en_GB';
var flattr_cat = 'text';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'Dotdeb';
var flattr_dsc = 'The repository for Debian-based LAMP servers';
</script>
<script src="https://api.flattr.com/js/0.5.0/load.js?mode=auto" type="text/javascript"></script> <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank"><img src="http://www.dotdeb.org/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.dotdeb.org/2008/08/24/how-to-enable-greylisting-on-your-qmail-server/&via=dotdeb&text=How to enable greylisting on your Qmail server&related=w_a_s_t_e:Dotdeb's maintainer&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.dotdeb.org/2008/08/24/how-to-enable-greylisting-on-your-qmail-server/&via=dotdeb&text=How to enable greylisting on your Qmail server&related=w_a_s_t_e:Dotdeb's maintainer&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2008/08/24/how-to-enable-greylisting-on-your-qmail-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to enable the SMTP authentification on your Qmail server</title>
		<link>http://www.dotdeb.org/2008/08/24/howto-enable-the-smtp-authentification-on-your-qmail-server/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=howto-enable-the-smtp-authentification-on-your-qmail-server</link>
		<comments>http://www.dotdeb.org/2008/08/24/howto-enable-the-smtp-authentification-on-your-qmail-server/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 12:44:02 +0000</pubDate>
		<dc:creator>Guillaume Plessis</dc:creator>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[qmail]]></category>
		<category><![CDATA[smtpauth]]></category>

		<guid isPermaLink="false">http://www.dotdeb.org/?p=41</guid>
		<description><![CDATA[The Qmail package from Dotdeb has been built with SMTP- [...]]]></description>
			<content:encoded><![CDATA[<p>The Qmail package from Dotdeb has been built with SMTP-auth features (but disabled by default). Here is the way to use them&#8230;</p>
<p><strong>Installation</strong></p>
<p>First of all, we suppose that :</p>
<ul>
<li>you installed the last Qmail and Vpopmail packages from Dotdeb</li>
<li>you&#8217;re launching them using the bundled init scripts (with tcpserver)</li>
</ul>
<p><strong>Configuration</strong></p>
<p>To enable SMTP-auth, you just have to edit the <em>/etc/init.d/qmail</em> init script and replace these lines :</p>

<div class="wp_syntax"><div class="code"><pre class="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
  --pidfile /var/run/tcpserver_smtpd.pid --make-pidfile
  --exec /usr/bin/tcpserver -- -R
  -u <span style="color: #780078;">`id -u qmaild`</span> -g <span style="color: #780078;">`id -g nobody`</span> -x /etc/tcp.smtp.cdb 0 smtp
  <span style="color: #007800;">$rblsmtpd</span> /usr/sbin/qmail-smtpd 2&amp;gt;&amp;amp;1
  | <span style="color: #007800;">$logger</span> &amp;amp;&quot;</span></pre></div></div>

<p>by these ones :</p>

<div class="wp_syntax"><div class="code"><pre class="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
    --pidfile /var/run/tcpserver_smtpd.pid --make-pidfile
    --exec /usr/bin/tcpserver -- -R
    -u <span style="color: #780078;">`id -u qmaild`</span> -g <span style="color: #780078;">`id -g nobody`</span> -x /etc/tcp.smtp.cdb 0 smtp
    <span style="color: #007800;">$rblsmtpd</span> /usr/sbin/qmail-smtpd /usr/sbin/vchkpw /bin/true 2&amp;gt;&amp;amp;1
    | <span style="color: #007800;">$logger</span> &amp;amp;&quot;</span></pre></div></div>

<p>Then, we have to setuid <em>/usr/sbin/vchkpw</em> :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> u+s <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>vchkpw</pre></div></div>

<p>and restart Qmail :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>qmail stop
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>qmail start</pre></div></div>

<p><strong>The result</strong></p>
<p>You will now be able to use the SMTP PLAINTEXT authentification. You just have to configure your favorite mail transport agent&#8230;</p>
 <p>Feel free to Flattr this post at <a href="http://flattr.com/" title="Flattr" target="_blank">flattr.com</a>, if you like it.</p> <p><a href="http://flattr.com/" title="Flattr" target="_blank"><img src="http://www.dotdeb.org/wp-content/plugins/flattrss/button-compact-static-100x17.png" alt="flattr this!"/></a></p><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.dotdeb.org/2008/08/24/howto-enable-the-smtp-authentification-on-your-qmail-server/&via=dotdeb&text=How to enable the SMTP authentification on your Qmail server&related=w_a_s_t_e:Dotdeb's maintainer&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.dotdeb.org/2008/08/24/howto-enable-the-smtp-authentification-on-your-qmail-server/&via=dotdeb&text=How to enable the SMTP authentification on your Qmail server&related=w_a_s_t_e:Dotdeb's maintainer&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2008/08/24/howto-enable-the-smtp-authentification-on-your-qmail-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
