diff --git a/init.el b/init.el index 135b228..486435f 100644 --- a/init.el +++ b/init.el @@ -612,3 +612,21 @@ :ensure t :hook (prog-mode . prism-mode)) + +;;; Gnus + +(use-package gnus + :defer t + :init + (setq user-mail-address "zdm@cock.li" + user-full-name "zdm") + (setq gnus-select-method + '(nnimap "mail.cock.li" + (nnimap-address "mail.cock.li") + (nnimap-server-port 993) + (nnimap-stream ssl))) + (setq smtpmail-smtp-server "mail.cock.li" + smtpmail-smtp-service 587 + smtpmail-stream-type 'starttls + send-mail-function 'smtpmail-send-it + message-send-mail-function 'smtpmail-send-it))