From 239ab4ac5c7f947ae68f34468c32bd284b19e109 Mon Sep 17 00:00:00 2001 From: Steffen Rademacker Date: Tue, 10 May 2022 13:49:53 +0200 Subject: [PATCH] Remove exchange-account from mutt/dotfiles... :/ --- install/4_office.sh | 8 ----- office/mbsyncrc | 66 ---------------------------------------- office/msmtprc | 12 -------- office/mutt/accounts/viu | 33 -------------------- office/mutt/muttrc | 4 --- 5 files changed, 123 deletions(-) delete mode 100644 office/mutt/accounts/viu diff --git a/install/4_office.sh b/install/4_office.sh index ba4bce4f..ce722a4d 100755 --- a/install/4_office.sh +++ b/install/4_office.sh @@ -18,14 +18,6 @@ mkdir ~/Mail/mailbox mkdir ~/Mail/mailbox/cur mkdir ~/Mail/mailbox/new mkdir ~/Mail/mailbox/tmp -mkdir ~/Mail/viu -mkdir ~/Mail/viu/cur -mkdir ~/Mail/viu/new -mkdir ~/Mail/viu/tmp -mkdir ~/Mail/─────────────────── -mkdir ~/Mail/───────────────────/cur -mkdir ~/Mail/───────────────────/new -mkdir ~/Mail/───────────────────/tmp # link config files ln -s ~/dotfiles/office/mutt ~/.mutt diff --git a/office/mbsyncrc b/office/mbsyncrc index 840b11b1..48b5d351 100644 --- a/office/mbsyncrc +++ b/office/mbsyncrc @@ -62,69 +62,3 @@ Channel mailbox-drafts Channel mailbox-sent Channel mailbox-trash Channel mailbox-junk - -################################# -######## Account viu ############ -################################# - -IMAPAccount viu -Host outlook.office365.com -User steffen.rademacker@viu.ch -PassCmd "security find-internet-password -s 'outlook.office365.com' -a 'steffen.rademacker@viu.ch' -w" -SSLType IMAPS -SSLVersions TLSv1.2 -CertificateFile ~/dotfiles/office/certificates.crt - -# Remote storage -IMAPStore viu-remote -Account viu - -# Local storage -MaildirStore viu-local -Path ~/Mail/viu/ -Inbox ~/Mail/viu/INBOX - -Channel viu-inbox -Far :viu-remote:"INBOX" -Near :viu-local:INBOX -Create Both -Expunge Both - -Channel viu-archive -Far :viu-remote:"Archive" -Near :viu-local:archive -Create Both -Expunge Both - -Channel viu-drafts -Far :viu-remote:"Entw&APw-rfe" -Near :viu-local:drafts -Create Both -Expunge Both - -Channel viu-sent -Far :viu-remote:"Gesendete Elemente" -Near :viu-local:sent -Create Both -Expunge Both - -Channel viu-trash -Far :viu-remote:"Gel&APY-schte Elemente" -Near :viu-local:trash -Create Both -Expunge Both - -Channel viu-junk -Far :viu-remote:"Junk-E-Mail" -Near :viu-local:junk -Create Both -Expunge Both - -Group viu -Channel viu-inbox -Channel viu-archive -Channel viu-drafts -Channel viu-sent -Channel viu-trash -Channel viu-junk - diff --git a/office/msmtprc b/office/msmtprc index d1f8f23d..cf9bea78 100644 --- a/office/msmtprc +++ b/office/msmtprc @@ -8,15 +8,3 @@ from s.rademacker@mailbox.org tls on tls_starttls off tls_trust_file ~/dotfiles/office/certificates.crt - -account viu -host smtp.office365.com -port 587 -protocol smtp -auth on -user steffen.rademacker@viu.ch -from steffen.rademacker@viu.ch -tls on -tls_starttls on -tls_trust_file ~/dotfiles/office/certificates.crt - diff --git a/office/mutt/accounts/viu b/office/mutt/accounts/viu deleted file mode 100644 index 5a550c07..00000000 --- a/office/mutt/accounts/viu +++ /dev/null @@ -1,33 +0,0 @@ -set from = "steffen.rademacker@viu.ch" -set sendmail = "msmtp -a viu" - -# Set folders -set spoolfile = "+viu/INBOX" -set mbox = "+viu/archive" -set postponed = "+viu/drafts" -set record = "+viu/sent" -set trash = "+viu/trash" - -# Alternate email addresses. -alternates ^steffen.rademacker@viu.ch$ - -# custom signaure -set signature = ~/.mutt/signatures/default - -color status color208 default - -macro index o "mbsync viu" "run mbsync to sync mail for this account" - -macro index,pager s \ - "set my_old_resolve=\$resolve noresolve\ - nset resolve=\$my_old_resolve\ - +viu/junk" \ - "mark as read and move to junk folder" - -macro index,pager a \ - "+viu/archive" \ - "move message to the archive" - -macro index,pager i \ - "+viu/INBOX" \ - "move message to the inbox" diff --git a/office/mutt/muttrc b/office/mutt/muttrc index 540225f3..3a153270 100644 --- a/office/mutt/muttrc +++ b/office/mutt/muttrc @@ -91,9 +91,6 @@ set sidebar_format = "%B %* [%?N?%N / ?%S]" # Mailboxes to show in the sidebar. mailboxes =mailbox mailboxes =mailbox/INBOX =mailbox/archive =mailbox/sent =mailbox/drafts =mailbox/junk =mailbox/trash -mailboxes ="───────────────────" -mailboxes =viu -mailboxes =viu/INBOX =viu/archive =viu/sent =viu/drafts =viu/junk =viu/trash # source colors and keybindings # keeping those in one place makes it easier for my brain @@ -110,4 +107,3 @@ source ~/.mutt/accounts/mailbox # when changing into other mailboxes, use different adresses etc. folder-hook mailbox/* source ~/.mutt/accounts/mailbox -folder-hook viu/* source ~/.mutt/accounts/viu