aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--alias8
-rw-r--r--mutt/muttrc.topo10
2 files changed, 9 insertions, 9 deletions
diff --git a/alias b/alias
index b787532..81b88ab 100644
--- a/alias
+++ b/alias
@@ -73,12 +73,12 @@ ssh.down() {
73} 73}
74 74
75# imap 75# imap
76curl.mail.save() { 76imap.save() {
77 curl "imaps://mail.topo.tw/$1" \ 77 curl "imaps://mail.topo.tw/$1" \
78 --user pham:`pass mail/pham@mail.topo.tw` \ 78 --user pham:`pass mail/pham@mail.topo.tw` \
79 -T $2 79 -T $2
80} 80}
81curl.mail.save_attachment() { 81imap.save_attachment() {
82#TEMPFILE=$(mktemp) 82#TEMPFILE=$(mktemp)
83 trap 'rm $TEMPFILE' EXIT 83 trap 'rm $TEMPFILE' EXIT
84 mail -a $1 -Sexpandaddr /dev/stdout | \ 84 mail -a $1 -Sexpandaddr /dev/stdout | \
@@ -86,12 +86,12 @@ curl.mail.save_attachment() {
86 --user pham:`pass mail/pham@mail.topo.tw` \ 86 --user pham:`pass mail/pham@mail.topo.tw` \
87 -T /dev/stdin 87 -T /dev/stdin
88} 88}
89curl.mail.search.subject() { 89imap.search.subject() {
90 curl "imaps://mail.topo.tw/$1" \ 90 curl "imaps://mail.topo.tw/$1" \
91 --user pham:`pass mail/pham@mail.topo.tw` \ 91 --user pham:`pass mail/pham@mail.topo.tw` \
92 --request "SEARCH SUBJECT $2" 92 --request "SEARCH SUBJECT $2"
93} 93}
94curl.mail.fetch() { 94imap.fetch() {
95 curl "imaps://mail.topo.tw/$1;MAILINDEX=$2" \ 95 curl "imaps://mail.topo.tw/$1;MAILINDEX=$2" \
96 --user pham:`pass mail/pham@mail.topo.tw` | \ 96 --user pham:`pass mail/pham@mail.topo.tw` | \
97 dos2unix | \ 97 dos2unix | \
diff --git a/mutt/muttrc.topo b/mutt/muttrc.topo
index f841f78..65e7956 100644
--- a/mutt/muttrc.topo
+++ b/mutt/muttrc.topo
@@ -29,7 +29,7 @@ set move = yes
29set record = "+INBOX" 29set record = "+INBOX"
30set trash = "+Trash" 30set trash = "+Trash"
31set postponed = "+Drafts" 31set postponed = "+Drafts"
32set mask="!(INBOX|mbox|dev|Sent|Trash|Drafts|DeltaChat|civildef|hometeach|osm|arch-general|mutt-users|bash|STOCK|pay|keep|login|update|test|spam)" 32set mask="!(INBOX|mbox|dev|Sent|Trash|Drafts|DeltaChat|civildef|hometeach|osm|STOCK|pay|keep|login|update|test|spam)"
33 33
34# Sidebar 34# Sidebar
35mailboxes -label '📭 [i]' +INBOX \ 35mailboxes -label '📭 [i]' +INBOX \
@@ -41,10 +41,10 @@ mailboxes -label '📭 [i]' +INBOX \
41 -label CivilDEF +civildef \ 41 -label CivilDEF +civildef \
42 +hometeach \ 42 +hometeach \
43 -label OSM +osm \ 43 -label OSM +osm \
44 -label Arch +arch-general \ 44 -label Arch +mailing_list.arch-general \
45 -label Mutt +mutt-users \ 45 -label Mutt +mailing_list.mutt-users \
46 -label Bash +bash \ 46 -label Bash +mailing_list.bash \
47 -label Aerc +aerc \ 47 -label Aerc +mailing_list.aerc \
48 +STOCK \ 48 +STOCK \
49 -label '📢 [f]' +feedback \ 49 -label '📢 [f]' +feedback \
50 "+-- Permanent ---" \ 50 "+-- Permanent ---" \