projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Various email-related changes
[~bandali/configs]
/
lisp
/
bandali-gnus.el
diff --git
a/lisp/bandali-gnus.el
b/lisp/bandali-gnus.el
index
f85f694
..
180e82a
100644
(file)
--- a/
lisp/bandali-gnus.el
+++ b/
lisp/bandali-gnus.el
@@
-58,7
+58,7
@@
(nnimap-address "127.0.0.1")
(nnimap-server-port 143)
(nnimap-authenticator plain)
(nnimap-address "127.0.0.1")
(nnimap-server-port 143)
(nnimap-authenticator plain)
- (nnimap-user "
amin
@shemshak.local"))
+ (nnimap-user "
bandali
@shemshak.local"))
(nnimap "gnu"
(nnimap-stream plain)
(nnimap-address "127.0.0.1")
(nnimap "gnu"
(nnimap-stream plain)
(nnimap-address "127.0.0.1")
@@
-76,6
+76,8
@@
(list ".*<\\(.*\\)\\.gnus\\.org>.*" "l.\\1")
;; libreplanet
(list ".*<\\(.*\\)\\.libreplanet\\.org>.*" "l.\\1")
(list ".*<\\(.*\\)\\.gnus\\.org>.*" "l.\\1")
;; libreplanet
(list ".*<\\(.*\\)\\.libreplanet\\.org>.*" "l.\\1")
+ ;; iana (e.g. tz-announce)
+ (list ".*<\\(.*\\)\\.iana\\.org>.*" "l.\\1")
;; *.lists.sr.ht, omitting one dot if present
;; add more \\.?\\([^.]*\\) if needed
(list ".*<~\\(.*\\)/\\([^.]*\\)\\.?\\([^.]*\\)\\.lists.sr.ht>.*" "l.~\\1.\\2\\3")
;; *.lists.sr.ht, omitting one dot if present
;; add more \\.?\\([^.]*\\) if needed
(list ".*<~\\(.*\\)/\\([^.]*\\)\\.?\\([^.]*\\)\\.lists.sr.ht>.*" "l.~\\1.\\2\\3")
@@
-92,15
+94,15
@@
;; legend: (u)nsubscribed | (d)ead
;; ----------------------------------
;; spam
;; legend: (u)nsubscribed | (d)ead
;; ----------------------------------
;; spam
- ("X-Spam
-Flag" "YES
" "Junk")
+ ("X-Spam
_action" "reject
" "Junk")
;; otherwise, leave mail in INBOX
"INBOX")))
;; otherwise, leave mail in INBOX
"INBOX")))
- (nnimap "uw"
+ (nnimap "uw
aterloo
"
(nnimap-stream plain)
(nnimap-address "127.0.0.1")
(nnimap-server-port 143)
(nnimap-authenticator plain)
(nnimap-stream plain)
(nnimap-address "127.0.0.1")
(nnimap-server-port 143)
(nnimap-authenticator plain)
- (nnimap-user "abandali@uw.local")
+ (nnimap-user "abandali@uw
aterloo
.local")
(nnimap-inbox "INBOX")
(nnimap-split-methods 'nnimap-split-fancy)
(nnimap-split-fancy (|
(nnimap-inbox "INBOX")
(nnimap-split-methods 'nnimap-split-fancy)
(nnimap-split-fancy (|
@@
-115,7
+117,14
@@
(nnimap-address "127.0.0.1")
(nnimap-server-port 143)
(nnimap-authenticator plain)
(nnimap-address "127.0.0.1")
(nnimap-server-port 143)
(nnimap-authenticator plain)
- (nnimap-user "abandali@csc.uw.local")))
+ (nnimap-user "abandali@csclub.uwaterloo.local")
+ (nnimap-inbox "INBOX")
+ (nnimap-split-methods 'nnimap-split-fancy)
+ (nnimap-split-fancy (|
+ ;; spam
+ ("X-Spam-Flag" "YES" "Junk")
+ ;; catch-all
+ "INBOX"))))
gnus-message-archive-group "nnimap+gnu:INBOX"
gnus-parameters
'(("l\\.atreus"
gnus-message-archive-group "nnimap+gnu:INBOX"
gnus-parameters
'(("l\\.atreus"
@@
-252,7
+261,7
@@
(gcc-self . t))
("l\\."
(subscribed . t))
(gcc-self . t))
("l\\."
(subscribed . t))
- ("nnimap\\+uw:.*"
+ ("nnimap\\+uw
aterloo
:.*"
(gcc-self . t)))
gnus-large-newsgroup 50
gnus-home-directory (b/var "gnus/")
(gcc-self . t)))
gnus-large-newsgroup 50
gnus-home-directory (b/var "gnus/")
@@
-271,6
+280,12
@@
'(list . "list-id\\|list-post\\|x-mailing-list\\|x-beenthere\\|x-loop")
t)))
'(list . "list-id\\|list-post\\|x-mailing-list\\|x-beenthere\\|x-loop")
t)))
+ ;; (require 'gnus-registry)
+ ;; (setq gnus-registry-max-entries 2500)
+ ;; (setq gnus-registry-ignored-groups
+ ;; (append gnus-registry-ignored-groups
+ ;; '(("^nnimap:gnu\\.l" t)
+ ;; ("webmasters$" t))))
;; (gnus-registry-initialize)
(with-eval-after-load 'recentf
;; (gnus-registry-initialize)
(with-eval-after-load 'recentf
@@
-301,8
+316,8
@@
"^Resent-From:"
"^User-Agent:"
"^X-detected-operating-system:"
"^Resent-From:"
"^User-Agent:"
"^X-detected-operating-system:"
- "^X-Spam
-Flag
:"
- "^X-Spam
-Level
:"
+ "^X-Spam
_action
:"
+ "^X-Spam
_bar
:"
"^Message-ID:"
;; "^References:"
"^List-Id:"
"^Message-ID:"
;; "^References:"
"^List-Id:"
@@
-348,10
+363,10
@@
:config
(defvar b/shemshak-signature "Amin Bandali
https://shemshak.org/~amin")
:config
(defvar b/shemshak-signature "Amin Bandali
https://shemshak.org/~amin")
- (defvar b/uw
-signature "Amin Bandali, MMath Student
+ (defvar b/uw
aterloo-signature "Amin Bandali, MMath Candidate
Cheriton School of Computer Science
University of Waterloo
Cheriton School of Computer Science
University of Waterloo
-https://b
andali.eu
.org")
+https://b
ndl
.org")
(defvar b/csc-signature "Amin Bandali
System Administrator, Systems Committee
Computer Science Club, University of Waterloo
(defvar b/csc-signature "Amin Bandali
System Administrator, Systems Committee
Computer Science Club, University of Waterloo
@@
-374,12
+389,12
@@
https://csclub.uwaterloo.ca/~abandali")
(signature b/shemshak-signature)
(gcc "nnimap+shemshak:Sent")
(eval (setq b/message-cite-say-hi t)))
(signature b/shemshak-signature)
(gcc "nnimap+shemshak:Sent")
(eval (setq b/message-cite-say-hi t)))
- ("nnimap\\+uw:.*"
+ ("nnimap\\+uw
aterloo
:.*"
(address "bandali@uwaterloo.ca")
(body "\nBest,\n")
(address "bandali@uwaterloo.ca")
(body "\nBest,\n")
- (signature b/uw-signature))
- ("nnimap\\+uw:INBOX"
- (gcc "\"nnimap+uw:Sent Items\""))
+ (signature b/uw
aterloo
-signature))
+ ("nnimap\\+uw
aterloo
:INBOX"
+ (gcc "\"nnimap+uw
aterloo
:Sent Items\""))
("nnimap\\+csc:.*"
(address "bandali@csclub.uwaterloo.ca")
(signature b/csc-signature)
("nnimap\\+csc:.*"
(address "bandali@csclub.uwaterloo.ca")
(signature b/csc-signature)