From 1d937b9316043ed8ffd466a903e397d84c3c54fb Mon Sep 17 00:00:00 2001 From: Fabio Scotto di Santolo Date: Sat, 8 Nov 2025 17:22:02 +0100 Subject: [PATCH] Fix SMTP client config --- doom/.config/doom/config.el | 11 ++--------- emacs/.msmtprc | 6 +++++- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/doom/.config/doom/config.el b/doom/.config/doom/config.el index 92c9cc1..ecda5ce 100644 --- a/doom/.config/doom/config.el +++ b/doom/.config/doom/config.el @@ -43,7 +43,7 @@ ;; If you use `org' and don't want your org files in the default location below, ;; change `org-directory'. It must be set before org loads! -(setq org-directory "~/Org/") +(setq org-directory "~/Remotes/pCloud/Org") ;; Whenever you reconfigure a package, make sure to wrap your config in an ;; `after!' block, otherwise Doom's defaults may override your settings. E.g. @@ -121,13 +121,6 @@ (mu4e-refile-folder . "/iCloudAccount/INBOX") (mu4e-trash-folder . "/iCloudAccount/Junk"))))) - ;; (setq mu4e-maildir-shortcuts - ;; '(("/Inbox" . ?i) - ;; ("/ProtonMailAccount/Sent" . ?s) - ;; ("/ProtonMailAccount/Trash" . ?t) - ;; ("/ProtonMailAccount/Drafts" . ?d) - ;; ("/ProtonMailAccount/All Mail" . ?a))) - ;; Configure SMTP client for send emails (setq sendmail-program "/usr/bin/msmtp" send-mail-function 'sendmail-send-it @@ -141,7 +134,7 @@ (setq elfeed-db-directory "~/.elfeed") (setq elfeed-enclosure-default-dir "~/Downloads/") (setq elfeed-sort-order 'descending) - (setq elfeed-search-filter "1-week-ago +unread") + (setq elfeed-search-filter "6-months-ago +unread") ;; Key bindings (map! :map elfeed-search-mode-map diff --git a/emacs/.msmtprc b/emacs/.msmtprc index aa4dfe5..697ca4d 100644 --- a/emacs/.msmtprc +++ b/emacs/.msmtprc @@ -7,7 +7,7 @@ tls on # Set a list of trusted CAs for TLS. The default is to use system settings, # but you can select your own file. tls_trust_file /etc/ssl/certs/ca-certificates.crt -logfile ~/.config/msmtp/msmtp.log +logfile ~/.cache/msmtp.log # Account iCloud account icloud @@ -38,6 +38,10 @@ port 1025 # Envelop-from address from fscottodisantolo@protonmail.com +# Security +tls on +tls_trust_file ~/.config/protonmail/bridge-v3/cert.pem + # Authentication auth on user fscottodisantolo@protonmail.com