Dealing with Outlook 2007

13/07/2009

You can use conditional comments to target Outlook 2007.

A common problem is that unordered lists do not appear with bullets. This can be fixed using:

<!--[if gte mso 9]>
<style>
ul {
   margin: 0 0 0 24px;
   padding: 0;
   list-style-position: inside;
}
</style>
<![endif]-->

More details at: http://www.campaignmonitor.com/blog/post/1774/using-conditional-comments-to-1/

No Comments

Bouncing Email with Mutt

5/07/2006

Here’s how to bounce a load of messages that have built up in a mailbox to another email address:

Download a mailbox file to a machine with mutt.

mutt -f /path/to/mailbox

SHIFT-T to tag messages

.* to tag all messages (there is supposed to be a full stop before the star here)

;b to bounce messages

Enter bounce address

Press Y to confirm

No Comments

IMAP migration with imapsync

10/02/2006

Discovered an awesome tool called imapsync which does recursive IMAP transfers from one mailbox to another.

I created a file called mailboxes.csv with a list of usernames and passwords, semicolon delimited:

chris;password
russell;password

And wrote a really quick shell script to execute imapsync for each user:

#!/bin/sh
{ while IFS=';' read  u p ; do
imapsync --host1 gonzo --host2 animal --user1 "$u" --password1 "$p" --user2 "$u" --password2 "$p" --subscribe ...
done ; } > mailboxes.csv
No Comments