summaryrefslogtreecommitdiff
path: root/mail.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-12-24 14:30:42 +0800
committerJSDurand <mmemmew@gmail.com>2021-12-24 14:30:42 +0800
commit4903e67192bed09685963452dce3c77f208faa79 (patch)
tree0606159a4ab48a269fc9e5efa6959f3254d325ad /mail.el
parentf6bb4ec55c39478163c8604d7cf6488d51de172c (diff)
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.
Diffstat (limited to 'mail.el')
-rw-r--r--mail.el7
1 files changed, 6 insertions, 1 deletions
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)