home of the madduck/ blog/ ocat/
madduck's droppings - blogs previously filed under the mail category

This page exists to ease the transition since I migrated my blog to a new software. You are interested in the posts previously filed in the “mail” category, which are listed below.

My new blog can be found at http://madduck.net/blog. Future articles, which would have been filed as “mail”, are going to show up here as well. However, please watch this space as these transitional pages may disappear at some point.

A mail header field to specify action deadlines

While drafting emails to be sent out as part of my research, I just had an idea about a new mail header field, let’s call it X-Respond-By. This header field allows the sender to specify when s/he requests/requires/needs a response. The recipient could make use of this in multiple ways:

Obviously, care would have to be taken to prevent abuse, e.g. by some senders who make all their messages require responses on the next day. One way to achieve this would be to give the recipient sender-specific policies to ignore the field, extend it by a fixed period, or simply reject messages with the field set.

I already use a tickler system (which works locally as well as remotely) inspired by the GTD concept of a tickler file, which allows me to have email messages delayed to a given point in the future. I could very well imagine how such an approach could extend into a cooperative communication method.

I am looking forward to your comments.

Update: Jan Hudec wrote in to tell me about the Reply-By field used by Outlook, which sends messages with those headers:

X-Message-Flag: Follow up
Reply-By: Wed, 10 Sep 2008 12:00:00 +0200

According to Jan, this will

will mark the message with specific symbol,and at the time specified it will pop up a notification in the same way as it does for calendar events and after that it will show the mail in red in the index until it’s marked “completed”.

He also notes that Reply-By stems from X.400 via RFC 2156 and has indeed been standardised by RFC 4021.

I shall investigate this further when I have time.

NP: Foo Fighters: Echos, Silence, Patience & Grace

Posted Tue 09 Sep 2008 15:42:30 CEST Tags: ?gtd ?mail
Preventing mail loss due to braindead IMAP clients

It happened a number of times now that my inbox would shrink in message count without my explicit doing. Generally, your inbox automatically emptying should be conceived a good thing, but it isn’t always. It took me a while to put together the pieces:

I think I unvealed the mystery: some IMAP clients automatically mark read messages as deleted. Don’t ask me why, I did not configure it, and even though I told Thunderbird specifically not to do it, I have no other explanation than to assume that it doesn’t care about what I want, but marks them for deletion anyway. Firefox decides to block cookies several times a day, despite my explicit requests to store them, and the two are from the same project, so it seems plausible.

Once marked for deletion (by way of an IMAP flag), offlineimap propagates the flag to all clients. Since I set delete=yes for mutt, if I then open and close a mailbox with such messages without noticing them, the messages are purged.

I gave up fighting and solved the problem at a different point, namely mutt (which was doing the deleting anyway):

folder-hook . push '<undelete-pattern>~D<enter>'

Since mutt deletes mail marked for deletion when I close a mailbox, finding those messages at time of mailbox opening must mean that they have been marked outside of the mailer — I use mutt for everything, exclusively. So let’s undelete them.

I can’t see any negative consequences of the above hook.

NP: Oceansize: Efflorescence

Posted Sat 21 Jun 2008 08:06:30 CEST Tags: ?mail ?mutt ?offlineimap
Sending email via IMAP (or not?)

I am playing with the thought of using IMAP to send email from my mobile clients. The way this works is that mail is actually placed into a Maildir locally and synchronised with the IMAP server using a tool such as offlineimap. The Courier IMAP server supports such an outbox feature, for other servers you can use inotify or a cron job (I am planning to publish a writeup about my new mail setup sometime soon, so no scripts linked here yet).

Anyway, it’s trivial to get it working, and Dann Frazier has written it all up. The question is more whether I want to, or not. I am soliciting feedback.

The advantages of using an IMAP-synchronised outbox are:

Any solution with advantages comes with disadvantages, and these are:

Can you think of any other advantages or disadvantages? Do you use an IMAP-synchronised outbox and would like to share your experiences with me? Or do you have yet another solution? Write to me!

NP: OSI: Free

Posted Mon 06 Aug 2007 22:44:30 CEST Tags: ?mail