;;; $DOOMDIR/+email.el -*- lexical-binding: t; -*- (setq auth-sources '("~/.authinfo.gpg") auth-source-cache-expiry nil) (setq gnus-select-method '(nnimap "disroot" (nnimap-address "disroot.org") (nnimap-server-port 993) (nnimap-stream ssl))) (setq smtpmail-smtp-server "disroot.org" smtpmail-smtp-service 587 smtpmail-stream-type 'starttls message-send-mail-function #'smtpmail-send-it) (setq user-mail-address "roughlynamed@disroot.org" user-full-name "Magdalena Szweda") (setq gnus-message-archive-method '(nnimap "disroot") gnus-message-archive-group "Sent") (setq gnus-large-newsgroup nil gnus-fetch-old-headers t nnmail-expiry-target "Trash") (setq mml-secure-openpgp-signers '("3258B28C124AB0891D6C9E929B72909EEF00CBD0") mml-secure-openpgp-sign-with-sender t) (add-hook 'message-setup-hook #'message-insert-signature) (add-hook 'message-send-hook #'mml-secure-message-sign-pgpmime) (setq message-signature "\n--\nMagdalena Szweda\nhttps://roughlynamed.net\nPGP: 3258 B28C 124A B089 1D6C 9E92 9B72 909E EF00 CBD0")