aboutsummaryrefslogtreecommitdiff
path: root/+email.el
diff options
context:
space:
mode:
authorMagdalena Szweda <roughlynamed@disroot.org>2026-09-18 20:01:57 +0200
committerMagdalena Szweda <hi@roughlynamed.net>2026-09-21 19:05:12 +0200
commit376841ef8ee82afcfcdbfe95d196931c0b5c931e (patch)
tree7174f178136a03a8443fc6bcb214d4c0e44c12be /+email.el
parent8ee08f6c356d6aaf5ea9f9e644c126a683ca948f (diff)
so so much stuff
Diffstat (limited to '+email.el')
-rw-r--r--+email.el29
1 files changed, 16 insertions, 13 deletions
diff --git a/+email.el b/+email.el
index ade568c..df06bea 100644
--- a/+email.el
+++ b/+email.el
@@ -1,22 +1,21 @@
;;; $DOOMDIR/+email.el -*- lexical-binding: t; -*-
(setq auth-sources '("~/.authinfo.gpg")
auth-source-cache-expiry nil)
-
+(setq gnus-permanently-visible-groups ".")
(setq gnus-select-method
- '(nnimap "disroot"
- (nnimap-address "disroot.org")
+ '(nnimap "migadu"
+ (nnimap-address "imap.migadu.com")
(nnimap-server-port 993)
(nnimap-stream ssl)))
-
-(setq smtpmail-smtp-server "disroot.org"
- smtpmail-smtp-service 587
- smtpmail-stream-type 'starttls
+(setq smtpmail-smtp-server "smtp.migadu.com"
+ smtpmail-smtp-service 465
+ smtpmail-stream-type 'ssl
message-send-mail-function #'smtpmail-send-it)
-(setq user-mail-address "roughlynamed@disroot.org"
+(setq user-mail-address "hi@roughlynamed.net"
user-full-name "Magdalena Szweda")
-(setq gnus-message-archive-method '(nnimap "disroot")
+(setq gnus-message-archive-method '(nnimap "migadu")
gnus-message-archive-group "Sent")
(setq gnus-large-newsgroup nil
@@ -27,8 +26,12 @@
'("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")
+(with-eval-after-load "mm-decode"
+ (add-to-list 'mm-discouraged-alternatives "text/html")
+ (add-to-list 'mm-discouraged-alternatives "text/richtext"))
+(setq message-signature-file "~/.signature")
+(map! :map message-mode-map
+ :localleader
+ "s" #'message-send-and-exit
+ "S" #'message-send)