summaryrefslogtreecommitdiff
path: root/gnus-conf.el
diff options
context:
space:
mode:
Diffstat (limited to 'gnus-conf.el')
-rw-r--r--gnus-conf.el22
1 files changed, 19 insertions, 3 deletions
diff --git a/gnus-conf.el b/gnus-conf.el
index 1a5ff18..f1b0b2c 100644
--- a/gnus-conf.el
+++ b/gnus-conf.el
@@ -1,15 +1,31 @@
;;; gnus-conf.el --- My Gnus configurations -*- lexical-binding: t; -*-
(require 'gnus)
+(require 'epa)
+(epa-file-enable)
(setq gnus-select-method '(nnnil ""))
(setq gnus-secondary-select-methods
- '((nntp "news.gmane.io")
+ '(;; (nntp "news.gmane.io")
(nnmaildir "private" (directory "~/.nnmaildir"))
- (nnmaildir "sent" (directory "~/.nnmaildir"))))
+ ;; (nnmaildir "sent" (directory "~/.nnmaildir"))
+ ;; (nnimap "LocalMail"
+ ;; (nnimap-address "localhost")
+ ;; (nnimap-stream network)
+ ;; (nnimap-server-port 143))
+ ))
(setq gnus-ignored-from-addresses "mmemmew@gmail.com")
+(setq send-mail-function #'smtpmail-send-it)
+(setq smtpmail-smtp-user "mmemmew@gmail.com")
+
+(setq gnus-user-agent '(emacs gnus config))
+
+(setq mail-user-agent 'gnus-user-agent)
+
+(setq read-mail-command 'gnus)
+
(set 'gnus-novice-user nil)
(setq nnmail-expiry-wait 'immediate)
@@ -18,7 +34,7 @@
'((".*"
(posting-style
(gcc "nnmaildir+private:Sent")
- (From (format "%s" user-full-name))))))
+ (From (format "Durand <%s>" user-mail-address))))))
(require 'gnus-msg)