summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadeep Madurange <smadurange@users.noreply.github.com>2022-05-08 00:55:01 +0800
committerSadeep Madurange <smadurange@users.noreply.github.com>2022-05-08 00:55:01 +0800
commit754463245333e63a000ab565e7dba00d3b8e95ac (patch)
treec1a4e8bea66b878dc70a8b6dad2e685388fc9af8
parent780959f3eed3a970acec91d46a111b85687e8529 (diff)
downloaddotfiles-754463245333e63a000ab565e7dba00d3b8e95ac.tar.gz
mutt
-rw-r--r--.mutt/muttrc24
-rw-r--r--.mutt/outlook18
-rw-r--r--README.md6
3 files changed, 47 insertions, 1 deletions
diff --git a/.mutt/muttrc b/.mutt/muttrc
new file mode 100644
index 0000000..71a616f
--- /dev/null
+++ b/.mutt/muttrc
@@ -0,0 +1,24 @@
+#imapset tings
+set timeout=15
+set mail_check=90
+set imap_keepalive=180
+set header_cache=~/.cache/mutt
+set message_cachedir=~/.cache/mutt
+set imap_check_subscribed=yes
+set imap_list_subscribed=yes
+unset imap_passive
+
+#smtpset tings
+set ssl_force_tls=yes
+unset ssl_starttls
+
+#sidebar
+set sidebar_width=20
+set sidebar_visible=yes
+
+#sorting
+set sort=reverse-date
+
+# outlook
+source "~/.mutt/outlook"
+folder-hook $folder 'source ~/.mutt/outlook'
diff --git a/.mutt/outlook b/.mutt/outlook
new file mode 100644
index 0000000..d8f4f35
--- /dev/null
+++ b/.mutt/outlook
@@ -0,0 +1,18 @@
+# imap settings
+set imap_user=xxxx
+set imap_pass=`pass show microsoft`
+set folder=imaps://outlook.office365.com:993
+set from=xxxx
+set realname=xxxxx
+
+# smtp settings
+set smtp_url=smtp://$imap_user:$imap_pass@smtp.office365.com:587
+
+# mailboxes
+set spoolfile=+INBOX
+mailboxes = +INBOX
+set record=+Sent
+set postponed=+Drafts
+
+# hooks
+account-hook $folder "set imap_user=xxxx imap_pass=`pass show microsoft`"
diff --git a/README.md b/README.md
index e7ced77..96038a6 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,9 @@
# Arch Linux Configuration
-Configuration files for a minimal Arch Linux setup with X and i3 (gaps) and Urxvt.
+Configuration files for a minimal Arch Linux setup with
+ - X
+ - i3 gaps
+ - urxvt
+ - mutt
![screenshot](img/screenshot.png)