Working on migrating to neomutt
This commit is contained in:
parent
4f1b4b54d3
commit
4bdd1ca610
14 changed files with 153 additions and 191 deletions
13
home/.config/imapnotify/admin@korhonen.cc.conf
Normal file
13
home/.config/imapnotify/admin@korhonen.cc.conf
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"host": "imap.migadu.com",
|
||||
"port": 993,
|
||||
"tls": true,
|
||||
"tlsOptions": {
|
||||
"rejectUnauthorized": true
|
||||
},
|
||||
"username": "admin@korhonen.cc",
|
||||
"password": "{{@@ env['PASS_EMAIL_ADMIN'] @@}}",
|
||||
"onNewMail": "mbsync admin@korhonen.cc",
|
||||
"onNewMailPost": "",
|
||||
"boxes": [ "INBOX" ]
|
||||
}
|
13
home/.config/imapnotify/marko@korhonen.cc.conf
Normal file
13
home/.config/imapnotify/marko@korhonen.cc.conf
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"host": "imap.migadu.com",
|
||||
"port": 993,
|
||||
"tls": true,
|
||||
"tlsOptions": {
|
||||
"rejectUnauthorized": true
|
||||
},
|
||||
"username": "marko@korhonen.cc",
|
||||
"password": "{{@@ env['PASS_EMAIL_MARKO'] @@}}",
|
||||
"onNewMail": "mbsync marko@korhonen.cc",
|
||||
"onNewMailPost": "",
|
||||
"boxes": [ "INBOX" ]
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# vim: filetype=muttrc
|
||||
# vim: filetype=neomuttrc
|
||||
|
||||
set my_email = "marko.korhonen@reekynet.com"
|
||||
set my_email = "admin@korhonen.cc"
|
||||
set from = $my_email
|
||||
set sendmail = "/usr/bin/msmtp -a $my_email"
|
||||
set realname = "Marko Korhonen"
|
|
@ -1,14 +0,0 @@
|
|||
# vim: filetype=muttrc
|
||||
|
||||
set my_email = "admin@reekynet.com"
|
||||
set from = $my_email
|
||||
set sendmail = "/usr/bin/msmtp -a $my_email"
|
||||
set realname = "ReekyNET Admin"
|
||||
set status_format = "-%r-Mutt: $my_email %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---"
|
||||
set mbox_type = Maildir
|
||||
set folder = "~/.mail/$my_email"
|
||||
set mbox = "+INBOX"
|
||||
set record = "+INBOX"
|
||||
set postponed = "+Drafts"
|
||||
set spoolfile = "+INBOX"
|
||||
mailboxes = +INBOX
|
|
@ -1,8 +1,8 @@
|
|||
# vim: filetype=muttrc
|
||||
# vim: filetype=neomuttrc
|
||||
|
||||
set my_email = "marko.korhonen@metropolia.fi"
|
||||
set from = $my_email
|
||||
set sendmail = "/usr/bin/msmtp -a $my_email"
|
||||
set my_email = "marko@korhonen.cc"
|
||||
set from = $my_email
|
||||
set sendmail = "/usr/bin/msmtp -a $my_email"
|
||||
set realname = "Marko Korhonen"
|
||||
set status_format = "-%r-Mutt: $my_email %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---"
|
||||
set mbox_type = Maildir
|
|
@ -1,15 +0,0 @@
|
|||
# vim: filetype=muttrc
|
||||
|
||||
# Incoming mail from maildir
|
||||
set my_email = "reekymarko@reekynet.com"
|
||||
set from = $my_email
|
||||
set sendmail = "/usr/bin/msmtp -a $my_email"
|
||||
set realname = "Marko Korhonen"
|
||||
set status_format = "-%r-Mutt: $my_email %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---"
|
||||
set mbox_type = Maildir
|
||||
set folder = ~/.mail/$my_email
|
||||
set mbox = +INBOX
|
||||
set record = +Sent
|
||||
set postponed = +Drafts
|
||||
set spoolfile = +INBOX
|
||||
mailboxes = +INBOX
|
|
@ -1,4 +1,4 @@
|
|||
# vim: filetype=muttrc
|
||||
# vim: filetype=neomuttrc
|
||||
|
||||
set sendmail = "/usr/bin/msmtp"
|
||||
set mbox_type = Maildir
|
||||
|
@ -7,9 +7,7 @@ set spoolfile = +Personal/INBOX
|
|||
|
||||
source ~/.config/neomutt/appearance
|
||||
source ~/.config/neomutt/sidebar
|
||||
source ~/.config/neomutt/accounts/reekymarko@reekynet.com
|
||||
source ~/.config/neomutt/accounts/marko@korhonen.cc
|
||||
|
||||
macro index <f2> '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/reekymarko@reekynet.com<enter><change-folder>!<enter>'
|
||||
macro index <f3> '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/marko.korhonen@reekynet.com<enter><change-folder>!<enter>'
|
||||
macro index <f4> '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/admin@reekynet.com<enter><change-folder>!<enter>'
|
||||
macro index <f5> '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/marko.korhonen@metropolia.fi<enter><change-folder>!<enter>'
|
||||
macro index <f2> '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/marko@korhonen.cc<enter><change-folder>!<enter>'
|
||||
macro index <f3> '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/admin@korhonen.cc<enter><change-folder>!<enter>'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# vim: filetype=muttrc
|
||||
# vim: filetype=neomuttrc
|
||||
|
||||
set sidebar_visible = yes
|
||||
set sidebar_indent_string = ' '
|
||||
|
|
|
@ -27,8 +27,8 @@ export FZF_CTRL_T_OPTS='--preview "/usr/bin/cat {} | nvimpager -c "'
|
|||
# use lesspipe with less
|
||||
export LESSOPEN="|lesspipe.sh %s"
|
||||
|
||||
# dotdrop repository location
|
||||
export DOTREPO="$HOME/Git/dotfiles"
|
||||
# dotfile repository location
|
||||
export DOTREPO="$HOME/git/dotfiles"
|
||||
|
||||
# nvim ftw!
|
||||
export EDITOR=nvim
|
||||
|
|
|
@ -117,8 +117,8 @@ cpufreq() { watch -n 1 eval "cat /proc/cpuinfo | grep MHz" }
|
|||
|
||||
# dotdrop
|
||||
updatesecrets() { bash $DOTREPO/secrets/secrets.sh; chmod 600 $DOTREPO/secrets/secrets }
|
||||
dotdrop() { source $DOTREPO/secrets/secrets && $DOTREPO/dotdrop/dotdrop.sh --cfg=$DOTREPO/config-home.yaml $@ }
|
||||
sdotdrop() { source $DOTREPO/secrets/secrets && sudo -E $DOTREPO/dotdrop/dotdrop.sh --cfg=$DOTREPO/config-root.yaml $@ }
|
||||
dotdrop() { source $DOTREPO/secrets/secrets && $DOTREPO/dotdrop.sh --cfg=$DOTREPO/config-home.yaml $@ }
|
||||
sdotdrop() { source $DOTREPO/secrets/secrets && sudo -E $DOTREPO/dotdrop.sh --cfg=$DOTREPO/config-root.yaml $@ }
|
||||
compdef _dotdrop-completion.zsh sdotdrop
|
||||
alias dotgit='git -C $DOTREPO'
|
||||
dotsync() { cd $DOTREPO && gpull && ga && gc && gpush && cd $OLDPWD }
|
||||
|
@ -156,7 +156,7 @@ update() {
|
|||
}
|
||||
|
||||
docker-update() {
|
||||
for dir in $HOME/Git/dotfiles/docker/*; do
|
||||
for dir in $HOME/git/dotfiles/docker/*; do
|
||||
cd $dir
|
||||
docker-compose pull
|
||||
docker-compose up -d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue