From 5a003b059551bd3d7527916ecbf25b126161db4f Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 21 Sep 2016 11:54:19 +0100 Subject: [PATCH] Add aber email, remove student and musoft. --- offline_mail/.mail_pass/aber.gpg | Bin 0 -> 357 bytes offline_mail/.mail_pass/musoft.gpg | Bin 382 -> 0 bytes offline_mail/.mail_pass/student.gpg | Bin 365 -> 0 bytes offline_mail/.mbsync/aber.mbsync | 20 ++++++++++ offline_mail/.mbsync/musoft.mbsync | 49 ------------------------- offline_mail/.mbsync/student.mbsync | 20 ---------- offline_mail/.mutt/account.aber | 11 ++++++ offline_mail/.mutt/account.musoft | 13 ------- offline_mail/.mutt/account.student | 13 ------- offline_mail/.mutt/mutt_with_mbsync.sh | 3 +- offline_mail/.mutt/muttrc | 6 +-- 11 files changed, 34 insertions(+), 101 deletions(-) create mode 100644 offline_mail/.mail_pass/aber.gpg delete mode 100644 offline_mail/.mail_pass/musoft.gpg delete mode 100644 offline_mail/.mail_pass/student.gpg create mode 100644 offline_mail/.mbsync/aber.mbsync delete mode 100644 offline_mail/.mbsync/musoft.mbsync delete mode 100644 offline_mail/.mbsync/student.mbsync create mode 100644 offline_mail/.mutt/account.aber delete mode 100644 offline_mail/.mutt/account.musoft delete mode 100644 offline_mail/.mutt/account.student diff --git a/offline_mail/.mail_pass/aber.gpg b/offline_mail/.mail_pass/aber.gpg new file mode 100644 index 0000000000000000000000000000000000000000..bb1fb4f35515c8412cfe8a4ee7431e40ec7c569a GIT binary patch literal 357 zcmV-r0h<1W0Sp7T%)}e0opU4s2mr61t?pfI5lbN>TPzXBY!{RO5&B-qTxPQRxH%LN z(JVoJsd?$J@WBdCbKJ033~GbW<8NM@Mqb6=#Q$LqiAn6F=j9EDH_=~$n^P2a#)@c!R`|J_<}<7UYzBvl1lzKLW(eeEs;Rxm|w4&Ab^-LUsXF& zT%b09dc!7V444NEL=IyzvmPS}UFx9`HYtxT*lZq3?PBqbZB%QR)imjnk z_ar?;as*J5f7E=hBzvQ~E2d%OZ!K{f@OQ@3qAp^-;C-!><4QjxG`Ej00f1+i_}zrZ D2Va`~e4R|cEq z4+0~lW_{sCYAsYIYLFVxU!XI8@9%aPf}JR10mKCTUJfiM%jBxAC%xdB(EYgwd&r9i$=(PZ+xr^@1n$3H=~8>M*;be$K0ck9u!(4&clyJ>;n%DhD@8 z_nxDr{t-@qc=NMzxUNi{31lyre22a7SN+&HHB<(S7YGz&Nw&Fe2)@BO7)#J6{vIS-bAZqb|f-f>x zyN4*08~-Tfvj8sgLnL-xf%Q(2nAPo{L|;AE>L2a@o}^SotQfBhL3^MNVZ*;o(WAmG z@)AS%w)2I)$4kz<$V-dcfNI}~&C@$5uJ75~@~omts8R@K`o8=EW+K)+{ci!)(ayug zDf{3CjB)H|ZbnN)CjrOL1>VwJ0n*F(M4>LZtCIm#aA%I84v@WU7Yq{Sjl?5|e`->t zV=wVxl1o-fAb`8(nN-iYpD3$)6sRCV5tA-Ctd7#};S2hnU0Km!)ETZhCL>-GK+3z4 L$DCA?b%*bP#HYB( diff --git a/offline_mail/.mbsync/aber.mbsync b/offline_mail/.mbsync/aber.mbsync new file mode 100644 index 0000000..58c4c97 --- /dev/null +++ b/offline_mail/.mbsync/aber.mbsync @@ -0,0 +1,20 @@ +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 * diff --git a/offline_mail/.mbsync/musoft.mbsync b/offline_mail/.mbsync/musoft.mbsync deleted file mode 100644 index 41b3dc2..0000000 --- a/offline_mail/.mbsync/musoft.mbsync +++ /dev/null @@ -1,49 +0,0 @@ -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 diff --git a/offline_mail/.mbsync/student.mbsync b/offline_mail/.mbsync/student.mbsync deleted file mode 100644 index f0afe9e..0000000 --- a/offline_mail/.mbsync/student.mbsync +++ /dev/null @@ -1,20 +0,0 @@ -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 * diff --git a/offline_mail/.mutt/account.aber b/offline_mail/.mutt/account.aber new file mode 100644 index 0000000..a7e2761 --- /dev/null +++ b/offline_mail/.mutt/account.aber @@ -0,0 +1,11 @@ +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 diff --git a/offline_mail/.mutt/account.musoft b/offline_mail/.mutt/account.musoft deleted file mode 100644 index 625f123..0000000 --- a/offline_mail/.mutt/account.musoft +++ /dev/null @@ -1,13 +0,0 @@ -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" diff --git a/offline_mail/.mutt/account.student b/offline_mail/.mutt/account.student deleted file mode 100644 index 48c5aea..0000000 --- a/offline_mail/.mutt/account.student +++ /dev/null @@ -1,13 +0,0 @@ -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" diff --git a/offline_mail/.mutt/mutt_with_mbsync.sh b/offline_mail/.mutt/mutt_with_mbsync.sh index 6741220..83f7d54 100755 --- a/offline_mail/.mutt/mutt_with_mbsync.sh +++ b/offline_mail/.mutt/mutt_with_mbsync.sh @@ -19,8 +19,7 @@ sync_mailboxes() { /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() diff --git a/offline_mail/.mutt/muttrc b/offline_mail/.mutt/muttrc index b4e310c..651e8c4 100644 --- a/offline_mail/.mutt/muttrc +++ b/offline_mail/.mutt/muttrc @@ -2,13 +2,11 @@ set folder = ~/mail 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 '~/mail/personal/Inbox' macro index \e2 '~/mail/personal-gmail/Inbox' -macro index \e3 '~/mail/student/Inbox' -macro index \e4 '~/mail/musoft/Inbox' +macro index \e3 '~/mail/aber/Inbox' source ~/.mutt/account.personal -- 2.46.2