source: dotfiles/emacs/.gnus@ 54af9bb

Last change on this file since 54af9bb was 54af9bb, checked in by Mikhail Kirillov <w96k@…>, on Jul 31, 2024 at 3:41:02 AM

Update gnus to work with runbox + mailing lists

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[6352043]1(setq epa-file-cache-passphrase-for-symmetric-encryption t)
2
[54af9bb]3(with-eval-after-load "mail-source"
4 (add-to-list 'mail-sources '(pop :name "runbox"
5 :server "mail.runbox.com"
6 :user "w96k"
7 :leave 3
8 )))
9
10
11(setq user-mail-address "w96k@runbox.com"
[4af2e60]12 user-full-name "Mikhail Kirillov")
13
[54af9bb]14(setq gnus-select-method '(nnml ""))
[abde3d6]15
[54af9bb]16(add-to-list 'gnus-secondary-select-methods '(nntp "news.eternal-september.org"))
[6cbb9a9]17(add-to-list 'gnus-secondary-select-methods '(nntp "news.gmane.io"))
18
[54af9bb]19;; (add-to-list 'gnus-secondary-select-methods '(nnimap "gmail"
20;; (nnimap-address "imap.gmail.com")
21;; (nnimap-server-port 993)
22;; (nnimap-stream ssl)))
23
24(setq gnus-use-cache t
25 send-mail-function 'smtpmail-send-it
26 message-send-mail-function 'smtpmail-send-it
27 smtpmail-smtp-server "mail.runbox.com"
28 ;; smtpmail-smtp-service 587
29 ;; smtpmail-stream-type 'starttls
30 smtpmail-stream-type 'ssl
31 smtpmail-smtp-service 465
32 mml-secure-openpgp-signers '("CE73F35DE039B8D52039A12CB643528AA92DE506")
33 mml-secure-openpgp-encrypt-to-self t
[4af2e60]34 gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\"]\"[#'()]")
[6352043]35
[54af9bb]36(setq starttls-use-gnutls t)
37(setq starttls-gnutls-program "gnutls-cli")
38(setq starttls-extra-arguments nil)
39(setq smtpmail-servers-requiring-authorization ".*")
40
[6352043]41(add-hook 'message-setup-hook 'mml-secure-message-encrypt)
42(add-hook 'message-setup-hook 'mml-secure-message-sign)
[54af9bb]43
44(setq mm-automatic-display (remove "text/html" mm-automatic-display))
45
46(add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
47
Note: See TracBrowser for help on using the repository browser.