<?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>tom's blog &#187; Mailserver</title>
	<atom:link href="http://tom.knaupp.com/category/mailserver/feed/" rel="self" type="application/rss+xml" />
	<link>http://tom.knaupp.com</link>
	<description>free software, security and a bunch of my strange thoughts</description>
	<lastBuildDate>Tue, 23 Mar 2010 22:38:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>exim graphs</title>
		<link>http://tom.knaupp.com/2009/02/25/exim-graphs/</link>
		<comments>http://tom.knaupp.com/2009/02/25/exim-graphs/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 21:21:27 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[Mailserver]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[statistic]]></category>
		<category><![CDATA[syslog]]></category>

		<guid isPermaLink="false">http://tom.knaupp.com/?p=186</guid>
		<description><![CDATA[Because I did not found a tool to create graphs (the way I want it) from exim logs, I wrote a little bash script that suits my needs. &#160; Example graph: &#160; &#160; Download: exim_rrd-0.9.5.1 (updated 2009-03-07 [bugfix]) &#160; I&#8217;m not a programmer, so the script can be improved &#8211; no question : ) If [...]]]></description>
			<content:encoded><![CDATA[<p>Because I did not found a tool to create graphs (the way I want it)<br />
from exim logs, I wrote a little bash script that suits my needs.<br />
&nbsp;<br />
Example graph:<br />
&nbsp;<br />
<img class="alignnone size-full wp-image-185" title="mailfilter graph" src="http://tom.knaupp.com/wp-content/uploads/mailfilter-1week.png" alt="mailfilter graph" width="617" height="307" /><br />
&nbsp;<br />
Download: <a href="http://tom.knaupp.com/wp-content/uploads/exim_rrd-0.9.5">exim_rrd-0.9.5.1</a> (updated 2009-03-07 [bugfix])<br />
&nbsp;<br />
I&#8217;m not a programmer, so the script can be improved &#8211; no question : )<br />
If you have any hints, please tell me.<br />
&nbsp;<br />
&nbsp;<br />
Usage: run as cronjob, i.e.<br />
<code># mail statistic<br />
*/5 * * * * /usr/local/bin/exim_rrd > /dev/null 2> /dev/null</code><br />
&nbsp;<br />
&nbsp;<br />
dependencies:<br />
rrdtool [ <a href="http://oss.oetiker.ch/rrdtool/">http://oss.oetiker.ch/rrdtool/</a> ]  ^ thanks to Tobias Oetiker<br />
(e)grep<br />
- &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - &#8211; -<br />
tested with:<br />
rrdtool 1.2.23, rrdtool 1.2.27<br />
openSUSE 10.3 (i586), exim 4.69 main log<br />
openSUSE 11.0 (i586), exim 4.69 main log</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.knaupp.com/2009/02/25/exim-graphs/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Should I use DNSBL?</title>
		<link>http://tom.knaupp.com/2008/03/05/should-i-use-dnsbl/</link>
		<comments>http://tom.knaupp.com/2008/03/05/should-i-use-dnsbl/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 23:18:25 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[Mailserver]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[backscatter]]></category>
		<category><![CDATA[RBL]]></category>
		<category><![CDATA[spamhaus]]></category>

		<guid isPermaLink="false">http://tom.knaupp.com/2008/03/05/should-i-use-dnsbl/</guid>
		<description><![CDATA[RBLs &#8211; yes / no.. a big discussion always.. Right now, I can recommend zen.spamhaus.org &#38; ix.dnsbl.manitu.net (&#60;- especially for german MXs). I&#8217;ve never seen a false positive on these lists .. Nevertheless, use the lists for scoring (i.e. with spamassassin), not for instant blocking! Nowadays, prosecuting &#8220;backscatter&#8221;, sender callouts, etc. seems to be a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/DNSBL" title="DNSBL" target="_blank">RBLs</a> &#8211; yes / no.. a big discussion always..<br />
Right now, I can recommend <a href="http://www.spamhaus.org" title="Spamhaus" target="_blank">zen.spamhaus.org</a> &amp; <a href="http://www.dnsbl.manitu.net/" title="DNSBL IX" target="_blank">ix.dnsbl.manitu.net</a> (&lt;- especially for german MXs).<br />
I&#8217;ve never seen a false positive on these lists ..<br />
<br />
Nevertheless, use the lists for scoring (i.e. with spamassassin), not for instant blocking!<br />
<br />
Nowadays, prosecuting &#8220;backscatter&#8221;, sender callouts, etc. seems to be a new trend &#8211; and it <em>could</em> be useful in future..<br />
I&#8217;ve tested the only free list I know &#8211; backscatterer.org.<br />
Don&#8217;t you use that one for immediate blocking!<br />
Scoring can be ok, but even there &#8211; watch your logs!<br />
<br />
Some &#8220;hits&#8221; (from a test run) to show what I found:<br />
&#8230;<br />
2008-03-04 17:17:42 H=lizzard.sbs.de [194.138.37.39] &#8211; possible backscatter<br />
2008-03-04 17:21:59 H=mail.space.net [195.30.0.8] &#8211; possible backscatter<br />
2008-03-04 17:25:33 H=relay4.ptmail.sapo.pt [212.55.154.24] &#8211; possible backscatter<br />
2008-03-04 17:32:46 H=<strong>relay23.arbeitsagentur.de</strong> [212.204.77.151] &#8211; possible backscatter<br />
2008-03-04 17:33:38 H=mout1.mail.vrmd.de [81.28.224.19] &#8211; possible backscatter<br />
2008-03-04 17:48:33 H=<strong>dgate1.fujitsu-siemens.com</strong> [217.115.66.35] &#8211; possible backscatter<br />
2008-03-04 17:50:05 H=<strong>mailout05.sul.t-online.de</strong> [194.25.134.82] &#8211; possible backscatter<br />
2008-03-04 17:51:27 H=relay0-0.brigade.com [209.249.158.73] &#8211; possible backscatter<br />
2008-03-04 18:04:42 H=<strong>mailout07.sul.t-online.de </strong>[194.25.134.83] &#8211; possible backscatter<br />
2008-03-04 18:11:21 H=bay0-omc2-s24.bay0.hotmail.com [65.54.246.160] &#8211; possible backscatter<br />
2008-03-04 18:13:37 H=mail.space.net [195.30.0.8] &#8211; possible backscatter<br />
2008-03-04 18:13:42 H=<strong>smtp1.versatel.nl</strong> [62.58.50.88] &#8211; possible backscatter<br />
2008-03-04 18:15:29 H=<strong>mailout09.sul.t-online.de</strong> [194.25.134.84] &#8211; possible backscatter<br />
2008-03-04 18:16:33 H=ip17.be3a.com (be3a.com) [213.92.9.17] &#8211; possible backscatter<br />
2008-03-04 18:18:12 H=gamwsm02.mwga.mailwatch.com [216.157.255.16] &#8211; possible backscatter<br />
2008-03-04 18:20:15 H=aps67.muc.ec-messenger.com [195.140.186.67] &#8211; possible backscatter<br />
2008-03-04 18:22:56 H=mout1.mail.vrmd.de [81.28.224.19] &#8211; possible backscatter<br />
2008-03-04 18:25:46 H=mail.gmx.net [213.165.64.20] &#8211; possible backscatter<br />
2008-03-04 18:27:56 H=<strong>mail004.thyssenkrupp.com</strong> [149.211.153.66] &#8211; possible backscatter<br />
2008-03-04 18:30:43 H=<strong>mailout04.sul.t-online.de</strong> [194.25.134.18] &#8211; possible backscatter<br />
2008-03-04 18:33:06 H=<strong>mailout03.sul.t-online.de</strong> [194.25.134.81] &#8211; possible backscatter<br />
2008-03-04 18:39:33 H=<strong>mail.gmx.net</strong> [213.165.64.20] &#8211; possible backscatter<br />
2008-03-04 18:45:20 H=<strong>mail.schule.bayern.de</strong> [194.95.207.92] &#8211; possible backscatter<br />
2008-03-04 18:48:56 H=skibayf20.kirche-bayern.de [141.78.101.100] &#8211; possible backscatter<br />
&#8230;<br />
<br />
A lot of the BIG players (german companies in this example mainly) are found on the list ..<br />
So don&#8217;t get yourself in trouble with users that complain all day long and think about what you&#8217;re blocking ..<br />
<br />
Any suggestion/comment ist highly appreciated.</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.knaupp.com/2008/03/05/should-i-use-dnsbl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>postfix / (mass) remove mails from queue</title>
		<link>http://tom.knaupp.com/2008/01/18/postfix-mass-remove-mails-from-queue/</link>
		<comments>http://tom.knaupp.com/2008/01/18/postfix-mass-remove-mails-from-queue/#comments</comments>
		<pubDate>Fri, 18 Jan 2008 19:33:57 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[Mailserver]]></category>
		<category><![CDATA[Memento]]></category>
		<category><![CDATA[mailqueue]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://tom.knaupp.com/2008/01/18/postfix-mass-remove-mails-from-queue/</guid>
		<description><![CDATA[A little hack to remove mails for a specific recipient from the postfix mail queue: mailq &#124; tail +2 &#124; awk 'BEGIN { RS = "" } \ / user@example\.tld$/ { print $1 } \ ' &#124; tr -d '*!' &#124; postsuper -d -]]></description>
			<content:encoded><![CDATA[<p>A little hack to remove mails for a specific recipient from the postfix mail queue:</p>
<p><code><br />
mailq | tail +2 | awk 'BEGIN { RS = "" } \<br />
/ user@example\.tld$/ { print $1 } \<br />
' | tr -d '*!' | postsuper -d -<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://tom.knaupp.com/2008/01/18/postfix-mass-remove-mails-from-queue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>exim / implementing greylisting without db</title>
		<link>http://tom.knaupp.com/2007/03/28/exim-implementing-greylisting-without-db/</link>
		<comments>http://tom.knaupp.com/2007/03/28/exim-implementing-greylisting-without-db/#comments</comments>
		<pubDate>Wed, 28 Mar 2007 16:03:36 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[Distributions]]></category>
		<category><![CDATA[Mailserver]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[greylisting]]></category>

		<guid isPermaLink="false">http://tom.knaupp.com/?p=31</guid>
		<description><![CDATA[I had greylisting running for a while with a little perl script, that only worked with ip-addresses. As spam is growing an growing, I wanted to use the whole triplet (ip/sender/recipient) for the filter. As I did not want to use a database backend, the decision led to greylistd &#8211; an easy configurable daemon. I [...]]]></description>
			<content:encoded><![CDATA[<p>I had <a href="http://en.wikipedia.org/wiki/Greylisting" title="Wikipedia Article about Greylisting" target="_blank">greylisting</a> running for a while with a little perl script, that only worked with ip-addresses. As spam is growing an growing, I wanted to use the whole triplet (ip/sender/recipient) for the filter.<br />
<br />
As I did not want to use a database backend, the decision led to <a href="http://packages.qa.debian.org/g/greylistd.html" title="Debian page of greylistd" target="_blank">greylistd</a> &#8211; an easy configurable daemon. I needed the packages for (open)SuSE, that can be found in openSuSE&#8217;s <a href="http://software.opensuse.org/download/server:/mail/" title="openSuSE mail software repository">software repository</a>.<br />
<br />
After installing it and checking the basics at /etc/greylistd/config, you have to add a little code to your acls in exim.conf, i.e.:<br />
<br />
<code>defer message = greylisted $sender_host_address. please try again later<br />
condition = ${readsocket{/var/run/greylistd/socket}\<br />
{--grey $sender_host_address $sender_address $local_part@$domain} {5s}{}{false}}</code><br />
<br />
That was all I had to do to get it working. It&#8217;s advisable to add some hosts, that are known for problems with greylisting, not to be checked. Therefor you have to extend your acl:<br />
<br />
<code>defer message = greylisted $sender_host_address. please try again later<br />
!hosts = : ${if exists {/etc/greylistd/whitelist-hosts}\<br />
{/etc/greylistd/whitelist-hosts}{}} : \<br />
${if exists {/var/lib/greylistd/whitelist-hosts}\<br />
{/var/lib/greylistd/whitelist-hosts}{}}<br />
condition = ${readsocket{/var/run/greylistd/socket}\<br />
{--grey $sender_host_address $sender_address $local_part@$domain} {5s}{}{false}}</code><br />
<br />
Many thanks for the documentations from <a href="http://www.schirmacher.de/display/INFO/SPAM+filtern+mit+Greylisting?focusedCommentId=396" target="_blank" title="German Docu howto filter spam with exim">Arne Schirmacher</a> and <a href="http://spod.cx/blog/greylisting_with_exim_spamassassin.shtml" title="Greylisting with Exim 4 and Spamassassin" target="_blank">Ben Charlton</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.knaupp.com/2007/03/28/exim-implementing-greylisting-without-db/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>exim / remove (all) frozen messages from queue</title>
		<link>http://tom.knaupp.com/2007/03/22/exim-remove-all-frozen-messages/</link>
		<comments>http://tom.knaupp.com/2007/03/22/exim-remove-all-frozen-messages/#comments</comments>
		<pubDate>Thu, 22 Mar 2007 18:03:35 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[Mailserver]]></category>
		<category><![CDATA[Memento]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[queue]]></category>

		<guid isPermaLink="false">http://tom.knaupp.com/?p=30</guid>
		<description><![CDATA[Just a quick &#38; dirty hack to delete frozen messages for a single / some recipient(s)&#8230; #!/bin/bash # # what are we searching for? # (part of the email-address) SEARCH="anyrecipient.tld" # # exim-bin EXIM=`which exim` # # execute (frozen messages only).. $EXIM -Mrm $(mailq &#124; grep $SEARCH -B1 &#124; grep frozen &#124;cut -c 11-27) Thanks [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick &amp; dirty hack to delete frozen messages for a single / some recipient(s)&#8230;<br />
<br />
<code>#!/bin/bash<br />
#<br />
# what are we searching for?<br />
# (part of the email-address)<br />
SEARCH="anyrecipient.tld"<br />
#<br />
# exim-bin<br />
EXIM=`which exim`<br />
#<br />
# execute (frozen messages only)..<br />
$EXIM -Mrm $(mailq | grep $SEARCH -B1 | grep frozen |cut -c 11-27)</code><br />
<br />
Thanks to <a href="http://tom.knaupp.com/?p=30#comment-5">Mark</a> -&gt; this can be done a lot of easier if you want to kill <strong>all</strong> frozen messages:<br />
<br />
<code>exiqgrep -z -i | xargs exim -Mrm</code><br />
<br />
If you want to do this only <strong>for some</strong> domains / email-addresses, use the first example.</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.knaupp.com/2007/03/22/exim-remove-all-frozen-messages/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PAM-Authentication &amp; MySQL (v5) / b1gMail</title>
		<link>http://tom.knaupp.com/2007/03/15/pam-authentication-mysql-v5/</link>
		<comments>http://tom.knaupp.com/2007/03/15/pam-authentication-mysql-v5/#comments</comments>
		<pubDate>Thu, 15 Mar 2007 15:46:23 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[Mailserver]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[old_password]]></category>
		<category><![CDATA[pam auth]]></category>
		<category><![CDATA[pam authentication]]></category>

		<guid isPermaLink="false">http://tom.knaupp.com/?p=29</guid>
		<description><![CDATA[Enviroment: SuSE Linux 10.1 pam-0.99.3.0-29.3, pam-modules-10.1-7 postfix-2.2.9-10 mysql-5.0.18-20.8, mysql-client-5.0.18-16 I was trying to implement SASL-authentication via PAM (which is using a mysql-backend) in a postfix installation. Output from maillog: postfix/smtpd: warning: SASL authentication failure: Password verification failed postfix/smtpd: warning: [x.x.x.x]: SASL PLAIN authentication failed Checking the syslog: saslauthd: pam_b1gmail: cannot connect to mysql database (Access [...]]]></description>
			<content:encoded><![CDATA[<p>Enviroment:</p>
<ul>
<li>SuSE Linux 10.1
<ul>
<li>pam-0.99.3.0-29.3, pam-modules-10.1-7</li>
</ul>
<ul>
<li>postfix-2.2.9-10</li>
</ul>
<ul>
<li>mysql-5.0.18-20.8, mysql-client-5.0.18-16</li>
</ul>
</li>
</ul>
<p>I was trying to implement SASL-authentication via PAM (which is using a mysql-backend) in a postfix installation.<br />
Output from maillog:<br />
<br />
<code>postfix/smtpd: warning: SASL authentication failure: Password verification failed<br />
postfix/smtpd: warning: [x.x.x.x]: SASL PLAIN authentication failed</code><br />
<br />
Checking the syslog:<br />
<br />
<code>saslauthd: pam_b1gmail: cannot connect to mysql database<br />
(Access denied for user 'xx'@'localhost' (using password: YES))<br />
saslauthd: DEBUG: auth_pam: pam_authenticate failed: Permission denied<br />
saslauthd: do_auth : auth failure: [user=xx] [service=smtp]<br />
[realm=domain.tld] [mech=pam] [reason=PAM auth error]</code><br />
<br />
Reason:<br />
The PAM module is using a deprecated way to connect to the MySQL-DB.<br />
<br />
Solution:<br />
Set the MySQL-Password to OLD_PASSWORD:<br />
<br />
<code>SET PASSWORD FOR user'@'localhost' = OLD_PASSWORD('password');</code></p>
]]></content:encoded>
			<wfw:commentRss>http://tom.knaupp.com/2007/03/15/pam-authentication-mysql-v5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pimp my spamassassin / FuzzyOCR</title>
		<link>http://tom.knaupp.com/2007/02/26/pimp-my-exim-fuzzyocr/</link>
		<comments>http://tom.knaupp.com/2007/02/26/pimp-my-exim-fuzzyocr/#comments</comments>
		<pubDate>Mon, 26 Feb 2007 21:26:35 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[Mailserver]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://tom.knaupp.com/?p=25</guid>
		<description><![CDATA[Today I&#8217;ve implemented a new tool in our anti-spam system: FuzzyOCR (Dec 13, 2007: URL contains ads only now) It&#8217;s an OCR software used as a plugin for SpamAssassin. OCR means &#8220;optical character recognition&#8221; and describes the procedure to recognize characters and words from images. It&#8217;s quite useful when you try to catch so-called &#8220;Image [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;ve implemented a new tool in our anti-spam system:<br />
<strike>FuzzyOCR</strike>  (Dec 13, 2007: URL contains ads only now)<br />
<br />
It&#8217;s an OCR software used as a plugin for <a href="http://spamassassin.apache.org/" title="SpamAssassin" target="_blank">SpamAssassin</a>.<br />
OCR means &#8220;optical character recognition&#8221; and describes the procedure to recognize characters and words from images. It&#8217;s quite useful when you try to catch so-called &#8220;Image Spam&#8221;, which uses normal text where the real message is hidden in images (inline gifs, etc.)<br />
<br />
The results are quite good and I&#8217;m confident  : )<br />
<br />
Additionally to the packages described on the homepage of FuzzyOCR you&#8217;ll need another piece of software (at least with openSuSE 10.0): <a href="ftp://ftp.pbone.net/mirror/ftp.opensuse.org/distribution/SL-10.0-OSS/inst-source/suse/i586/giflib-progs-4.1.3-7.i586.rpm" title="giflib progs" target="_blank">giflib-progs-4.1.3-7.i586.rpm</a><br />
<span id="more-25"></span><br />
Here you can see an example, that I&#8217;ve just recieved and that was recognized as spam correctly:<br />
0.7 EXTRA_MPART_TYPE: Header has extraneous Content-type&#8230;<br />
1.1 HTML_20_30             BODY: Message is 20% to 30% HTML<br />
0.0 HTML_MESSAGE           BODY: HTML included in message<br />
0.0 BAYES_50               BODY: Bayesian spam probability is 40 to 60%<br />
0.8 SARE_GIF_ATTACH        FULL: Email has a inline gif<br />
0.7 MY_CID_AND_STYLE       SARE: cid and style<br />
<strong> 8.0 FUZZY_OCR              BODY: Mail contains an image with common spam text inside<br />
Words found:<br />
&#8220;viagra&#8221; in 1 lines<br />
&#8220;cialis&#8221; in 1 lines<br />
&#8220;xanax&#8221; in 1 lines<br />
&#8220;valium&#8221; in 1 lines<br />
&#8220;pharmacy&#8221; in 1 lines<br />
</strong> (5 word occurrences found)<br />
<br />
&#8212;<br />
From: Antonia [mailto:ademakerzcxl@xxxx.xxx]<br />
Sent: Wednesday, February 26, 2007 9:04 PM<br />
To: xxxx@xxxx.xxx<br />
Subject: *****SPAM***** How&#8217;s It Going<br />
<br />
<img src="http://tom.knaupp.com/wp-content/uploads/imagespam.png" alt="ImageSpam" /></p>
]]></content:encoded>
			<wfw:commentRss>http://tom.knaupp.com/2007/02/26/pimp-my-exim-fuzzyocr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>exim / filtering spam</title>
		<link>http://tom.knaupp.com/2007/02/01/exim-filtering-spam/</link>
		<comments>http://tom.knaupp.com/2007/02/01/exim-filtering-spam/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 21:48:24 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[Mailserver]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.2freaky.de/wordpress/?p=12</guid>
		<description><![CDATA[A graph to show you how many UCE-Mails are filtered per week. This is a statistic from one of my company&#8217;s mailservers. From about 3000 mails per hour -&#62; more than 90% of all traffic is spam, UCE or virus-infected mail! Explanation: wrong-syntax: Somebody tried to fake a mail-programm too-many-conn.: Anybody tried to send a [...]]]></description>
			<content:encoded><![CDATA[<p>A graph to show you how many UCE-Mails are filtered per week.<br />
This is a statistic from one of my company&#8217;s mailservers.<br />
From about 3000 mails per hour -&gt; more than 90% of all traffic is spam, UCE or virus-infected mail!<br />
<br />
<a href="http://tom.knaupp.com/wp-content/uploads/weekly-statistic.png" title="weekly mail statistic" rel="lightbox"><img src="http://tom.knaupp.com/wp-content/uploads/weekly-statistic.thumbnail.png" alt="weekly mail statistic" /></a><br />
<br />
<strong>Explanation:</strong><br />
wrong-syntax: Somebody tried to fake a mail-programm<br />
too-many-conn.: Anybody tried to send a mass-mail<br />
faked-sender: Tried to spoof sender<br />
virus: recognized virus (which was not blocked by other filters)<br />
spam: recognized spam (which was not blocked by other filters)<br />
known-dialup: known dialup notwork; normally no mail from here<br />
dynamic ip: dialup network or forgot to set proper dns-reverse entry<br />
no-reverse-dns: still allowed, but reverse dns should be set<br />
greylisted: mail is rejected first time; after that it should be ok<br />
rbl: dns blacklists<br />
clean mail: passed through and should be ok</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.knaupp.com/2007/02/01/exim-filtering-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pimp my exim / DynaStop</title>
		<link>http://tom.knaupp.com/2006/12/17/pimp-my-exim-dynastop/</link>
		<comments>http://tom.knaupp.com/2006/12/17/pimp-my-exim-dynastop/#comments</comments>
		<pubDate>Sun, 17 Dec 2006 12:43:13 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[Mailserver]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.2freaky.de/wordpress/?p=9</guid>
		<description><![CDATA[I found a (new) software that finally helps to ban spam that is not blocked by various dns blacklists, greylisting, etc &#8230; Have a look at: http://tanaya.net/DynaStop/ and the forum: http://www.exim-users.org/forums/forumdisplay.php?f=36 2007/05/08: Update of my personal DynaStop Whitelist Here you&#8217;ll find a great piece of software, that filters incoming mail on the basis of whether [...]]]></description>
			<content:encoded><![CDATA[<p>I found a (new) software that finally helps to ban spam that is not blocked by various dns blacklists, greylisting, etc &#8230;<br />
<br />
Have a look at:<br />
<a href="http://tanaya.net/DynaStop/" title="DynaStop: Dynamic IP Address filtering" target="_blank">http://tanaya.net/DynaStop/</a><br />
and the forum:<br />
<a href="http://www.exim-users.org/forums/forumdisplay.php?f=36" title="Exim Users Forums - Add on Software" target="_blank">http://www.exim-users.org/forums/forumdisplay.php?f=36</a><br />
<br />
2007/05/08: Update of my personal <a href="http://tom.knaupp.com/wp-content/uploads/dynastoptomknauppconf.txt" title="DynaStop Whitelist">DynaStop Whitelist</a><br />
<br />
Here you&#8217;ll find a great piece of software, that filters incoming mail on the basis of whether a dynamic IP address is used. This reduces system load and resources in processing unwanted mail because all legitimate mail from mainly all ISPs will be sent from a proper mail exchange server (respectively the dns name). Over 350 million IP addresses were used in testing DynaStop for integrity and stability in identifying dynamic addresses and cross checked false positives.<br />
<br />
Although the software is still in beta status, I use it in my company to kick out the rest of unwanted connections that are not recognized by <a href="http://en.wikipedia.org/wiki/DNSBL#Terminology" target="_blank">RBLs</a> or those that &#8220;survive&#8221; greylisting.<br />
<br />
Result:</p>
<ul>
<li>System load is massive reduced because of less work for <a href="http://spamassassin.apache.org/" title="The Apache SpamAssassin Project" target="_blank">spamassassin</a> and antivirus-software</li>
<li>Connections that come back multiple times and overwit greylisting are banned without scanning the message</li>
<li>Combined with a daily-report (to control false positives) of blocked networks it&#8217;s really a powerful software</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tom.knaupp.com/2006/12/17/pimp-my-exim-dynastop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
