]> git.earman.xyz Git - emacsinit.git/commitdiff
mu4e: read SMTP password from pass; drop obsolete settings master
authorrush <iv@earman.xyz>
Sun, 11 Oct 2026 14:05:46 +0000 (10:05 -0400)
committerrush <iv@earman.xyz>
Sun, 11 Oct 2026 14:13:01 +0000 (10:13 -0400)
Enable auth-source-pass so smtpmail reads the password from the
mail.earman.xyz pass entry, the same entry that mbsync and msmtp use.
Move the smtpmail queue out of the synced maildir. Remove
mu4e-compose-reply-to-address and mu4e-maildir, which mu 1.14 ignores.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
init.el

diff --git a/init.el b/init.el
index 5f430e92044e1e7a4e160b50ad439985df3069d4..4c94d275f09ef289736b5f7f6150cb93c2637326 100644 (file)
--- a/init.el
+++ b/init.el
@@ -343,6 +343,7 @@ installed."
 \r
 (when (eq system-type 'gnu/linux)\r
   (with-eval-after-load 'mu4e\r
 \r
 (when (eq system-type 'gnu/linux)\r
   (with-eval-after-load 'mu4e\r
+    (auth-source-pass-enable)\r
     (setq mail-user-agent 'message-user-agent\r
          message-send-mail-function 'smtpmail-send-it\r
          message-citation-line-format "Quoth %f :\n"\r
     (setq mail-user-agent 'message-user-agent\r
          message-send-mail-function 'smtpmail-send-it\r
          message-citation-line-format "Quoth %f :\n"\r
@@ -352,7 +353,7 @@ installed."
          smtpmail-stream-type 'starttls\r
          smtpmail-local-domain "earman.xyz"\r
          smtpmail-queue-mail nil\r
          smtpmail-stream-type 'starttls\r
          smtpmail-local-domain "earman.xyz"\r
          smtpmail-queue-mail nil\r
-         smtpmail-queue-dir "~/mail/Outbox/cur"\r
+         smtpmail-queue-dir "~/.cache/smtpmail-queue/"\r
          user-mail-address "iv@earman.xyz"\r
          user-full-name "Rush N. Earman IV"\r
          message-signature "Rush Earman IV, PE"\r
          user-mail-address "iv@earman.xyz"\r
          user-full-name "Rush N. Earman IV"\r
          message-signature "Rush Earman IV, PE"\r
@@ -362,8 +363,6 @@ installed."
          mu4e-change-filenames-when-moving t\r
          mu4e-use-fancy-chars t\r
          mu4e-attachment-dir "~/downloads"\r
          mu4e-change-filenames-when-moving t\r
          mu4e-use-fancy-chars t\r
          mu4e-attachment-dir "~/downloads"\r
-         mu4e-compose-reply-to-address "iv@earman.xyz"\r
-         mu4e-maildir "~/mail"\r
          mu4e-drafts-folder "/Drafts"\r
          mu4e-sent-folder "/Sent"\r
          mu4e-trash-folder "/Trash"\r
          mu4e-drafts-folder "/Drafts"\r
          mu4e-sent-folder "/Sent"\r
          mu4e-trash-folder "/Trash"\r