Table of Contents

Emacs And Email

current setup (as of March 2016 - nik)

some notes…

overview

i'm taking some time to migrate from Thunderbird to mu4e as primary email interface (with potential benefits of an increase in intertwingularity and serendipity). A psuedo-iterative routine has developed over the years, roughly as follows

finding previous correspondence, follow-up, various details, etc+

current folder/maildir organisation; INBOX, Sent (and 'Drafts'), incubation (for responses, info, etc.), archive folders (one folder per decade and one for sent messages), sysadmin, Junk. (note: NO project based folders)

mail delivery

using getmail to deliver mail from remote server[s] to local maildir folders, with maildrop as a way of filing (filtering) messages into subfolders on the local machine. mu' maintains an index (using .noindex and .noupdate files where nec. to improve performance). mu4e runs getmail and mu index when updating it's database.

configs

~/.getmail/imap.conf

[retriever]
type = SimpleIMAPSSLRetriever
server = example.com
username = xxxxxxx
password = xxxxxxx

[destination]
type = MDA_external
path = /opt/local/bin/maildrop

~/.mailfilter

# filtering with maildrop

DEFAULT="$HOME/Maildir/INBOX"
MAILDIR="$HOME/Maildir"
logfile "$HOME/.mailfilter.log"

# archive list messages
if (/^List-id:.*/)
    to $MAILDIR/archiv-0201x

# sysadmin for the sysadmin
if (/^From:.*MAILER-DAEMON/)
    to $MAILDIR/sysadmin

# [etc...]    

mail reading, writing and referencing

mail sending

(setq
      message-send-mail-function 'smtpmail-send-it
      smtpmail-stream-type 'ssl
      smtpmail-default-smtp-server "mail.example.com"
      smtpmail-smtp-server "mail.example.com"
      smtpmail-smtp-service 465
)