--- /dev/null
+IMAPAccount aber
+Host outlook.office365.com
+User maf54@aber.ac.uk
+PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.mail_pass/aber.gpg"
+UseIMAPS yes
+CertificateFile /etc/ssl/certs/ca-certificates.crt
+
+IMAPStore aber-remote
+Account aber
+
+MaildirStore aber-local
+Path ~/mail/aber/
+Inbox ~/mail/aber/Inbox
+
+Channel aber
+Master :aber-remote:
+Slave :aber-local:
+Patterns "INBOX" "Drafts" "Sent" "Trash" "Junk E-Mail"
+Create Both
+SyncState *
+++ /dev/null
-IMAPAccount gmail
-Host imap.gmail.com
-User max@musoft.co.uk
-PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.mail_pass/musoft.gpg"
-UseIMAPS yes
-CertificateFile /etc/ssl/certs/ca-certificates.crt
-
-IMAPStore gmail-remote
-Account gmail
-
-MaildirStore gmail-local
-Path ~/mail/musoft/
-Inbox ~/mail/musoft/Inbox
-
-Channel gmail-sent
-Master :gmail-remote:"[Gmail]/Sent Mail"
-Slave :gmail-local:Sent
-SyncState *
-Create Slave
-
-Channel gmail-all-mail
-Master :gmail-remote:"[Gmail]/All Mail"
-Slave :gmail-local:"All Mail"
-SyncState *
-Create Slave
-
-Channel gmail-all-drafts
-Master :gmail-remote:"[Gmail]/Drafts"
-Slave :gmail-local:"Drafts"
-SyncState *
-Create Slave
-
-Channel gmail-all-spam
-Master :gmail-remote:"[Gmail]/Spam"
-Slave :gmail-local:"Spam"
-SyncState *
-Create Slave
-
-Channel gmail-default
-Master :gmail-remote:
-Slave :gmail-local:
-Patterns "INBOX"
-SyncState *
-Create Slave
-
-Group gmail
-Channel gmail-default
-Channel gmail-sent
-Channel gmail-all-mail
+++ /dev/null
-IMAPAccount student
-Host outlook.office365.com
-User mf195@student.le.ac.uk
-PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.mail_pass/student.gpg"
-UseIMAPS yes
-CertificateFile /etc/ssl/certs/ca-certificates.crt
-
-IMAPStore student-remote
-Account student
-
-MaildirStore student-local
-Path ~/mail/student/
-Inbox ~/mail/student/Inbox
-
-Channel student
-Master :student-remote:
-Slave :student-local:
-Patterns "INBOX" "Drafts" "Sent" "Trash" "Junk E-Mail"
-Create Both
-SyncState *
--- /dev/null
+set from = "maf54@aber.ac.uk"
+set realname = "Maximilian Friedersdorff"
+set sendmail = "/usr/bin/msmtp --account=aber"
+
+set spoolfile = "+aber/Inbox"
+set postponed = "+aber/Drafts"
+set trash = "+aber/Trash"
+set record = "+aber/Sent"
+
+set header_cache = ~/.mutt/aber/cache/headers
+set certificate_file = ~/.mutt/aber/certificates
+++ /dev/null
-set from = "max@musoft.co.uk"
-set realname = "Maximilian Friedersdorff"
-set sendmail = "/usr/bin/msmtp --account=musoft"
-
-set spoolfile = "+musoft/INBOX"
-set postponed = "+musoft/Drafts"
-set trash = ""
-set record = ""
-
-set header_cache = ~/.mutt/musoft/cache/headers
-set certificate_file = ~/.mutt/musoft/certificates
-
-set pgp_sign_as="0x2EA4B143"
+++ /dev/null
-set from = "mf195@student.le.ac.uk"
-set realname = "Maximilian Friedersdorff"
-set sendmail = "/usr/bin/msmtp --account=student"
-
-set spoolfile = "+student/Inbox"
-set postponed = "+student/Drafts"
-set trash = "+student/Trash"
-set record = "+student/Sent"
-
-set header_cache = ~/.mutt/student/cache/headers
-set certificate_file = ~/.mutt/student/certificates
-
-set pgp_sign_as="0x33FA1EFF"
{
/usr/bin/mbsync -c /home/max/.mbsync/personal.mbsync -a >> $LOG 2>&1
/usr/bin/mbsync -c /home/max/.mbsync/personal-gmail.mbsync -a >> $LOG 2>&1
- /usr/bin/mbsync -c /home/max/.mbsync/student.mbsync -a >> $LOG 2>&1
- /usr/bin/mbsync -c /home/max/.mbsync/musoft.mbsync -a >> $LOG 2>&1
+ /usr/bin/mbsync -c /home/max/.mbsync/aber.mbsync -a >> $LOG 2>&1
}
sync_mailboxes_loop()
folder-hook personal/* source ~/.mutt/account.personal
folder-hook personal-gmail/* source ~/.mutt/account.personal-gmail
-folder-hook student/* source ~/.mutt/account.student
-folder-hook musoft/* source ~/.mutt/account.musoft
+folder-hook aber/* source ~/.mutt/account.aber
macro index \e1 '<change-folder>~/mail/personal/Inbox<enter>'
macro index \e2 '<change-folder>~/mail/personal-gmail/Inbox<enter>'
-macro index \e3 '<change-folder>~/mail/student/Inbox<enter>'
-macro index \e4 '<change-folder>~/mail/musoft/Inbox<enter>'
+macro index \e3 '<change-folder>~/mail/aber/Inbox<enter>'
source ~/.mutt/account.personal