From 348bada200a443ad27b9b0e1ee1a8cc0dd9b5cae Mon Sep 17 00:00:00 2001 From: stuebinm Date: Tue, 11 Apr 2023 15:22:33 +0200 Subject: more mail stuff --- config.el | 14 +++++++++++++- custom.el | 4 +++- 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. -- cgit v1.2.3