]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
Combine various mail modes
authorMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 23 Jan 2019 10:59:17 +0000 (10:59 +0000)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 23 Jan 2019 10:59:17 +0000 (10:59 +0000)
Use mutt with explicit -F parameters to select account and
offline/imap/online modes

mail/.local/bin/aber_mutt [moved from aber_offline_mail/.local/bin/aber_mutt with 100% similarity]
mail/.mbsync.aber [moved from aber_offline_mail/.mbsync.aber with 100% similarity]
mail/.mutt/colors.mutt [moved from aber_offline_mail/.mutt/colors.mutt with 100% similarity]
mail/.mutt/common.mutt [moved from aber_offline_mail/.mutt/common.mutt with 100% similarity]
mail/.mutt/gpg.rc [moved from aber_offline_mail/.mutt/gpg.rc with 100% similarity]
mail/.mutt/mutt.com.friedersdorff.com [new file with mode: 0644]
mail/.mutt/mutt.uk.ac.aber.maf54_offline [moved from aber_offline_mail/.mutt/mutt.uk.ac.aber.maf54 with 100% similarity]
mail/.mutt/mutt.uk.ac.aber.maf54_online [new file with mode: 0644]

diff --git a/mail/.mutt/mutt.com.friedersdorff.com b/mail/.mutt/mutt.com.friedersdorff.com
new file mode 100644 (file)
index 0000000..5bd4d40
--- /dev/null
@@ -0,0 +1,37 @@
+macro index 'c' '<change-folder>?<change-dir><home>^K+<enter>'
+
+# Source the passwords file
+#source "gpg2 -dq ~/.mutt/passwords.gpg |"
+set my_personal_password=`pass Home/xenon/mail/max@friedersdorff.com | head -n 1`
+
+# Get common settings
+source ~/.mutt/common.mutt
+
+# Encryption
+source ~/.mutt/gpg.rc
+
+# Mutt colors
+source ~/.mutt/colors.mutt
+
+# Mailbox specific settings
+unmailboxes *
+
+set imap_user = "max@friedersdorff.com"
+set imap_pass = $my_personal_password
+set smtp_url = "smtp://max@friedersdorff.com@mail.friedersdorff.com:587"
+set smtp_pass = $my_personal_password
+set from = "max@friedersdorff.com"
+set realname = "Maximilian Friedersdorff"
+set folder = "imaps://max@friedersdorff.com@mail.friedersdorff.com:993"
+set spoolfile = "+INBOX"
+set postponed = "+Drafts"
+set header_cache = ~/.mutt/com.friedersdorff.max/cache/headers
+set message_cachedir = ~/.mutt/com.friedersdorff.max/cache/bodies
+set certificate_file = ~/.mutt/com.friedersdorff.max/certificates
+
+set trash = "+Trash"
+set record = "+Sent"
+
+set pgp_sign_as="0xDA2EDF6D"
+
+mailboxes "+INBOX" "+todo" "+quicknote" "+google" 
diff --git a/mail/.mutt/mutt.uk.ac.aber.maf54_online b/mail/.mutt/mutt.uk.ac.aber.maf54_online
new file mode 100644 (file)
index 0000000..fd988a9
--- /dev/null
@@ -0,0 +1,36 @@
+macro index 'c' '<change-folder>?<change-dir><home>^K+<enter>'
+
+# Source the passwords file
+#source "gpg2 -dq ~/.mutt/passwords.gpg |"
+set my_aber_password=`pass Aber/Main | head -n 1`
+
+# Get common settings
+source ~/.mutt/common.mutt
+
+# Encryption
+source ~/.mutt/gpg.rc
+
+# Mutt colors
+source ~/.mutt/colors.mutt
+
+
+# Mailbox specific settings
+set imap_user = "maf54@aber.ac.uk"
+set imap_pass = $my_aber_password
+set smtp_url = "smtp://maf54@aber.ac.uk@smtp.office365.com:587"
+set smtp_pass = $my_aber_password
+set from = "maf54@aber.ac.uk"
+set realname = "Maximilian Friedersdorff"
+set folder = "imaps://maf54@aber.ac.uk@outlook.office365.com:993"
+set spoolfile = "+Inbox"
+set postponed = "+Drafts"
+set header_cache = ~/.mutt/uk.co.aber.maf54/cache/headers
+set message_cachedir = ~/.mutt/uk.co.aber.maf54/cache/bodies
+set certificate_file = ~/.mutt/uk.co.aber.maf54/certificates
+
+set trash = "+Trash"
+set record = "+Sent"
+
+set pgp_sign_as="0xDA2EDF6D"
+
+mailboxes "+Inbox" "+Inbox/staging" "+Lists" "+Lists/ibers-all" "+Lists/centos-sec" "+Lists/ubuntu-sec" "+Notifications" "+Notifications/ibers-cs" "+Notifications/ibers-cs/vmcpuload" "+Notifications/NPPC" "+Notifications/NPPC/Updates" "+Notifications/NPPC/Uptime" "+Notifications/NPPC/Icinga" "+UCU" "+Suppliers" "+Suppliers/BrightComputing" "+Suppliers/ClusterVision"