<?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>Tadek's Blog</title>
	<atom:link href="http://tadek.pietraszek.org/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://tadek.pietraszek.org/blog</link>
	<description>Some random notes about computers, security, cool links and others.</description>
	<lastBuildDate>Mon, 02 May 2011 22:32:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Moving Glossary</title>
		<link>http://tadek.pietraszek.org/blog/2011/05/03/moving-glossary/</link>
		<comments>http://tadek.pietraszek.org/blog/2011/05/03/moving-glossary/#comments</comments>
		<pubDate>Mon, 02 May 2011 22:32:33 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
		
		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=486</guid>
		<description><![CDATA[We&#8217;ve just moved! Not too far (Rueschlikon -> Thalwil) but still&#8230; the effort is about the same. Here&#8217;s an account of what worked and what didn&#8217;t and a short glossary. Packing One day is not enough. At least not when there are two people doing it and they have a reasonable amount of things to [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve just moved! Not too far (Rueschlikon -> Thalwil) but still&#8230; the effort is about the same. Here&#8217;s an account of what worked and what didn&#8217;t and a short glossary.</p>

<h3>Packing</h3>

<p>One day is not enough. At least not when there are two people doing it and they have a reasonable amount of things to pack. In retrospect, I think something like one and a half day would be fine if you&#8217;re not lingering &#8211; preferably give it something like two days. As you might probably have guessed, we tried to cram two packing days into one resulting in working till 2am and not quite finishing it. Needless to say, we also underestimated the effort to move things, which took longer as well so at the end we just made it the following day.</p>

<h3>Movers</h3>

<p>A blessing when you don&#8217;t have enough friends to tire. In the past, we would have friends help us move, which worked quire well with 10-15 people who could effectively pack and unpack things into a big truck in ~2h. Short and sweet as it should be (well, I can think of one exception). This time we went with a moving company. Revelation: movers are not superhumans &#8211; they do take breaks (there&#8217;s no free lunch, literally &#8211; you do pay for their lunch) and they get tired. We ordered two movers (well, three including me) and as you would think the #movers * time stays around the same.  Guess how long it took us? 7.5 hours <img src='http://tadek.pietraszek.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  Wish had taken four movers.</p>

<h3>Cellar</h3>

<p>OMG how is it possible that so many things fit into such a small space??? I still cannot comprehend this (the movers seem to have been equally puzzled). I think the secret is tight vertical packing (we were packed top-to-bottom really) and insufficient number  of packing boxes leaving us with lots of loose pieces.</p>

<h3>Packing boxes</h3>

<p>They rock. Not just any packing boxes, but IKEA packing boxes. We tried Bauhaus and OBI and they are twice the price and half the quality. It somehow seems it&#8217;s only IKEA that managed to mold cardboard into a shape that is easy to assemble and can comfortably take 30-35kg of stuff in. Moving boxes are the blood vessels of a successful move as they allow you to efficiently move lots of small and awkward stuff to the car and back. They are also easily stackable in the car itself. How many boxes do you need? Take a rough estimate and multiply by two. We had something like 40, should have had at least 50. The nice thing is that if you have too many, you can always return unopened boxes (no pun intended) back to IKEA.</p>

<h3>Plastic Wrap</h3>

<p>Mover&#8217;s blessing. We bought a huge 40cm roll and used it all. It&#8217;s amazing how easily we managed to wrap two entire sofa, double mattress or chairs. The wrap prevents things from getting dirty and makes them easier to grip. It won&#8217;t do wonders protecting hard edges or corners, but you can use bubble wrap for this.</p>

<h3>Bubble Wrap</h3>

<p>Another greatest invention after sliced bread. Plus after the move, you can pop it till you get bored to death. We used it to protect scratchable surfaces and corners (the laters need to be reinforced with padding paper).</p>

<h3>Cleaning</h3>

<p>In Switzerland, you almost always need to get a professional cleaning company to clean the apartment you&#8217;re leaving for you. First, you will never be able to please the landlord (my favorite checking spots include taking out plastic covers from the wire fridge shelves and air vents to verify if they were cleaned). Second, it probably takes 1-2 days to get it really right and you will have other things to do during this time. Cleaning companies are a racket and the first quote you get is often twice as high. If you shop around, you will get something for half the price (often the same company which will lower the pice by as much as 50% without blinking when you tell them you got a counteroffer ). Only get cleaning with a warranty &#8211; they will make sure the landlord is happy.</p>

<h3>Insurance</h3>

<p>Most people in Switzerland have a third-party liability insurance, which covers most of the cost the landlord may charge you on your departure (barring self deductible). Effectively, you&#8217;re not liable for anything more than $300, so, like with health-insurance costs, you tend to get overcharged. I have seen landlord try to charge for wall painting (got it down to 30% as the walls are supposed to be painted every X years anyways) or $200 for a $10 worth skirting.</p>

<h3>Lights</h3>

<p>In Switzerland people take lights with them. This means that the apartment stays with bare live wires hanging off the ceiling. Wait &#8211; you probably don&#8217;t want to leave live wires &#8212; install wire nuts / luster terminals.</p>

<p>Happily typed in our new place (with half of the boxes unopened still).</p>

<p>T.</p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2011/05/03/moving-glossary/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OSX &#8211; Broken NX/X11 after a recent upgrade</title>
		<link>http://tadek.pietraszek.org/blog/2010/09/14/osx-broken-nxx11-after-a-recent-upgrade/</link>
		<comments>http://tadek.pietraszek.org/blog/2010/09/14/osx-broken-nxx11-after-a-recent-upgrade/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 20:53:03 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
		
		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=472</guid>
		<description><![CDATA[After a recent OSX (Leopard) security update, my NX client failed to start (with a cryptic &#8220;session timed out&#8221; error). There were no other error messages of any kind, which was a bit puzzling. After a bit of investigation, I found out that X11 failed to start as well&#8230; we&#8217;re onto something. $ /Applications/Utilities/X11.app/Contents/MacOS/X11.bin Library [...]]]></description>
			<content:encoded><![CDATA[<p>After a recent OSX (Leopard) security update, my NX client failed to start (with a cryptic &#8220;session timed out&#8221; error). There were no other error messages of any kind, which was a bit puzzling. After a bit of investigation, I found out  that X11 failed to start as well&#8230; we&#8217;re onto something.</p>

<pre><code>$ /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
Library not loaded: /usr/X11/lib/libX11.6.dylib Referenced from: /Applications/Utilities/X11.app/Contents/MacOS/X11.bin Reason: Incompatible library version: X11.bin requires version 10.0.0 or later, but libX11.6.dylib provides version 9.0.0
</code></pre>

<p>Aha, is seems like <a href="http://xquartz.macosforge.org/trac/ticket/383">this error</a> (weird, the bug looks rather old). Anyways, I reinstalled <a href="http://xquartz.macosforge.org/trac/wiki/X112.5.3">X11</a> and&#8230;. voila&#8230; things are happy again. Or, are they?</p>

<p>It turned out that <a href="http://xmonad.org/">xmonad</a> stopped responding to my <code>mod1</code> key (did I mention that I use xmonad and NX to work on a remote Linux station?). Again a bit of googling and I found the <a href="http://tylerkieft.com/archives/2006/10/05/redefine-the-x11-meta-key-in-mac-os-x/">magic checkbox to uncheck</a> (I must have set it long time ago an the setting got flushed when I reinstalled X11).</p>

<p>T.</p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2010/09/14/osx-broken-nxx11-after-a-recent-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gratuliere Bergführer Nielsen &amp; Nielsen!</title>
		<link>http://tadek.pietraszek.org/blog/2010/09/07/gratuliere-bergfuhrer-nielsen-nielsen/</link>
		<comments>http://tadek.pietraszek.org/blog/2010/09/07/gratuliere-bergfuhrer-nielsen-nielsen/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 07:23:20 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
		
		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=465</guid>
		<description><![CDATA[Thanks to Ulf &#038; Lars for organizing this fantastic tour last weekend.]]></description>
			<content:encoded><![CDATA[<p>Thanks to Ulf &#038; Lars for organizing this fantastic tour last weekend.</p>

<p><a href="http://www.flickr.com/photos/dyregod/sets/72157624889444010/"><img src="http://farm5.static.flickr.com/4103/4963055548_7bf1036bab_z.jpg"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2010/09/07/gratuliere-bergfuhrer-nielsen-nielsen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress replacement?</title>
		<link>http://tadek.pietraszek.org/blog/2010/09/03/wordpress-replacement/</link>
		<comments>http://tadek.pietraszek.org/blog/2010/09/03/wordpress-replacement/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 19:49:59 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
		
		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=381</guid>
		<description><![CDATA[Being frustrated with soooo many security vulnerabilities of my current blogging engine, I decided to find a replacement. Here&#8217;s a list of requirements I came up with: Not written in PHP No known security vulnerabilities. Supports customization &#8211; I would like to have a Tadek&#8217;s theme on it. Can import my current blog content. Supports [...]]]></description>
			<content:encoded><![CDATA[<p>Being frustrated with <a href="http://www.securiteam.com/products/W/Wordpress.html">soooo many security vulnerabilities</a> of my current blogging engine, I decided to find a replacement. Here&#8217;s a list of requirements I came up with:</p>

<ol>
<li>Not written in PHP</li>
<li>No known security vulnerabilities.</li>
<li>Supports customization &#8211;  I would like to have a Tadek&#8217;s theme on it.</li>
<li>Can import my current blog content.</li>
<li>Supports markdown (or a similar syntax. The only thing I hate more than writing html, are bad UIs for generating it).</li>
</ol>

<p>Since I already have a server, I didn&#8217;t want to go for a <a href="http://mashable.com/2007/08/06/free-blog-hosts">hosted solution</a> (though I may change my mind on this one, as I did with my e-mail).   I quickly discovered that excluding PHP, there&#8217;s <a href="http://en.wikipedia.org/wiki/List_of_content_management_systems">little out there</a>. Also, I didn&#8217;t want to jump to a full-bodied CMS for my puny website.</p>

<p>The more I thought about it, the more I realized I wanted have something very much like WordPress (willing to compromise on some bells and whistles like WYSIWYG editor I personally hate) that is not-Wordpress. Knowing what I to look for, I quickly came across <a href="http://zine.pocoo.org/">Zine</a>, which is exactly what I was looking for:</p>

<ol>
<li>It&#8217;s written in Python. Yay!</li>
<li>It&#8217;s seems pretty nicely written and haven&#8217;t seen any mentions of security vulnerabilities (given, it&#8217;s a niche product).</li>
<li>It&#8217;s really nice &#8211; I ported Tadek&#8217;s theme in no time. I also really liked the templating language.</li>
<li>I managed to import my blog content in 2 min (I spent another 100 trying to identify two records-of-death).</li>
<li>It has a markdown plugin. Yay!</li>
</ol>

<p>While playing with Zine, I realized that PHP, with all its drawbacks and issues, has one big advantage: most programs are simple drag-n-drop and modules are very well supported on Debian I run. Having gone through a mixture of obsolete Python modules and easy_install, I started to appreciate simplicity. Ah, did I mention that my swigged psql module would crash apache workers with SEGV at random times?</p>

<p>It sounded like a challenge and, after two evenings, I actually do have a running Zine-powered WordPress replica in Python (I even started implementing some missing functions like adding counts to post categories and search function). The admin UI is awesome and I really like it. With a few days of evening hacking, I would have a really awesome blog in Python. It was only that when I realized that&#8230; the Zine and Python are slow. Not just slow, but it&#8217;s <em>excruciatingly slow</em>. My server is not the most powerful machine and having to wait almost 10s for the initial page load was way more than I could handle (to give justice, you can enable mamcache/file based caching). This is when I decided to grind my teeth, upgrade the WordPress blog one more time and give another try.</p>

<p>As of now, I am still not writing Zine off, but WordPress is to stay for now (well, at least till I get really annoyed).</p>

<p>T.</p>

<p>PS. I still cannot comprehend why getting WordPress behind SSL (under a different path) is <a href="http://codex.wordpress.org/Administration_Over_SSL">sooooo hard</a>. There used to be a <a href="http://wordpress.org/extend/plugins/admin-ssl-secure-admin/">plugin</a> that did this but it since stopped working. But then WordPress&#8217;s security track record shows that maybe there&#8217;s more to worry about than somebody sniffing your password &#8211; just don&#8217;t reuse it <img src='http://tadek.pietraszek.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>

<p>PPS. <a href="http://android.wordpress.org/">WordPress Android app</a> is awesome and just works. I can share photos I took with just a few clicks.</p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2010/09/03/wordpress-replacement/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Gmail launches Priority Inbox</title>
		<link>http://tadek.pietraszek.org/blog/2010/08/31/gmail-launches-priority-inbox/</link>
		<comments>http://tadek.pietraszek.org/blog/2010/08/31/gmail-launches-priority-inbox/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 07:23:38 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
		
		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=454</guid>
		<description><![CDATA[Go Annie. Go!]]></description>
			<content:encoded><![CDATA[<p>Go Annie. Go!
<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/5nt3gE9dGHQ?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/5nt3gE9dGHQ?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2010/08/31/gmail-launches-priority-inbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I am on the cover!</title>
		<link>http://tadek.pietraszek.org/blog/2010/08/28/i-am-on-the-cover/</link>
		<comments>http://tadek.pietraszek.org/blog/2010/08/28/i-am-on-the-cover/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 12:00:37 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
		
		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=402</guid>
		<description><![CDATA[Second from the top &#8220;Diagonal&#8221; (6a) at Ueschenen &#8211; an awesome climb with SAC!]]></description>
			<content:encoded><![CDATA[<p><img style="display:block;margin-right:auto;margin-left:auto;" alt="image" src="http://tadek.pietraszek.org/blog/wp-content/uploads/2010/09/tadek-uto-cover.jpg" /><br /></p>

<p>Second from the top <img src='http://tadek.pietraszek.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  &#8220;Diagonal&#8221; (6a) at Ueschenen &#8211; an awesome climb with SAC!</p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2010/08/28/i-am-on-the-cover/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Life is Orange</title>
		<link>http://tadek.pietraszek.org/blog/2010/07/28/life-is-orange/</link>
		<comments>http://tadek.pietraszek.org/blog/2010/07/28/life-is-orange/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 22:34:11 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
		
		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=389</guid>
		<description><![CDATA[One of the highlights of summer in Zurich is the Orange cinema by the lake. The cinema plays one movie a night mid-Jul till mid-Aug and, as with many good things in Zurich, most tickets sell out on the first day. PS: I took this photo with my Nexus One and uploaded it using an [...]]]></description>
			<content:encoded><![CDATA[<p>One of the highlights of summer in Zurich is the <a href="http://www.orangecinema.ch/de/zh_index.php">Orange cinema by the lake</a>. The cinema plays one movie a night mid-Jul till mid-Aug and, as with many good things in Zurich, most tickets sell out on the first day.</p>

<p><img style="display:block;margin-right:auto;margin-left:auto;" alt="image" src="http://tadek.pietraszek.org/blog/wp-content/uploads/2010/07/wpid-IMG_20100719_214027.jpg" /></p>

<p>PS: I took this photo with my Nexus One and uploaded it using an <a href="http://android.wordpress.org/">Android app</a>. Cool.</p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2010/07/28/life-is-orange/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tadek&#8217;s back?</title>
		<link>http://tadek.pietraszek.org/blog/2010/07/27/tadeks-back/</link>
		<comments>http://tadek.pietraszek.org/blog/2010/07/27/tadeks-back/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 12:09:34 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
		
		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=379</guid>
		<description><![CDATA[It&#8217;s been&#8230; almost two years since I blogged anything, so I think it&#8217;s time to do something about it, either declare blogging dead for me or&#8230; start posting again? With a plethora of ways of expressing yourself on the web, including tweeting, status updates, buzzing, broadcasting yourself, not to mention blogging (which seems so passé [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been&#8230; almost two years since I blogged anything, so I think it&#8217;s time to do something about it, either declare blogging dead for me or&#8230; start posting again? <img src='http://tadek.pietraszek.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>

<p>With a plethora of ways of expressing yourself on the web, including <a href="http://www.twitter.com">tweeting</a>, <a href="http://en.wikipedia.org/wiki/Facebook_features">status updates</a>, <a href="http://www.google.com/buzz">buzzing</a>, <a href="http://www.youtube.com">broadcasting yourself</a>, not to mention blogging (which seems so passé by now) there&#8217;s little excuse and maybe the reason for silence is the most dreaded obvious&#8230; maybe don&#8217;t have that much to share? <img src='http://tadek.pietraszek.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>

<p>To prove wrong, I am making a resolution to resume short and more regular blogging.</p>

<p>T.</p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2010/07/27/tadeks-back/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cake++</title>
		<link>http://tadek.pietraszek.org/blog/2008/12/13/cake/</link>
		<comments>http://tadek.pietraszek.org/blog/2008/12/13/cake/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 22:49:29 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
		
		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=377</guid>
		<description><![CDATA[We recently visited our friends who started their own start-up. No, not in the Silicon Valley, but here in Kilchberg. And not in IT, but in pâtisserie. http://cake-plus.ch/ We heard the chocolate cake is to die for. We are so getting it for Christmas, topped with Christmas decorations. Sweet]]></description>
			<content:encoded><![CDATA[<p>We recently visited our friends who started their own start-up. No, not in the Silicon Valley, but here in Kilchberg. And not in IT, but in pâtisserie.</p>

<p><a href="http://cake-plus.ch/">http://cake-plus.ch/</a></p>

<p>We heard the <a href="http://www.cake-plus.ch/Web-Site/Meine%20Produkte.html">chocolate cake</a> is to die for. We are so getting it for Christmas, topped with Christmas decorations. Sweet <img src='http://tadek.pietraszek.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2008/12/13/cake/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Talking TLS to SMTP</title>
		<link>http://tadek.pietraszek.org/blog/2008/12/02/talking-tls-to-smtp/</link>
		<comments>http://tadek.pietraszek.org/blog/2008/12/02/talking-tls-to-smtp/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 13:06:48 +0000</pubDate>
		<dc:creator>tadekp</dc:creator>
		
		<guid isPermaLink="false">http://tadek.pietraszek.org/blog/?p=375</guid>
		<description><![CDATA[I recently wanted to test TLS with SMTP. I followed instructions on http://qmail.jms1.net/test-auth.shtml and got it to work in less than 30s In short: perl -MMIME::Base64 -e 'print encode_base64("\000user\000password")' openssl s_client -starttls smtp -crlf -connect &#60;ip&#62;:&#60;port&#62; auth &#60;auth_command&#62; mail from:&#60;tadek@pietraszek.org&#62; rcpt to:&#60;tadek@pietraszek.org&#62; data ... . Interestingly, when I tried typing RCPT s_client would interpret it [...]]]></description>
			<content:encoded><![CDATA[<p>I recently wanted to test TLS with SMTP. I followed instructions on  <a href="http://qmail.jms1.net/test-auth.shtml">http://qmail.jms1.net/test-auth.shtml</a> and got it to work in less than 30s <img src='http://tadek.pietraszek.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>

<p>In short:
<pre>
perl -MMIME::Base64 -e 'print encode_base64("\000user\000password")'
openssl s_client -starttls smtp -crlf -connect &lt;ip&gt;:&lt;port&gt;
auth &lt;auth_command&gt;
mail from:&lt;tadek@pietraszek.org&gt;
rcpt to:&lt;tadek@pietraszek.org&gt;
data
...
.
</pre></p>

<p>Interestingly, when I tried typing <code>RCPT</code> s_client would interpret it as &#8220;renegotiate&#8221;, which confused me a bit, but you can inhibit it with <code>--quiet</code> or type it in lowercase like I did <img src='http://tadek.pietraszek.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>

<p>T.</p>
]]></content:encoded>
			<wfw:commentRss>http://tadek.pietraszek.org/blog/2008/12/02/talking-tls-to-smtp/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

