Created
October 13, 2018 20:39
-
-
Save jmercouris/d5563417a0ae84c12350d996d05fa845 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (require 'nnir) | |
| ;; personal Information | |
| (setq user-full-name "John Mercouris" | |
| user-mail-address "john@atlas.engineer") | |
| (setq mml2015-signers '("A1AB09DB505BC4B8") | |
| mml2015-encrypt-to-self t) | |
| ;; setup mail accounts | |
| (setq gnus-select-method | |
| '(nnimap "work" | |
| (nnimap-address "mail.gandi.net") | |
| (nnimap-server-port 993) | |
| (nnimap-stream ssl) | |
| (nntp-authinfo-file "~/.authinfo.gpg"))) | |
| (setq smtpmail-smtp-server "mail.gandi.net" | |
| smtpmail-smtp-service 587 | |
| message-send-mail-function 'smtpmail-send-it) | |
| ;; sort threads by date | |
| (setq gnus-thread-sort-functions | |
| '(gnus-thread-sort-by-most-recent-date | |
| (not gnus-thread-sort-by-number))) | |
| (setq gnus-show-threads t) | |
| ;; try to encrypt emails we'll send | |
| (add-hook 'message-setup-hook 'mml-secure-message-encrypt) | |
| ;; threads | |
| (setq gnus-summary-thread-gathering-function 'gnus-gather-threads-by-subject) | |
| ;; read HTML mail | |
| (setq mm-text-html-renderer 'shr) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment