|
|
@ -2,69 +2,64 @@
|
|
|
|
## overall design
|
|
|
|
## overall design
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
|
|
|
|
|
|
|
## Each of these configurations assume that I don't use the
|
|
|
|
## Each of these configurations assume that I don't use the web interfaces
|
|
|
|
## web interfaces (usually) for any of my servers and that I only
|
|
|
|
## (usually) for any of my servers and that I only use mu4e as my email client
|
|
|
|
## use mu4e as my email client (because I am smarter than my
|
|
|
|
## (because I am smarter than my smartphone).
|
|
|
|
## smartphone).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Further assumptions include that that the only "folders" (or labels)
|
|
|
|
## Further assumptions include that that the only "folders" (or labels) that I
|
|
|
|
## that I care about are inbox, archive, trash, and drafts (maybe).
|
|
|
|
## care about are inbox, archive, trash, drafts (maybe) and junk. Anything
|
|
|
|
## Anything beyond this turns email into something it is not (a
|
|
|
|
## beyond this turns email into something it is not (a terrible todo list). Junk
|
|
|
|
## terrible todo list). Spam/junk are useless to sync to a client
|
|
|
|
## is only useful for my hosted email so that I can train the bayesian filter.
|
|
|
|
## machine (unless something important "goes to junk" which in my
|
|
|
|
|
|
|
|
## experience is extremely rare).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## To elaborate on the folders I do care about:
|
|
|
|
## To elaborate on the folders I do care about:
|
|
|
|
## - Inbox is the main interaction point with the email server/client.
|
|
|
|
##
|
|
|
|
## Mail comes in and I make the decision to reply (keep thread open in
|
|
|
|
## - Inbox is the main interaction point with the email server/client. Mail
|
|
|
|
## inbox), archive (important enough to keep, but not enough to stay
|
|
|
|
## comes in and I make the decision to reply (keep thread open in inbox),
|
|
|
|
## in sight), or delete (just plain useless). (Note there is instant
|
|
|
|
## archive (important enough to keep, but not enough to stay in sight), or
|
|
|
|
## delete or move to trash depending on how sure I am of the message's
|
|
|
|
## delete (just plain useless). (Note there is instant delete or move to trash
|
|
|
|
## uselessness). Note that ideally the inbox is empty...as in no
|
|
|
|
## depending on how sure I am of the message's uselessness). Note that ideally
|
|
|
|
## files (regardless of read/unread). This keeps it fast and
|
|
|
|
## the inbox is empty...as in no files (regardless of read/unread). This keeps
|
|
|
|
## uncluttered.
|
|
|
|
## it fast and uncluttered.
|
|
|
|
## - Archive (or whatever this is called in the server) is for old
|
|
|
|
##
|
|
|
|
## messages that may be useful for reference). This is where many
|
|
|
|
## - Archive (or whatever this is called in the server) is for old messages that
|
|
|
|
## messages end up and accounts for most of the size/bulk of the files.
|
|
|
|
## may be useful for reference). This is where many messages end up and accounts
|
|
|
|
## This is also why small inbox is important, because searching through
|
|
|
|
## for most of the size/bulk of the files. This is also why small inbox is
|
|
|
|
## all these files is sloowwww.
|
|
|
|
## important, because searching through all these files is sloowwww.
|
|
|
|
## - Sent is useless (just search for To:notme in archive) so don't
|
|
|
|
##
|
|
|
|
## bother syncing at all.
|
|
|
|
## - Sent is useless (just search for To:notme in archive) so don't bother
|
|
|
|
## - Trash is useful but only locally. I found it was a pain to get
|
|
|
|
## syncing at all.
|
|
|
|
## trash to sync correctly with everything else mu4e does, so I don't
|
|
|
|
##
|
|
|
|
## actually sync this folder. Instead, server trash is for spam/auto-
|
|
|
|
## - Trash is useful but only locally. I found it was a pain to get trash to
|
|
|
|
## deleted crap found by my filters. Client trash works like actual
|
|
|
|
## sync correctly with everything else mu4e does, so I don't actually sync this
|
|
|
|
## trash on the web interface. If I lose my laptop...oh well, it's
|
|
|
|
## folder. Instead, server trash is for spam/auto- deleted crap found by my
|
|
|
|
## just trash :)
|
|
|
|
## filters. Client trash works like actual trash on the web interface. If I lose
|
|
|
|
## - Drafts works just like trash in that it only is useful locally
|
|
|
|
## my laptop...oh well, it's just trash :)
|
|
|
|
## and not synced with the server. Ideally it is empty (why keep empty
|
|
|
|
##
|
|
|
|
## drafts??).
|
|
|
|
## - Drafts works just like trash in that it only is useful locally and not
|
|
|
|
|
|
|
|
## synced with the server. Ideally it is empty (why keep empty drafts??).
|
|
|
|
|
|
|
|
|
|
|
|
##
|
|
|
|
##
|
|
|
|
## gmail server
|
|
|
|
## gmail server
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
|
|
|
|
|
|
|
## To the best of my knowledge, gmail uses one giant folder and
|
|
|
|
## To the best of my knowledge, gmail uses one giant folder and a bunch of
|
|
|
|
## a bunch of "labels" to group emails. This is frustrating because
|
|
|
|
## "labels" to group emails. This is frustrating because it does not map to
|
|
|
|
## it does not map to on-disk filesystem paths very nicely by default.
|
|
|
|
## on-disk filesystem paths very nicely by default. Specifically, "All Mail"
|
|
|
|
## Specifically, "All Mail" refers to everything minus trash/spam,
|
|
|
|
## refers to everything minus trash/spam, and an "Inbox" label (folder?) is
|
|
|
|
## and an "Inbox" label (folder?) is applied on top of this to denote
|
|
|
|
## applied on top of this to denote the inbox messages. This leads to duplicates
|
|
|
|
## the inbox messages. This leads to duplicates in many vanilla IMAP
|
|
|
|
## in many vanilla IMAP syncing solutions.
|
|
|
|
## syncing solutions. (No idea why gmail was designed this way).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## To get around this, I created a new label called "rxv" (archive,
|
|
|
|
## To get around this, I created a new label called "rxv" (archive, because
|
|
|
|
## because apparently this name is "system reserved" in gmail) to
|
|
|
|
## apparently this name is "system reserved" in gmail) to denote the "non-inbox"
|
|
|
|
## denote the "non-inbox" messages. This works but assumes that these
|
|
|
|
## messages. This works but assumes that these labels are mutually exclusive
|
|
|
|
## labels are mutually exclusive (which has no enforcement in gmail)
|
|
|
|
## (which has no enforcement in gmail) so all handling is done by mu4e to ensure
|
|
|
|
## so all handling is done by mu4e to ensure that these are updated
|
|
|
|
## that these are updated properly (eg msgs from inbox moved to archive folder).
|
|
|
|
## properly (eg msgs from inbox moved to archive folder). I also
|
|
|
|
## I also set auto-expunge = off and set deleted/expunged messages to be moved
|
|
|
|
## set auto-expunge = off and set deleted/expunged messages to be
|
|
|
|
## to trash (it could also be set to "delete forever" but trash is safer).
|
|
|
|
## moved to trash (it could also be set to "delete forever" but trash
|
|
|
|
|
|
|
|
## is safer).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## NOTE: this does not seem to work all that well when one move from
|
|
|
|
## NOTE: this does not seem to work all that well when one moves from archive
|
|
|
|
## archive back to inbox (eg it actually double-labels the message)
|
|
|
|
## back to inbox (eg it actually double-labels the message) Since I hardly ever
|
|
|
|
## Since I hardly ever do this...whatever
|
|
|
|
## do this...whatever
|
|
|
|
|
|
|
|
|
|
|
|
IMAPAccount gmail
|
|
|
|
IMAPAccount gmail
|
|
|
|
Host imap.gmail.com
|
|
|
|
Host imap.gmail.com
|
|
|
@ -143,6 +138,13 @@ Create Both
|
|
|
|
Expunge Both
|
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
SyncState *
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Channel yavin4-junk
|
|
|
|
|
|
|
|
Far :yavin4-remote:"Junk"
|
|
|
|
|
|
|
|
Near :yavin4-local:"junk"
|
|
|
|
|
|
|
|
Create Both
|
|
|
|
|
|
|
|
Expunge Both
|
|
|
|
|
|
|
|
SyncState *
|
|
|
|
|
|
|
|
|
|
|
|
Group yavin4
|
|
|
|
Group yavin4
|
|
|
|
Channel yavin4-inbox
|
|
|
|
Channel yavin4-inbox
|
|
|
|
Channel yavin4-sent
|
|
|
|
Channel yavin4-sent
|
|
|
|