Using OKmail with Pine

What you need to know

Note 1: If you already know how to set up your client, and you already understand the information below, see this FAQ entry for the server information you need to set up your e-mail client. The Troubleshooting Issues section at the bottom of this page may be helpful if you have problems.

In order to use Pine with OKmail, you'll need to enter the following information:

Incoming/Outgoing Server Setup

Pine supports IMAP quite well, though the standard IMAP setup procedure through Pine doesn't seem to work at all. To setup Pine to use IMAP you will have to edit your .pinerc file directly as in the instructions below.

  1. On the command prompt, go to your home directory and edit your .pinerc with vi by entering the following commands (note that <enter> means press the 'enter' key, not literally the characters <enter>)
    cd<enter>
    vi .pinerc<enter>

  2. Go to the folder list configuration by typing
    /folder-collections<enter>

    You should see a listing something like:

    # List of directories where saved-message folders may be. First one is
    # the default for Saves. Example: Main {host1}mail/[], Desktop mail\[]
    # Syntax: optnl-label {optnl-imap-hostname}optnl-directory-path[]
    folder-collections=Mail mail/[]

  3. Add the new OKmail connection by typing:
    A,<enter>
    OKmail {mail.messagingengine.com/user=<jbloggs@okmail.net>/ssl}INBOX,<enter>
    OKmail-Folders {mail.messagingengine.com/user=<jbloggs@okmail.net>/ssl}INBOX.[],<enter>
    user-domain=mail.messagingengine.com,<enter>
    inbox-path={mail.messagingengine.com/user=<jbloggs@okmail.net>/ssl}INBOX

    You should now see something like this:

    # List of directories where saved-message folders may be. First one is
    # the default for Saves. Example: Main {host1}mail/[], Desktop mail\[]
    # Syntax: optnl-label {optnl-imap-hostname}optnl-directory-path[]
    folder-collections=Mail mail/[],
    OKmail {mail.messagingengine.com/user=<jbloggs@okmail.net>/ssl}INBOX
    OKmail-Folders {mail.messagingengine.com/user=<jbloggs@okmail.net>/ssl}INBOX.[]
    user-domain=mail.messagingengine.com
    inbox-path={mail.messagingengine.com/user=<jbloggs@okmail.net>/ssl}INBOX

  4. If this is correct, type:
    <esc>:wq<enter>

    Which should save the changes and quit, if there were any problems, type:

    <esc>:q!<enter>

    Which will quit and ignore any changes.

  5. You should now run pine and select 'Folder List' to see:
    PINE 4.33 COLLECTION LIST Folder: INBOX No Messages

    Mail
    Local folders in mail/

    OKmail
    Folders on okmail.net in INBOX.

    ? Help < Main Menu P PrevCltn - PrevPage
    O OTHER CMDS > [View Cltn] N NextCltn Spc NextPage W WhereIs


  6. Selecting the 'OKmail' item should then prompt you for your login name and password, and then bring up a list of your folders at OKmail

    PINE 4.33 FOLDER LIST Folder: INBOX No Messages

    Folders on okmail.net in INBOX.
    ------------------------------------------------------------------------

    Drafts[.] OKmail[.] Humour[.] Saved[.] Sent Items[.]
    Trash[.]











    [ALL of folder list]
    ? Help < ClctnList P PrevFldr - PrevPage A Add R Rename
    O OTHER CMDS > View Dir N NextFldr Spc NextPage D Delete W WhereIs


  7. You can then access, delete, move emails from OKmail using standard Pine commands.

To use SSL, you may need to get an updated root certificate. If Pine complains about a self-signed certificate, get the root certificate from here:

http://www.fastmail.fm/Entrust.net_Secure_Server_CA.pem

Put it where Pine is looking for it (/usr/lib/ssl/cert.pem/, /usr/local/ssl/cert/, etc) you should find the problem fixed.

Learning more about IMAP

IMAP is a powerful protocol that allows you keep to your email synchronised, whether you're at home, at work, at a friends place or an internet cafe. You don't have to worry about what computer the email is on, because all the email is kept on the server and each client sees the same 'view' of the email. See this FAQ page to learn more about IMAP

Troubleshooting Issues

  1. Pine keeps complaining about a self-signed certificate.

    Please make sure that you have followed the steps to use SSL in Incoming/Outgoing Server Setup correctly.

Last modified on: Wed May 14 12:00:00 UTC 2003