summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2023-04-11 15:22:33 +0200
committerstuebinm2023-04-11 15:22:33 +0200
commit348bada200a443ad27b9b0e1ee1a8cc0dd9b5cae (patch)
tree8292d83ca72452d69f263a9e5a3d1c6eb65914a7
parent6a279f87a984766dcb4630378e805926b3ae91a6 (diff)
more mail stuff
-rw-r--r--config.el14
-rw-r--r--custom.el4
2 files changed, 16 insertions, 2 deletions
diff --git a/config.el b/config.el
index 2c66884..c12c7a4 100644
--- a/config.el
+++ b/config.el
@@ -46,7 +46,19 @@
(m4u-maildir . "~/Maildir/hacc")
(mu4e-sent-folder . "/hacc/Sent")
(mu4e-trash-folder . "/hacc/Trash") )
- t))
+ t)
+ (set-email-account! "disroot"
+ '( (user-mail-address . "stuebinm@disroot.org")
+ (user-full-name . "terru")
+ (m4u-maildir . "~/Maildir/disroot")
+ (mu4e-sent-folder . "/disroot/Sent")
+ (mu4e-trash-folder . "/disroot/Trash"))
+ t)
+ (setq sendmail-program (executable-find "msmtp")
+ send-mail-function #'smtpmail-send-it
+ message-sendmail-f-is-evil t
+ message-sendmail-extra-arguments '("--read-envelope-from")
+ message-send-mail-function #'message-send-mail-with-sendmail))
(after! helm-dictionary
(setq helm-dictionary-database
diff --git a/custom.el b/custom.el
index e8a0fcb..e8b5f08 100644
--- a/custom.el
+++ b/custom.el
@@ -3,7 +3,9 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
- '(auth-source-save-behavior nil))
+ '(auth-source-save-behavior nil)
+ '(smtpmail-smtp-server "mail.hacc.space")
+ '(smtpmail-smtp-service 25))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.