Archive for June 2009


Disable Mail-Forwarding for Lotus Notes programmatically

June 29th, 2009 — 08:53 pm

Lotus Notes has a nifty feature to lull managers into false safety: for volatile/unsafe e-mails (or users), it let’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’t trust with some information (but in his inability to spread the word otherwise - by copy/pasting for example), writing a mail would look like this:

prevent_copying

Now, if your victim wants to forward your mail, Lotus Notes would respond with a little pop-up:

success

This certainly looks like a magical and proprietary feature, doesn’t it?  Let’s look at the source of such a “mail”(aka memo in Notus’ language) - you will have to forward it to another mail-client though, because memos can’t be displayed in source:

...
Subject: Testnachricht
MIME-Version: 1.0
Sensitivity: Private
X-Mailer: Lotus Notes Release 6.5.5  CCH1 March 07, 2006
...

As you can see, there is a proprietary meta-flag Sensitivity: Private. 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:

import smtplib
from email.message import Message
msg = Message()
msg.set_payload("Testmessage Body")
msg["Subject"] = "Testmessage from Python"
msg["From"] = "preek@dispatched.ch"
msg["To"] = "somebody@somewhere.com"
msg["Sensitivity"] = "Private"
smtp = smtplib.SMTP("localhost")
smtp.sendmail("preek@dispatched.ch", "somebody@somewhere.com", msg.as_string())

But please, don’t use this information unless you absolutely have to. Lotus Notes.. *brr*.

Enjoy(;

If you liked this article, please feel free to re-tweet it and let others know.

twitter_preek

Requests: 289

1 comment » | articles

pTwittery.com released
Convert your Twitter timeline into a diary

June 25th, 2009 — 10:20 pm

I just released my newest program - pTwittery.com
It’s now online, but still in beta stage.

With pTwittery.com you may export all your tweets (aka timeline) into a diary. Your personal diary will then be sent to you via e-mail.

Enjoy, everyone(;

<a href=

If you liked this article, please feel free to re-tweet it and let others know.


    twitter_preek

Requests: 103

Comment » | articles

Server outage

June 25th, 2009 — 09:31 pm

Unfortunately my SUN Fire 280R has left me for good last friday. Let’s all give it a silent two minutes..

After a couple of dear years - spent configuring a nice little Solaris 10 setup, all I have left are a couple of zip files and sql dumps that were supposed to be my backup. And, of course, a lot of memories of that beast being installed by Felix, Falko and me in the first place.. Well.. those were the times - us sitting in the cellar, listening to the sound of Sun SPARC and DEC Alpha hardware - hooked up to private gigabit, trying to figure out why the hell everything is so different in Solaris than we were used to. Heck, it was a nice trip.

But I’m glad to finally put an end to this long gone era. I’m back on a rented dedicated server - running good old Debian stable; as I am supposed to.


Requests: 110

Comment » | personal