-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gnus.el
151 lines (128 loc) · 4.83 KB
/
.gnus.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
(setq gnus-select-method '(nnnil ""))
(setq gnus-secondary-select-methods '((nnml ""
(nnml-directory "~/Mail"))))
(setq gnus-home-directory "~/.emacs.d"
gnus-dribble-directory "~/.emacs.d"
gnus-always-read-dribble-file t)
(setq user-mail-address "[email protected]")
(setq user-full-name "Phil Hagelberg")
(setq gnus-ignored-from-addresses "Phil Hagelberg")
;; Now with SSL!
(setq smtpmail-starttls-credentials '(("mail.technomancy.us" 587 nil nil))
smtpmail-smtp-server "mail.technomancy.us"
smtpmail-default-smtp-server "mail.technomancy.us"
send-mail-function 'smtpmail-send-it
gnus-gcc-mark-as-read t
message-send-mail-function 'smtpmail-send-it
smtpmail-smtp-service 587
starttls-extra-arguments '("--insecure")
smtpmail-auth-credentials '(("mail.technomancy.us"
587
"[email protected]" ;; throwaway send-only account
"testyy")))
(setq message-kill-buffer-on-exit t)
(setq gnus-treat-display-smileys nil)
(setq gnus-message-archive-group "sent")
(setq gnus-fetch-old-headers 'some)
(setq nnmail-split-methods 'nnmail-split-fancy)
(setq nnmail-crosspost nil)
(setq mail-source-delete-incoming nil)
(setq gnus-asynchronous t)
(setq nnmail-split-fancy
'(|
;; code
(from "unfuddle" "unfuddle")
(to "phil@sonian" "sonian")
(from "sonian\.net" "sonian")
(to "ruby_emacs_dev@yahoogroups\\.com" "emacs-rails")
(to "emacs-on-rails" "emacs-rails")
(to "[email protected]" "obby-users")
(any "conkeror" "conkeror")
(any "swank-clojure" "swank-clojure")
(any "clojure-dev" "clojure-dev")
(any "clojure" "clojure")
(any "compojure" "compojure")
(any "seafunc" "seafunc")
(any "Nxhtml" "nxhtml")
(any "mozlab" "mozlab")
(any "emacs-rails" "emacs-rails")
(any "gems.*forge" "gems")
(to "[email protected]" "gems")
(any "emacs-devel" "emacs-devel")
(any "bus-scheme" "bus-scheme")
(any "ruby-core" "ruby-core")
(from "@amazon\.com" "amazon")
(to "magit" "magit")
(to "rudel" "rudel")
(any "ert-devs" "ert")
(any "solr" "solr")
(any "couchapp" "couchapp")
(any "katta" "katta")
(any "tika" "tika")
(any "zenspider\\.com" "seattle.rb")
(to "incanter" "incanter")
(to "clj-processing" "clj-processing")
(from "github" "github")
(from "Phil Hagelberg.*[email protected]" junk)
(to "phil@localhost" "feeds")
;; personal
(from "agelberg" - "Alisha" "family")
(from "Broach" "family")
(any "David Morton" "xpoint")
(any "Edward Volz" "xpoint")
(any "John Gaitan" "xpoint")
(from ".*crosspoint.*" "xpoint")
(to "cp-parish-group" "xpoint")
(from "hudsonite" "xpoint")
(to "parishgroup2@googlegroups\.com" "parish")
(to "cplparishgroups@googlegroups\.com" "parish")
(any "zacchaeus-bounces" junk)
(any "zacchaeus.*" "friends")
(any ".*hackelford.*" "friends")
(any ".*peckham.*" "friends")
(any ".*carroll.*" "friends")
(any ".*guenther.*" "friends")
(any ".*rowley.*" "friends")
(any ".*malabuyo.*" "friends")
(any ".*holloway.*" "friends")
(any "Arko" "friends")
(any "Joel Watson" "friends")
;; misc
(from "VMWare" junk)
(any "cron" junk)
(any "Anacron" junk)
(from "Inbox Archiver" junk)
(any "Meridius" junk)
(any "Paris Hilton" junk)
(any "cartographer" junk)
(from "Joanne Neumann" junk)
(any "ocruby" junk)
(any "CNN Alerts" junk)
(any "ALM Expo 2008" junk)
(from "Dianne Des Rochers" junk)
"inbox"))
(setq mail-sources '((file :path "/var/mail/phil")))
(setq imap-ssl-program "openssl s_client -ssl3 -connect %s:%p")
(setq gnus-agent-expire-days 0)
(setq gnus-agent-enable-expiration 'DISABLE)
(gnus-demon-add-handler 'gnus-group-get-new-news 10 t)
(gnus-demon-init)
;; Unbind this key; it's annoying!
(define-key gnus-summary-mode-map "o" (lambda () (interactive)))
(add-hook 'message-mode-hook 'turn-on-flyspell)
(setq gnus-summary-line-format
(concat
"%{|%}"
"%U%R%z"
"%{|%}"
"%(%-18,18f"
"%{|%}"
"%*%{%B%} %s%)"
"\n"))
(setq gnus-parameters '((".*" (banner . iphone)))) (setq gnus-article-banner-alist '((iphone . "\\(^Sent from my iPhone$\\)")))
(add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
(setq gnus-use-full-window nil)
(mailcap-add "image/jpeg" "display")
(if (file-exists-p system-specific-config)
(load system-specific-config))
(shell-command "fetchmail")