From 4903e67192bed09685963452dce3c77f208faa79 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Fri, 24 Dec 2021 14:30:42 +0800 Subject: Use multiple SMTP servers now * gnus-conf.el (gnus-secondary-select-methods): Add mailboxes corresponding to the new server. (smtpmail-smtp-user): Just a random change. (durand-smtp-servers): The association list of my servers. (durand-set-smtp-server-message-send-and-exit): Set the server automagically. (message-mode-map): Bind C-c C-c to the magic command. * mail.el (mu4e-get-mail-command): Specify exactly what channels should be updated by a call to mbsync, just to be more precise and pedantic. --- mail.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mail.el') diff --git a/mail.el b/mail.el index 308e078..b8f7aa2 100644 --- a/mail.el +++ b/mail.el @@ -12,7 +12,9 @@ (setq mu4e-view-use-gnus t) (setq mu4e-confirm-quit nil) - (setq mu4e-get-mail-command "mbsync -a") ; mbsync works a lot better! + ;; mbsync works a lot better! + (setq mu4e-get-mail-command + "mbsync mymail-inbox mymail-sent gmail-inbox gmail-sent") (setq mu4e-change-filenames-when-moving t) (setq mu4e-view-show-addresses t) ; show full addresses! (setq mu4e-view-show-images t) @@ -107,6 +109,9 @@ (smtpmail-smtp-server . "smtp.gmail.com") (smtpmail-smtp-service . 587)))))) +;; (setq smtpmail-debug-info t) +;; (setq smtpmail-debug-verb t) + ;;; message mode (require 'message) -- cgit v1.2.3-18-g5258