Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use Pine to access .Mac email with IMAP and SSL UNIX
If you get the most recent build of pine (I recommend fink install pine-ssl), you can access your mac.com email via IMAP and be protected by SSL -- at least, some of the time. Between pine's SSL implementation and Apple's mail.mac.com server, you'll only get a connection half the time. I don't know who's to blame. Here's what you do:

From the pine main menu, hit 'S' for Setup and 'C' for Config. Use the down-arrow to move down to inbox-path and hit 'C' to Change the value to this:
{mail.mac.com/ssl/novalidate-cert/user=username}INBOX
Of course change username to your mac.com email address username.

When you start up pine, it will ask you for your password, except that you'll probably find that half the time pine gets some kind of SSL negotiation error, and you have to restart it.

Theoretically you ought to be able to use the Folder Collections ('S','L', from the main menu) and not muck about with your primary inbox, but I had much less success with that.
    •    
  • Currently 1.00 / 5
  You rated: 1 / 5 (2 votes cast)
 
[5,677 views]  

Use Pine to access .Mac email with IMAP and SSL | 4 comments | Create New Account
Click here to return to the 'Use Pine to access .Mac email with IMAP and SSL' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Not a new feature in pine
Authored by: babbage on Oct 28, '02 11:13:07AM

Pine has had support for IMAP-SSL for a while now -- I was using it a year ago, and the feature may be even older than that. If you're having problems getting to a particular IMAP account, chances aren't bad that the problem isn't on Pine's end.

That said, there are a lot of places things can break down -- the mail client, the mal server, various ISPs and proxies in between, etc -- but you can be reasonably confident that Pine is a reliable link in this chain.



[ Reply to This | # ]
Another use for Pine
Authored by: jalex on Oct 28, '02 02:47:26PM

I like to use Mail.app when I'm at home, and Mail.app is configured to download all my mail and delete it from the server. When I'm at work, I want to be able to read my mail, so I just use pine to read Mail.app's mail file. This is a pretty easy one. In a shell, just do the following:

cd ~/mail (this changes directories to where pine looks for mail folders)
ln -s /Users/<you>/Library/Mail/<your account>/INBOX.mbox/mbox ./my-account-inbox

In the above, <you> is your local user name, and <your account> is the email account you're getting mail from (if you look in that directory, the names are obvious). The final part, (./my-account-inbox) is what you want the mail folder to be called when pine sees it. Since I use AT&T broadband's email, I called mine att-inbox.

Anyway, now if you run pine and go to the folder list, you'll see your my-account-inbox right there. As long as Mail.app is running while you're out, it'll keep fetching mail and writing it to your mailbox. pine will notice the changes at regular intervals, or you can hit Ctrl-L while in the index screen to get it to check for anything new. Keep in mind that this just causes pine to check the mailbox file - it doesn't make Mail check with your mail provider for mail.

To do that, you could write an AppleScript that can be run from the command line that causes Mail to wake up and check your email. Run osascript with this:

tell application "Mail"
check for new mail
end tell

Any new mail will get pushed into your mailbox file, so it'll be available to pine.

One final note: I've only done this with POP accounts, but I assume that for downloading email via IMAP, Mail still uses the unix mailbox format that pine can read.



[ Reply to This | # ]
Another use for Pine
Authored by: rharder on Oct 29, '02 07:56:12AM

That's even better than my IMAP tip. I looked into the way Mail stores IMAP folders, and no, it doesn't appear to be the traditional unix way. It's some IMAP way (imagine that!). Anyhoo, I may just forward my mac.com email to a pop server then... We'll see.

-Rob



[ Reply to This | # ]
Accessing Folders, Sending Mail
Authored by: nchapman on Sep 18, '05 09:02:55AM

I found it easy enough to configure PINE to get my mail in my .Mac inbox, but I am having no luck getting it to send mail, or to give me access to my other IMAP folders on .Mac - and I'd appreciate any help. It's been 12 years since I used PINE and I'm rusty as all heck.



[ Reply to This | # ]