<?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>/dev/null &#187; Email</title>
	<atom:link href="http://www.nulldevice.de/tag/email/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nulldevice.de</link>
	<description>Static is evil.</description>
	<lastBuildDate>Fri, 18 Nov 2011 17:28:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Update on Google Spam</title>
		<link>http://www.nulldevice.de/2008/05/update-on-google-spam/</link>
		<comments>http://www.nulldevice.de/2008/05/update-on-google-spam/#comments</comments>
		<pubDate>Wed, 21 May 2008 16:46:28 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[E-mail]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://www.nulldevice.de/?p=809</guid>
		<description><![CDATA[Hi, We would like to let you know that we have updated our report to include the omitted details. You can read it at: http://ece.uprm.edu/~andre/insert/gmail.html Also we have made our proof of concept available at: http://ece.uprm.edu/~andre/insert/gmail.tar.gz Best Regards, Pablo Ximenes I love short mails with a clear message &#8220;Google&#8217;s chronic silence on all abuse reports [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Hi,</p>
<p>We would like to let you know that we have updated our report to include the omitted details. You can read it at: <a href="http://ece.uprm.edu/~andre/insert/gmail.html">http://ece.uprm.edu/~andre/insert/gmail.html</a></p>
<p>Also we have made our proof of concept available at: <a href="http://ece.uprm.edu/~andre/insert/gmail.tar.gz">http://ece.uprm.edu/~andre/insert/gmail.tar.gz</a></p>
<p>Best Regards,</p>
<p>Pablo Ximenes</p></blockquote>
<p>I love short mails with a clear message <img src='http://www.nulldevice.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><em>&#8220;Google&#8217;s chronic silence on all abuse reports makes it impossible to tell whether they&#8217;ve taken any action on the problem, whether the problem reports have even made it to the operational staff responsible for the mailservers, or whether they simply don&#8217;t care. I&#8217;m sure you can all make your own snarky comments re &#8216;Do no evil&#8217;.&#8221; (</em><a href="http://www.securityfocus.com/archive/1">BugTraq</a><em>)</em></p>
<p>Don&#8217;t forget: Google offers a <strong>fast paced</strong> and dynamic work environment *rofl*</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nulldevice.de/2008/05/update-on-google-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Spam &#8211; a new product?</title>
		<link>http://www.nulldevice.de/2008/05/google-spam-a-new-product/</link>
		<comments>http://www.nulldevice.de/2008/05/google-spam-a-new-product/#comments</comments>
		<pubDate>Tue, 20 May 2008 20:36:01 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[E-mail]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://www.nulldevice.de/?p=807</guid>
		<description><![CDATA[I know that mail logs are not the most interesting thing on earth, but I&#8217;m not used to get spam from Google Mail&#8230; from Yahoo and MSN maybe, but not from Google&#8230; never ever&#8230; so I try to understand this: May 20 21:43:16 mail postfix/smtpd[30948]: connect from qb-out-0506.google.com[72.14.204.235] May 20 21:43:17 mail postfix/policyd-weight[2754]: weighted check: [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nulldevice.de/wp-content/uploads/2008/05/blinking_google_toy_small.jpg"><img class="alignright size-full wp-image-782" title="Small blinking Google toy" src="http://www.nulldevice.de/wp-content/uploads/2008/05/blinking_google_toy_small.jpg" alt="" width="150" height="78" /></a>I know that mail logs are not the most interesting thing on earth, but I&#8217;m not used to get spam from Google Mail&#8230; from Yahoo and MSN maybe, but not from Google&#8230; never ever&#8230; so I try to understand this:</p>
<p><tt>May 20 21:43:16 mail postfix/smtpd[30948]: connect from <strong>qb-out-0506.google.com</strong>[72.14.204.235]<br />
May 20 21:43:17 mail postfix/policyd-weight[2754]: weighted check:  NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .qb-out-0506.google. - helo-domain: .google.)  FROM/MX_MATCHES_HELO(DOMAIN)=-2 &lt;client=72.14.204.235&gt; &lt;helo=<strong>qb-out-0506.google.com</strong>&gt; &lt;from=<strong>alexandrearw7@gmail.com</strong>&gt; &lt;to=michael@liquidbytes.net&gt;, rate: -8.5<br />
May 20 21:43:17 mail postfix/policyd-weight[2754]: decided action=PREPEND X-policyd-weight:  NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: <strong>.qb-out-0506.google. - helo-domain: .google.</strong>)  FROM/MX_MATCHES_HELO(DOMAIN)=-2 &lt;client=72.14.204.235&gt; &lt;helo=<strong>qb-out-0506.google.com</strong>&gt; &lt;from=<strong>alexandrearw7@gmail.com</strong>&gt; &lt;to=michael@liquidbytes.net&gt;, rate: -8.5; delay: 0s<br />
May 20 21:43:18 mail postfix/smtpd[30948]: 09CFB196802E: client=<strong>qb-out-0506.google.com</strong>[72.14.204.235]<br />
May 20 21:43:49 mail postfix/smtpd[30948]: disconnect from <strong>qb-out-0506.google.com</strong>[72.14.204.235]</tt></p>
<p>Yes, these servers belong to&#8230;</p>
<pre>OrgName:    Google Inc.
OrgID:      GOGL
Address:    1600 Amphitheatre Parkway
City:       Mountain View
StateProv:  CA
PostalCode: 94043
Country:    US
NetRange:   72.14.192.0 - 72.14.255.255
CIDR:       72.14.192.0/18
NetName:    GOOGLE</pre>
<p>Other people are getting tons of spam from Google as well as it seems.</p>
<p>See also: <a href="http://www.securityfocus.com/archive/1/491779"><strong>Exploiting Google MX servers as Open SMTP Relays</strong></a></p>
<p>So why is that? Mmmh&#8230; because the cool and smart engineers at Google can&#8217;t handle their job:</p>
<blockquote><p>We would like to clarify to the security community that we have contacted Google about the issue more than a week ago and <strong>no response was provided despite our clear intent of cooperation</strong> regarding this matter.<br />
We have plans to submit a paper about our work on the trust hierarchy of email providers to the <a href="http://sbseg2008.inf.ufrgs.br/">SBSEG&#8217;2008</a> over this weekend. Since the paper will necessarily include full details about the flaw, we see no point on withholding the full disclosure of our self-censored report.<br />
<strong> We are still waiting to hear from Google</strong> and we sincerely hope that this flaw can be fixed before the full details about the problem are released. (<a href="http://ece.uprm.edu/~andre/insert/index.html">Source</a>)</p></blockquote>
<p>This was <strong>8 days ago</strong>. Hello? Somebody there!? I&#8217;m 99.99% sure that Google won&#8217;t answer to my spam report. They can&#8217;t even write a small mail to the team that found out how to use Google as open mail relay. Other large providers like T-Online are far more cooperative and they actually answer to your requests.</p>
<p><em>&#8220;We are Google. Resistance is a good idea, because: You will be spammed. We will add our spam mail to your mailbox. Your culture will have to learn how to adapt its spam filters.&#8221;</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nulldevice.de/2008/05/google-spam-a-new-product/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exporting users from DBMail to Postfix lookup table</title>
		<link>http://www.nulldevice.de/2008/05/exporting-users-from-dbmail-to-postfix-lookup-table/</link>
		<comments>http://www.nulldevice.de/2008/05/exporting-users-from-dbmail-to-postfix-lookup-table/#comments</comments>
		<pubDate>Sun, 11 May 2008 13:25:11 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[DBMail]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[Email]]></category>

		<guid isPermaLink="false">http://www.nulldevice.de/?p=801</guid>
		<description><![CDATA[I wrote so many scripts the last couple of years that I can&#8217;t remember anymore&#8230; anyways, I was working on my mail server config today and found this little PHP script that exports users from the DBMail database to a Postfix lookup table, so that unknown users can be rejected upfront by postfix (thus reducing [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote so many scripts the last couple of years that I can&#8217;t remember anymore&#8230; anyways, I was working on my mail server config today and found this little PHP script that exports users from the DBMail database to a <strong>Postfix lookup table</strong>, so that unknown users can be rejected upfront by postfix (thus reducing the load on the mail server). It also outputs a list of domains.</p>
<pre>#!/usr/local/bin/php
&lt;?php
$mysqli = new mysqli("localhost", "dbmail", "yourpassword", "dbmail");
/* check connection */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
$q = $mysqli-&gt;query("SELECT DISTINCT alias FROM dbmail_aliases");
$content = '';
$domains = array();
while($r=$q-&gt;fetch_assoc()) {
$content .= $r['alias']." OK\n";
$parts = explode('@', $r['alias']);
if(!in_array($parts[1], $domains)) {
$domains[] = $parts[1];
}
}
file_put_contents('myusers', $content);
file_put_contents('mydomains', join("\n", $domains));
exec('postmap myusers');
$mysqli-&gt;close();
?&gt;</pre>
<p>Maybe it is of some use for anybody out there&#8230; the config in <tt>/etc/postfix/main.cf</tt> should look like:</p>
<pre>mydestination = /etc/postfix/mydomains localhost
local_recipient_maps = hash:/etc/postfix/myusers $alias_maps</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.nulldevice.de/2008/05/exporting-users-from-dbmail-to-postfix-lookup-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

