Configuring Pine

These instructions apply to Pine 4.58+ and the pine program must support SSL or TLS. At the present time, the pine program on the Astro network does not support any form of encryption and therefore cannot be used with CalMail. CalMail has followed a campus wide network security directive in blocking all unencrypted access.

You can use Marshall Perrin's version of pine that has SSL and TLS enabled by running ~mperrin/software/bin/pine.

To determine if your pine does support SSL or TLS, try the following:

% pine -supported
Supported features in this Pine

Encryption:
TLS and SSL
...
Open the file ~/.pinerc and make sure the following parameters are set:

user-domain=astro.berkeley.edu

smtp-server=calmail.berkeley.edu/ssl/novalidate-cert/user=<your calmail user id>

inbox-path={calmail.berkeley.edu/ssl/novalidate-cert/user=<your calmail user id>}INBOX

folder-collections=CalMail {calmail.berkeley.edu/ssl/novalidate-cert/user=<your calmail user id>}[], Astron mail/[]

Be sure that you substitute <your calmail user id> with your actual id that you created and you are sure works.

There are many other configuration options that can reside in the .pinerc file, these are for the primary e-mail account that pine will access.

The novalidate-cert option is to avoid a persistent error in validating calmail's SSL certificate, this is generally less secure than if it were validated but validation is not a gaurantee against a man in the middle attack

Now start pine and follow the prompts!

Marshall Perrin has noted that there are problems with how Mac OS X's Mail.app imports mailboxes that pine does not have:

"I found that moving all of my folders into CalMail *from within Pine* was more successful than using Mail.app's mbox import feature, which lost all of the Replied-to or Forwarded status flags. Pine handled this just fine. (My method: move into folder Astron/foo, select all messages, apply "save as" to all messages, to folder CalMail/foo, check that it worked, then delete the folder Astron/foo.)"

He also contributed the useful configuration line for folder-collections:
"Then you can access all of the folders defined on both CalMail or locally on astron. I put the CalMail collection first so it's the default, but one could just as well do it the other way around."

Home HowTos