Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save travnewmatic/ac2c3c29b98c3daabe3886d31ce69413 to your computer and use it in GitHub Desktop.
Save travnewmatic/ac2c3c29b98c3daabe3886d31ce69413 to your computer and use it in GitHub Desktop.
(setq user-mail-address "name@domain.tld"
user-full-name "first last")
;; workaround for TLS1.3 bug
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
;; Make Gnus NOT ignore [Gmail] mailboxes
(setq gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\"]\"[#'()]")
(setq gnus-select-method
'(nnnil ""))
(add-to-list 'gnus-secondary-select-methods
'(nnimap "work"
(nnimap-address "imap.gmail.com")
(nnimap-server-port 993)
(nnimap-authinfo-file ~/.authinfo-work)
(nnimap-stream ssl)))
(add-to-list 'gnus-secondary-select-methods
'(nnimap "personal"
(nnimap-address "imap.gmail.com")
(nnimap-inbox "INBOX")
(nnimap-server-port 993)
(nnimap-authinfo-file ~/.authinfo-personal)
(nnimap-stream ssl)))
(setq smtpmail-smtp-server "smtp.gmail.com"
smtpmail-smtp-service 587
gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\"]\"[#'()]")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment