Alpine

From wikinotes

Alpine is another CLI based email client. Useful for ssh sessions, but command line utilities are neat in general. Very fast.

sudo pacman -S alpine abs

Install with support for remembering passwords

sudo abs extra/re-alpine
sudo mkdir /home/ABS
sudo chown will:will /home/ABS

cp -R /var/abs/extra/re-alpine /home/ABS
cd /home/ABS
sudo chown -R will:will re-alpine
cd re-alpine

edit PKGBUILD and change --without-passfile to --with-passfile=.pine-passfile

makepkg -s


Concepts:

Folder List = Accounts
Role = Autofill forms (can send email as role Will-Personal)



Initial Setup:

(S)etup > (C)onfig
  user domain: imap.googlemail.com
  smtp server: smtp.googlemail.com/ssl/user=willjpittman@gmail.com
      --(Do not worry, you can send emails from other accounts using roles)
  
  Enable Incoming Folders Collection
  Enable Incoming Folders Checking


Adding an Account

# Creating Account
(S)etup > (L)ist > (A)dd

Nickname: Work
Server: imap.googlemail.com/ssl/user=willjpittman@gmail.com



# Creating Role
(S)etup > (R)ule > (R)ole > (A)dd

Current Message Conditions:
  To Pattern: willjpittman@gmail.com

Actions Begin Here:
  Set From: willjpittman@gmail.com
  Use SMTP Server: smtp.googlemail.com/ssl/user=willjpittman@gmail.com

Users Begin Here:
  Reply Use: With Confirmation
  Forward Use: With Confirmation
  Compose USe: With Confirmation