{"id":158,"date":"2004-11-09T19:18:55","date_gmt":"2004-11-09T09:18:55","guid":{"rendered":"http:\/\/www.erisian.com.au\/wordpress\/?p=158"},"modified":"2004-11-09T19:18:55","modified_gmt":"2004-11-09T09:18:55","slug":"applemail-and-imap","status":"publish","type":"post","link":"https:\/\/www.erisian.com.au\/wordpress\/2004\/11\/09\/applemail-and-imap","title":{"rendered":"AppleMail and IMAP"},"content":{"rendered":"<p>Continuing my transition to Mac OS X as desktop of choice, I&#8217;ve been trying to get my email to work. Getting GPG working was happily easy &#8212; just a matter of downloading some stuff, and having AppleMail suddenly support signing email. It seems reasonable functional.<\/p>\n<p>Harder is dealing with the couple of hundred megs of &#8220;personal&#8221; mail I&#8217;ve saved over the past decade or so, filed in a few thousand different mailboxes; and the stupid number of lists I&#8217;m subscribed to. Currently I&#8217;m using mutt, and a couple of different directories to manage it all: &#8220;inbox&#8221; is a Maildir for personal mail, &#8220;lists\/&#8221; contains a different Maildir for each list I&#8217;m subscribed to, and &#8220;links\/&#8221; contains a different Maildir for everyone I&#8217;ve corresponded with. When I hit &#8220;s&#8221; to save a message, it&#8217;ll look at the From: and choose a Maildir to save to; when I send a message to someone, it looks at the To: and copies the outgoing mail to the same directory. Which isn&#8217;t perfect, but is okay.<\/p>\n<p>Doing the same with AppleMail would suck &#8212; while it at least uses mbox format for its storage, it surrounds it with a bunch of random cache files. So that seems to mean using a local IMAP server to manage my email. It&#8217;s been more of a struggle than I expected to get an IMAP server; fink doesn&#8217;t have any precompiled debs for Panther, and doesn&#8217;t have the server I wanted anyway (namely Courier IMAPD which supports Maildir format), and then that didn&#8217;t compile out of the box (gcc seems to think &#8220;<code>extern struct foo bar; struct foo bar;<\/code>&#8221; doesn&#8217;t define the structure, but is quite happy with &#8220;<code>extern struct foo bar; struct foo bar = {0};<\/code>&#8220;), and didn&#8217;t configure out of the box either (since PAM on Mac OS X is somewhat different to whatever it expected).<\/p>\n<p>And then, once I&#8217;d gotten that far and started poking at my mail, I get a <b>kernel panic<\/b>. Lovely. Sending my first email resulted in a reasonable success, albeit with some bodgy word wrapping. At least there was too much word wrapping rather than too little. And at least it actually ended up as plain text!<\/p>\n<p>So things are looking okay so far. Yet to try importing all my archived mail or deal with my mailing lists yet. Or setup the funky BSMTP stuff I use to get mail from there to here and back.<\/p>\n<p><b>UPDATE 2004\/11\/09:<\/b><\/p>\n<p>Erk, when you&#8217;re editing AppleMail wraps at the window size, which is 80 characters by default when you switch to the default fixed width font; but then switches to wrapping at 72 characters when you actually send the mail. And that&#8217;s a hard wrap if you&#8217;ve got an 80 character &#8220;word&#8221;, it gets broken after 72 characters. Eww. And it looks like it&#8217;s not something you can change at all. It&#8217;s also not something that only affects the text you type &#8212; it affects the entire message, including .sig and quoted text. Yay.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Continuing my transition to Mac OS X as desktop of choice, I&#8217;ve been trying to get my email to work. Getting GPG working was happily easy &#8212; just a matter of downloading some stuff, and having AppleMail suddenly support signing email. It seems reasonable functional. Harder is dealing with the couple of hundred megs of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/www.erisian.com.au\/wordpress\/wp-json\/wp\/v2\/posts\/158"}],"collection":[{"href":"https:\/\/www.erisian.com.au\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.erisian.com.au\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.erisian.com.au\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.erisian.com.au\/wordpress\/wp-json\/wp\/v2\/comments?post=158"}],"version-history":[{"count":0,"href":"https:\/\/www.erisian.com.au\/wordpress\/wp-json\/wp\/v2\/posts\/158\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.erisian.com.au\/wordpress\/wp-json\/wp\/v2\/media?parent=158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.erisian.com.au\/wordpress\/wp-json\/wp\/v2\/categories?post=158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.erisian.com.au\/wordpress\/wp-json\/wp\/v2\/tags?post=158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}