fix(mail): remove old account
This commit is contained in:
parent
9a5e737511
commit
82b26e9139
6 changed files with 19 additions and 107 deletions
|
@ -1,26 +0,0 @@
|
||||||
# clear previously defined mailboxes
|
|
||||||
#unmailboxes *
|
|
||||||
|
|
||||||
# clear previously defined headers
|
|
||||||
unmy_hdr *
|
|
||||||
|
|
||||||
set mbox = "+nullpointer/Archive"
|
|
||||||
set postponed = "+nullpointer/Drafts"
|
|
||||||
set trash = "+nullpointer/Trash"
|
|
||||||
set record = "+nullpointer/Sent"
|
|
||||||
|
|
||||||
set realname = "George Rawlinson"
|
|
||||||
set from = "george@nullpointer.io"
|
|
||||||
|
|
||||||
# smtp settings
|
|
||||||
set smtp_pass = `pass mail/george@nullpointer.io`
|
|
||||||
set smtp_url = smtp://$from@smtp.nullpointer.io:587
|
|
||||||
|
|
||||||
# nullpointer specific macros
|
|
||||||
macro index A "<save-message>+nullpointer/Archive<enter>" "move message to the archive"
|
|
||||||
macro index S "<save-message>+nullpointer/Junk<enter>" "mark message as spam"
|
|
||||||
macro index D "<save-message>+nullpointer/Trash<enter>" "move message to the trash"
|
|
||||||
# tag macros
|
|
||||||
macro index \Ca "<tag-prefix-cond><save-message>+nullpointer/Archive<enter>" "move tagged messages to archive"
|
|
||||||
macro index \Cs "<tag-prefix-cond><save-message>+nullpointer/Junk<enter>" "move tagged messages to spam"
|
|
||||||
macro index \Cd "<tag-prefix-cond><save-message>+nullpointer/Trash<enter>" "move tagged messages to trash"
|
|
|
@ -14,7 +14,7 @@ set from = "george@rawlinson.net.nz"
|
||||||
|
|
||||||
# smtp settings
|
# smtp settings
|
||||||
set smtp_pass = `pass mail/george@rawlinson.net.nz`
|
set smtp_pass = `pass mail/george@rawlinson.net.nz`
|
||||||
set smtp_url = smtp://$from@smtp.nullpointer.io:587
|
set smtp_url = smtps://$from@smtp.little.kiwi
|
||||||
|
|
||||||
# rawlinson specific macros
|
# rawlinson specific macros
|
||||||
macro index A "<save-message>+rawlinson/Archive<enter>" "move message to the archive"
|
macro index A "<save-message>+rawlinson/Archive<enter>" "move message to the archive"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# folder hooks for different accounts
|
# folder hooks for different accounts
|
||||||
folder-hook rawlinson/* source ~/.config/neomutt/accounts/rawlinson
|
folder-hook rawlinson/* source ~/.config/neomutt/accounts/rawlinson
|
||||||
folder-hook nullpointer/* source ~/.config/neomutt/accounts/nullpointer
|
#folder-hook accountname/* source ~/.config/neomutt/accounts/accountname
|
||||||
|
|
||||||
source ~/.config/neomutt/accounts/rawlinson # default account
|
source ~/.config/neomutt/accounts/rawlinson # default account
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
named-mailboxes ":: rawlinson" ~/.config/neomutt/div_rw
|
|
||||||
mailboxes `find ~/.mail/rawlinson -type d -name cur | sort | sed -e 's:/cur/*$::' -e 's/ /\\ /g' | tr '\n' ' '`
|
mailboxes `find ~/.mail/rawlinson -type d -name cur | sort | sed -e 's:/cur/*$::' -e 's/ /\\ /g' | tr '\n' ' '`
|
||||||
named-mailboxes ":: nullpointer" ~/.config/neomutt/div_np
|
#mailboxes `find ~/.mail/accountname -type d -name cur | sort | sed -e 's:/cur/*$::' -e 's/ /\\ /g' | tr '\n' ' '`
|
||||||
mailboxes `find ~/.mail/nullpointer -type d -name cur | sort | sed -e 's:/cur/*$::' -e 's/ /\\ /g' | tr '\n' ' '`
|
|
||||||
|
|
||||||
# vim: syntax=muttrc
|
# vim: syntax=muttrc
|
||||||
|
|
|
@ -5,7 +5,7 @@ SyncState *
|
||||||
|
|
||||||
# rawlinson
|
# rawlinson
|
||||||
IMAPAccount rawlinson
|
IMAPAccount rawlinson
|
||||||
Host imap.nullpointer.io
|
Host imap.little.kiwi
|
||||||
User george@rawlinson.net.nz
|
User george@rawlinson.net.nz
|
||||||
PassCmd "pass mail/george@rawlinson.net.nz" # get password from pass
|
PassCmd "pass mail/george@rawlinson.net.nz" # get password from pass
|
||||||
AuthMechs LOGIN
|
AuthMechs LOGIN
|
||||||
|
@ -22,33 +22,33 @@ MaildirStore rawlinson-local
|
||||||
|
|
||||||
# folders
|
# folders
|
||||||
Channel rawlinson-inbox
|
Channel rawlinson-inbox
|
||||||
Master :rawlinson-remote:INBOX
|
Far :rawlinson-remote:INBOX
|
||||||
Slave :rawlinson-local:INBOX
|
Near :rawlinson-local:INBOX
|
||||||
|
|
||||||
Channel rawlinson-archive
|
Channel rawlinson-archive
|
||||||
Master :rawlinson-remote:Archive
|
Far :rawlinson-remote:Archive
|
||||||
Slave :rawlinson-local:Archive
|
Near :rawlinson-local:Archive
|
||||||
|
|
||||||
Channel rawlinson-drafts
|
Channel rawlinson-drafts
|
||||||
Master :rawlinson-remote:Drafts
|
Far :rawlinson-remote:Drafts
|
||||||
Slave :rawlinson-local:Drafts
|
Near :rawlinson-local:Drafts
|
||||||
|
|
||||||
Channel rawlinson-junk
|
Channel rawlinson-junk
|
||||||
Master :rawlinson-remote:Junk
|
Far :rawlinson-remote:Junk
|
||||||
Slave :rawlinson-local:Junk
|
Near :rawlinson-local:Junk
|
||||||
|
|
||||||
Channel rawlinson-sent
|
Channel rawlinson-sent
|
||||||
Master :rawlinson-remote:Sent
|
Far :rawlinson-remote:Sent
|
||||||
Slave :rawlinson-local:Sent
|
Near :rawlinson-local:Sent
|
||||||
|
|
||||||
Channel rawlinson-trash
|
Channel rawlinson-trash
|
||||||
Master :rawlinson-remote:Trash
|
Far :rawlinson-remote:Trash
|
||||||
Slave :rawlinson-local:Trash
|
Near :rawlinson-local:Trash
|
||||||
|
|
||||||
# all folders except above
|
# all folders except above
|
||||||
Channel rawlinson-folders
|
Channel rawlinson-folders
|
||||||
Master :rawlinson-remote:
|
Far :rawlinson-remote:
|
||||||
Slave :rawlinson-local:
|
Near :rawlinson-local:
|
||||||
Patterns * !INBOX !Archive !Drafts !Junk !Sent !Trash
|
Patterns * !INBOX !Archive !Drafts !Junk !Sent !Trash
|
||||||
|
|
||||||
# group all channels, so they can be sync'd with one command `mbsync rawlinson`
|
# group all channels, so they can be sync'd with one command `mbsync rawlinson`
|
||||||
|
@ -60,63 +60,3 @@ Group rawlinson
|
||||||
Channel rawlinson-junk
|
Channel rawlinson-junk
|
||||||
Channel rawlinson-sent
|
Channel rawlinson-sent
|
||||||
Channel rawlinson-folders
|
Channel rawlinson-folders
|
||||||
|
|
||||||
|
|
||||||
# nullpointer
|
|
||||||
IMAPAccount nullpointer
|
|
||||||
Host imap.nullpointer.io
|
|
||||||
User george@nullpointer.io
|
|
||||||
PassCmd "pass mail/george@nullpointer.io" # get password from pass
|
|
||||||
AuthMechs LOGIN
|
|
||||||
SSLType IMAPS
|
|
||||||
|
|
||||||
# remote storage
|
|
||||||
IMAPStore nullpointer-remote
|
|
||||||
Account nullpointer
|
|
||||||
|
|
||||||
# local storage
|
|
||||||
MaildirStore nullpointer-local
|
|
||||||
Path ~/.mail/nullpointer/ # must append slash to specify directory
|
|
||||||
Inbox ~/.mail/nullpointer/INBOX # place inbox inside mail dir
|
|
||||||
|
|
||||||
# folders
|
|
||||||
Channel nullpointer-inbox
|
|
||||||
Master :nullpointer-remote:INBOX
|
|
||||||
Slave :nullpointer-local:INBOX
|
|
||||||
|
|
||||||
Channel nullpointer-archive
|
|
||||||
Master :nullpointer-remote:Archive
|
|
||||||
Slave :nullpointer-local:Archive
|
|
||||||
|
|
||||||
Channel nullpointer-drafts
|
|
||||||
Master :nullpointer-remote:Drafts
|
|
||||||
Slave :nullpointer-local:Drafts
|
|
||||||
|
|
||||||
Channel nullpointer-junk
|
|
||||||
Master :nullpointer-remote:Junk
|
|
||||||
Slave :nullpointer-local:Junk
|
|
||||||
|
|
||||||
Channel nullpointer-sent
|
|
||||||
Master :nullpointer-remote:Sent
|
|
||||||
Slave :nullpointer-local:Sent
|
|
||||||
|
|
||||||
Channel nullpointer-trash
|
|
||||||
Master :nullpointer-remote:Trash
|
|
||||||
Slave :nullpointer-local:Trash
|
|
||||||
|
|
||||||
# all folders except above
|
|
||||||
Channel nullpointer-folders
|
|
||||||
Master :nullpointer-remote:
|
|
||||||
Slave :nullpointer-local:
|
|
||||||
Patterns * !INBOX !Archive !Drafts !Junk !Sent !Trash
|
|
||||||
|
|
||||||
# group all channels, so they can be sync'd with one command `mbsync nullpointer`
|
|
||||||
Group nullpointer
|
|
||||||
Channel nullpointer-trash
|
|
||||||
Channel nullpointer-inbox
|
|
||||||
Channel nullpointer-archive
|
|
||||||
Channel nullpointer-drafts
|
|
||||||
Channel nullpointer-junk
|
|
||||||
Channel nullpointer-sent
|
|
||||||
Channel nullpointer-folders
|
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
# configured here named ".notmuch".
|
# configured here named ".notmuch".
|
||||||
#
|
#
|
||||||
[database]
|
[database]
|
||||||
path=/home/george/.mail
|
path=.mail
|
||||||
|
|
||||||
# User configuration
|
# User configuration
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue