(setq epa-file-cache-passphrase-for-symmetric-encryption t) (with-eval-after-load "mail-source" (add-to-list 'mail-sources '(pop :name "runbox" :server "mail.runbox.com" :user "w96k" :leave 3 ))) (setq user-mail-address "w96k@runbox.com" user-full-name "Mikhail Kirillov") (setq gnus-select-method '(nnml "")) (add-to-list 'gnus-secondary-select-methods '(nntp "news.eternal-september.org")) (add-to-list 'gnus-secondary-select-methods '(nntp "news.gmane.io")) ;; (add-to-list 'gnus-secondary-select-methods '(nnimap "gmail" ;; (nnimap-address "imap.gmail.com") ;; (nnimap-server-port 993) ;; (nnimap-stream ssl))) (setq gnus-use-cache t send-mail-function 'smtpmail-send-it message-send-mail-function 'smtpmail-send-it smtpmail-smtp-server "mail.runbox.com" ;; smtpmail-smtp-service 587 ;; smtpmail-stream-type 'starttls smtpmail-stream-type 'ssl smtpmail-smtp-service 465 mml-secure-openpgp-signers '("CE73F35DE039B8D52039A12CB643528AA92DE506") mml-secure-openpgp-encrypt-to-self t gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\"]\"[#'()]") (setq starttls-use-gnutls t) (setq starttls-gnutls-program "gnutls-cli") (setq starttls-extra-arguments nil) (setq smtpmail-servers-requiring-authorization ".*") (add-hook 'message-setup-hook 'mml-secure-message-encrypt) (add-hook 'message-setup-hook 'mml-secure-message-sign) (setq mm-automatic-display (remove "text/html" mm-automatic-display)) (add-hook 'gnus-group-mode-hook 'gnus-topic-mode)