<?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>Alain M. Lafon &#187; lotus notes</title> <atom:link href="http://blog.dispatched.ch/tag/lotus-notes/feed/" rel="self" type="application/rss+xml" /><link>http://blog.dispatched.ch</link> <description>code, life and struggles thereof</description> <lastBuildDate>Mon, 16 Jan 2012 13:44:17 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Disable Mail-Forwarding for Lotus Notes programmatically</title><link>http://blog.dispatched.ch/2009/06/29/disable-mail-forwardin-for-lotus-notes-with-python/</link> <comments>http://blog.dispatched.ch/2009/06/29/disable-mail-forwardin-for-lotus-notes-with-python/#comments</comments> <pubDate>Mon, 29 Jun 2009 19:53:40 +0000</pubDate> <dc:creator>Alain M. Lafon</dc:creator> <category><![CDATA[articles]]></category> <category><![CDATA[forwarding]]></category> <category><![CDATA[ibm]]></category> <category><![CDATA[lotus notes]]></category> <category><![CDATA[mail]]></category> <category><![CDATA[mail forwarding]]></category> <category><![CDATA[mail-forward]]></category> <category><![CDATA[prevent copying]]></category> <category><![CDATA[proprietary]]></category> <category><![CDATA[python]]></category> <category><![CDATA[sensitivity private]]></category> <category><![CDATA[smtp]]></category> <guid
isPermaLink="false">http://blog.dispatched.ch/?p=871</guid> <description><![CDATA[Lotus Notes has a nifty feature to lull managers into false safety: for volatile/unsafe e-mails (or users), it let&#8217;s you disable printing/forwarding and copying to clipboard. This can be done using rules, on the SMTP server and on a per e-mail basis. When writing somebody you really don&#8217;t trust with some information (but in his [...]]]></description> <content:encoded><![CDATA[<p>Lotus Notes has a nifty feature to lull managers into <del
datetime="2009-06-29T17:07:46+00:00">false</del> safety: for volatile/unsafe e-mails (or users), it let&#8217;s you <a
href="http://www-01.ibm.com/support/docview.wss?rs=0&amp;uid=swg21085758">disable</a> printing/forwarding and copying to clipboard. This can be done using rules, on the SMTP server and on a per e-mail basis. When writing somebody you really don&#8217;t trust with some information (but in his inability to spread the word otherwise &#8211; by copy/pasting for example), writing a mail would look like this:</p><p><a
href="http://blog.dispatched.ch/wp-content/uploads/2009/06/prevent_copying.png" rel="lightbox[871]"><img
class="aligncenter size-full wp-image-872" title="prevent_copying" src="http://blog.dispatched.ch/wp-content/uploads/2009/06/prevent_copying.png" alt="prevent_copying" width="469" height="386" /></a></p><p>Now, if your victim wants to forward your mail, Lotus Notes would respond with a little pop-up:</p><p
style="text-align: center;"><a
href="http://blog.dispatched.ch/wp-content/uploads/2009/06/success.png" rel="lightbox[871]"><img
class="aligncenter size-full wp-image-874" title="success" src="http://blog.dispatched.ch/wp-content/uploads/2009/06/success.png" alt="success" width="411" height="106" /></a></p><p
style="text-align: left;">This certainly looks like a magical and proprietary feature, doesn&#8217;t it?  Let&#8217;s look at the source of such a &#8220;mail&#8221;(aka memo in Notus&#8217; language) &#8211; you will have to forward it to another mail-client though, because memos can&#8217;t be displayed in source:</p><pre>...
Subject: Testnachricht
MIME-Version: 1.0
<span style="color: #ff9900;"><span style="color: #993300;">Sensitivity: Private</span>
</span>X-Mailer: Lotus Notes Release 6.5.5  CCH1 March 07, 2006
...</pre><p>As you can see, there is a proprietary meta-flag <em>Sensitivity: Private</em>. It can be reproduced with any decent mail user agent or programmatically. What follows is a little Python code snippet that just does the trick:</p><p
style="text-align: left;"><pre class="brush: python; title: ; notranslate">
import smtplib
from email.message import Message
msg = Message()
msg.set_payload(&quot;Testmessage Body&quot;)
msg[&quot;Subject&quot;] = &quot;Testmessage from Python&quot;
msg[&quot;From&quot;] = &quot;preek@dispatched.ch&quot;
msg[&quot;To&quot;] = &quot;somebody@somewhere.com&quot;
msg[&quot;Sensitivity&quot;] = &quot;Private&quot;
smtp = smtplib.SMTP(&quot;localhost&quot;)
smtp.sendmail(&quot;preek@dispatched.ch&quot;, &quot;somebody@somewhere.com&quot;, msg.as_string())
</pre><p>But please, don&#8217;t use this information unless you absolutely have to. Lotus Notes.. *brr*.</p><p>Enjoy(;</p><p>If you liked this article, please feel free to re-tweet it and let others know.</p><table
border="0"><tbody><tr><td><script type="text/javascript">tweetmeme_url = 'http://blog.dispatched.ch/2009/06/29/disable-mail-forwardin-for-lotus-notes-with-python/';</script> <script src="http://tweetmeme.com/i/scripts/button.js" type="text/javascript"></script></td><td></td><td><a
href="http://twitter.com/preek"><img
class="alignnone" style="border: 0pt none;" title="twitter_preek" src="http://blog.dispatched.ch/wp-content/uploads/2009/05/twitter_preek.gif" border="0" alt="twitter_preek" width="180" height="18" /></a></td></tr></tbody></table> ]]></content:encoded> <wfw:commentRss>http://blog.dispatched.ch/2009/06/29/disable-mail-forwardin-for-lotus-notes-with-python/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> </channel> </rss>

<!-- W3 Total Cache: Minify debug info:
Engine:             disk: basic
Theme:              44184
Template:           tag
-->
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: blog.dispatched.ch @ 2012-02-10 15:24:02 -->

<!-- W3 Total Cache: Page cache debug info:
Engine:             disk: basic
Cache key:          w3tc_blog.dispatched.ch_1_page_45ada7e32a69809e4ba2e3d522db6e84_gzip
Caching:            enabled
Status:             not cached
Creation Time:      0.373s
Header info:
ETag:               "274915380f43058ea86f113a32d41d8b"
Last-Modified:      Mon, 16 Jan 2012 13:44:17 GMT
Vary:               Accept-Encoding, Cookie
X-Powered-By:       W3 Total Cache/0.9.2.4
Content-Encoding:   gzip
X-Pingback:         http://blog.dispatched.ch/xmlrpc.php
Content-Type:       text/xml; charset=UTF-8
-->
