current setup (as of March 2016 - nik)
getmailvia IMAP with
maildropfor filtering/filing into local subfolders
smtpmail-stream-type 'ssl) to connect to remote smtp server
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
getmailto local Maildir folder (~Maildir/INBOX) also used by
dovecot(local IMAP server)). generally prefer 'pull' to 'push' at this point.
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)
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).
mu index when updating it's database.
[retriever] type = SimpleIMAPSSLRetriever server = example.com username = xxxxxxx password = xxxxxxx [destination] type = MDA_external path = /opt/local/bin/maildrop
# 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...]
(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 )