Compare commits

...

2 commits

5 changed files with 41 additions and 12 deletions

View file

@ -15,7 +15,7 @@ Flatten .
Channel andrew@amd.im Channel andrew@amd.im
Far :andrew@amd.im-remote: Far :andrew@amd.im-remote:
Near :andrew@amd.im-local: Near :andrew@amd.im-local:
Pattern * Pattern * !dovecot/sieve
SyncState * SyncState *
Create Both Create Both
Expunge Both Expunge Both

View file

@ -0,0 +1,2 @@
text/html; $BROWSER %s
text/html; w3m -I %{charset} -T text/html -dump; copiousoutput;

View file

@ -3,16 +3,18 @@ set from = "andrew@amd.im"
set realname = "Andrew Davidson" set realname = "Andrew Davidson"
### Connectivity #### Connectivity
set imap_user = "andrew@amd.im" #set imap_user = "andrew@amd.im"
set imap_pass = "`pass show email/amd.im/andrew`" #set imap_pass = "`pass show email/amd.im/andrew`"
set folder = "imaps://mail.amd.im" #set folder = "imaps://mail.amd.im"
set smtp_url = "smtps://$imap_user:$imap_pass@mail.amd.im:465" #set smtp_url = "smtps://$imap_user:$imap_pass@mail.amd.im:465"
set ssl_starttls = no #set ssl_starttls = no
set ssl_force_tls = yes #set ssl_force_tls = yes
set imap_check_subscribed # automatically check subscribed folders #set imap_check_subscribed # automatically check subscribed folders
mailboxes +INBOX #mailboxes +INBOX
set mbox_type = Maildir
set folder = "~/.local/share/email/andrew@amd.im"
### Mailbox Locations ### Mailbox Locations
set spoolfile = "+INBOX" set spoolfile = "+INBOX"
@ -24,7 +26,8 @@ set trash = "=Trash"
### Local Folders ### Local Folders
set header_cache = "~/.cache/neomutt/headers" set header_cache = "~/.cache/neomutt/headers"
set message_cachedir = "~/.cache/neomutt/messages" set message_cachedir = "~/.cache/neomutt/messages"
macro index $ "<shell-escape>mbsync andrew@amd.im<enter>notmuch new<enter>" "sync email"
macro index \\\\ "<vfolder-from-query>" "Search mail"
### Local Settings ### Local Settings
set mail_check = 60 # check for mail every XX seconds set mail_check = 60 # check for mail every XX seconds
@ -48,6 +51,12 @@ set reverse_alias # if an alias is set for a contact, use that
set pager_index_lines = 10 # Shows 10 lines of index when pager is active set pager_index_lines = 10 # Shows 10 lines of index when pager is active
### Multipart handling
set mailcap_path = "~/.config/neomutt/mailcap"
auto_view text/html
alternative_order text/plain text/enriched text/html
### Message threading ### Message threading
set sort_re # changes method by which threads are sorted set sort_re # changes method by which threads are sorted
set sort = reverse-threads # sort by threads set sort = reverse-threads # sort by threads
@ -57,7 +66,7 @@ set sort_aux = last-date-received # secondarily sory by most recent message re
### Sidebar ### Sidebar
set sidebar_visible # show the sidebar set sidebar_visible # show the sidebar
set sidebar_short_path # simplify paths in sidebar set sidebar_short_path # simplify paths in sidebar
unset sidebar_folder_indent # indent mailboxes in sidebar unset sidebar_folder_indent # indent mailboxes in sidebar
set sidebar_format = "%B %* [%?N?%N/?%S]" # what should the sidebar display set sidebar_format = "%B %* [%?N?%N/?%S]" # what should the sidebar display
set sidebar_sort_method = path set sidebar_sort_method = path
set mail_check_stats # check mailbox statistics for sidebar view set mail_check_stats # check mailbox statistics for sidebar view

18
email/.notmuch-config Normal file
View file

@ -0,0 +1,18 @@
[database]
path=/home/amd/.local/share/email/andrew@amd.im/
[user]
name=Andrew Davidson
primary_email=andrew@amd.im
other_email=andrew@amdavidson.com amdavids@calpoly.edu amdavidson@gmail.com
[new]
tags=unread;inbox;
ignore=
[search]
exclude_tags=deleted;spam;
[maildir]
synchronize_flags=true