Pine
From Silenceisdefeat
We advise that you use the University of Washington's PINE, which you can access by running the "pine" command.
Contents |
Help
Setting up pine to read your mail on SD
These directions are adapted from this excellent page
Why do we need special instructions?
SD runs alpine 2.00 from OpenBSD's ports, which does not support the maildir format. Postfix on SD delivers in the maildir format. This is what you do to get pine to read your mail on sd.
Essentially you will have alpine run a local imapd server for you whenever you want to check your mail, which does understand maildir, and pine will read your mail from that local server.
Directions
Create this file in your home directory:
courier-imapd-noerr.sh
Put this in the file:
#!/bin/sh umask 0077 cd $HOME && /usr/local/bin/imapd ~/.mail 2>/dev/null
Put this at the end of your ~/.pinerc, replacing <path/to/your/home> with the path to your home dir. You cannot use $HOME or ~ here, you need the actual path.:
inbox-path={localhost}INBOX
default-fcc={localhost}INBOX.sent-mail
default-saved-msg-folder={localhost}INBOX.saved-messages
postponed-folder={localhost}INBOX.postponed-msgs
ssh-path=/bin/sh
ssh-command="%s <path/to/your/home>/courier-imapd-noerr.sh %s %s %s"
folder-collections=localhost {localhost}INBOX.[]
And now open up pine. You should be able to read your mail.

