From JhuAcmWiki
[edit]
Email!
Use these settings to access your account from a mail program:
- Protocol: IMAP
- Server: secure.acm.jhu.edu
- SSL or TLS encryption enabled
- Username: Your ACM username
- Password: Your ACM password
[edit]
IMAP Information
If you want to migrate from mbox (pine's default) to imap, you can take the following steps:
- Create or modify the .forward file in your home directory to include the line:
~/Maildir/
Note that the trailing slash is important.
- Issue the following commands:
wget http://untroubled.org/mbox2maildir
mkdir -p ~/Maildir/
cp ~/mbox{,.backup}
./mbox2maildir ~/mbox ~/Maildir/
If you peek into the ~/Maildir directory now, you'll see the directories "new", "cur", and "tmp". Those are used by the IMAP server to hold new and read mail respectively, and then "tmp" is used to prevent damage to the other two.
- Make sure the relevant parts of your .pinerc file look like this:
inbox-path={secure.acm.jhu.edu}INBOX
default-fcc={secure.acm.jhu.edu}INBOX.sent-mail
default-saved-msg-folder={secure.acm.jhu.edu}INBOX.saved-messages
postponed-folder={secure.acm.jhu.edu}INBOX.postponed-msgs
folder-collections=Main {secure.acm.jhu.edu}INBOX.[]
You can now use both a client like Thunderbird and pine and your mail will be in sync.
[edit]
IMAP+Pine Automatic Login
- Issue the following command:
touch ~/.pine_passwd chmod 600 ~/.pine_passwd
- Open .pinerc and modify it reflect the following sections:
inbox-path={secure.acm.jhu.edu/user=USERNAME/tls}INBOX
default-fcc={secure.acm.jhu.edu/user=USERNAME/tls}INBOX.sent-mail
default-saved-msg-folder={secure.acm.jhu.edu/user=USERNAME/tls}INBOX.saved-messages
postponed-folder={secure.acm.jhu.edu/user=USERNAME/tls}INBOX.postponed-msgs
folder-collections=Main {secure.acm.jhu.edu/user=USERNAME/tls}INBOX.[]
Be sure to replace USERNAME with your username!
- Run pine:
pine -passfile /home/USERNAME/.pine_passwd
- You may want to run pine through a script:
vi ~/mypine #!/bin/sh pine -passfile /home/USERNAME/.pine_passwd chmod u+x mypine
You probably don't want to use alias, because someone using ps can find your super-secret pine password file.

