<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://codeschmie.de/feeds/atom.xml" rel="self" title="codeschmie.de" type="application/atom+xml" />
    <link href="http://codeschmie.de/"                        rel="alternate"    title="codeschmie.de" type="text/html" />
    <link href="http://codeschmie.de/rss.php?version=2.0"     rel="alternate"    title="codeschmie.de" type="application/rss+xml" />
    <title type="html">codeschmie.de</title>
    <subtitle type="html">Something wicked this way comes.</subtitle>
    <icon>http://codeschmie.de/templates/default/img/s9y_banner_small.png</icon>
    <id>http://codeschmie.de/</id>
    <updated>2010-05-18T19:46:57Z</updated>
    <generator uri="http://www.s9y.org/" version="1.5.3">Serendipity 1.5.3 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://codeschmie.de/archives/318-Das-Ende-einer-AEra.html" rel="alternate" title="Das Ende einer Ära" />
        <author>
            <name>fa</name>
                    </author>
    
        <published>2010-05-18T19:37:37Z</published>
        <updated>2010-05-18T19:46:57Z</updated>
        <wfw:comment>http://codeschmie.de/wfwcomment.php?cid=318</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://codeschmie.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=318</wfw:commentRss>
    
            <category scheme="http://codeschmie.de/categories/1-Studium" label="Studium" term="Studium" />
    
        <id>http://codeschmie.de/archives/318-guid.html</id>
        <title type="html">Das Ende einer Ära</title>
        <content type="xhtml" xml:base="http://codeschmie.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Angefangen hab ich dieses Blog (oder diesen, wie man mag) wohl im Dezember 2004, da war ich noch relativ frisch im Studium. Aus der Beschreibung vom Leben eines Infostudenten wurde ein gemischtes Allerlei. Einige Jahre später bin ich dann auch mal fertig, das Diplom ist abgeholt, der CIP-Shell-Account aufgeräumt und grad hab ich meinen Mailaccount ausgeleert. <br />
<br />
Das war im übrigen nicht ganz trivial. Neue Shell nach der ersten Zeile, dann die Passwörter in .pass-local und .pass-remote schreiben und ab gehts. Die letzte Zeile ist für Thunderbird oder dovecot, einer von beiden schnallt keine Unterordner, die nicht selber angelegt wurden.<br />
<br />
<div class="bash geshi" style="text-align: left"><br /><span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-L</span> <span style="color: #000000;">8143</span>:imap.remote:<span style="color: #000000;">143</span> user<span style="color: #000000; font-weight: bold;">@</span>shell.remote<br />imapsync <span style="color: #660033;">--host1</span> localhost <span style="color: #660033;">--user1</span> user <span style="color: #660033;">--port1</span> <span style="color: #000000;">8143</span> <span style="color: #660033;">--passfile1</span> .pass-remote <span style="color: #660033;">--host2</span> localhost <span style="color: #660033;">--user2</span> localuser <span style="color: #660033;">--prefix2</span> <span style="color: #ff0000;">'INBOX.Uni.'</span> <span style="color: #660033;">--passfile2</span> .pass-local <span style="color: #660033;">--noauthmd5</span> <span style="color: #660033;">--exclude</span> <span style="color: #ff0000;">'^INBOX.spambox'</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">tee</span> out.txt<br /><span style="color: #c20cb9; font-weight: bold;">find</span> Maildir <span style="color: #660033;">-type</span> d <span style="color: #660033;">-name</span> <span style="color: #ff0000;">&quot;*Uni*&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-v</span> <span style="color: #ff0000;">&quot;/cur&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-v</span> <span style="color: #ff0000;">&quot;/tmp&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-v</span> <span style="color: #ff0000;">&quot;/new&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s:Maildir/\.::'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> Maildir<span style="color: #000000; font-weight: bold;">/</span>subscriptions<br />&#160;</div><br />
<br />
Bleibt nur noch die Frage, was jetzt draus wird.  
            </div>
        </content>
        <dc:subject>imap</dc:subject>
<dc:subject>imapsync</dc:subject>
<dc:subject>lmu</dc:subject>
<dc:subject>mail</dc:subject>
<dc:subject>shell</dc:subject>
<dc:subject>uni</dc:subject>

    </entry>

</feed>