瀏覽代碼

mu4e: Add SMTP config

master
Bingen Eguzkitza 3 年之前
父節點
當前提交
4eef2d9ac3
共有 1 個檔案被更改,包括 29 行新增3 行删除
  1. +29
    -3
      lisp/init-mu4e.el.template

+ 29
- 3
lisp/init-mu4e.el.template 查看文件

@@ -50,7 +50,16 @@
".*@home.example.com")))
:vars '( ( user-mail-address . "aliced@home.example.com" )
( user-full-name . "ßingen" )
( mu4e-compose-signature . nil)))
( mu4e-compose-signature . nil)
( mu4e-sent-folder . "/Sent")
( user-mail-address . "aliced@home.example.com")
( smtpmail-smtp-user . "aliced@home.example.com")
( smtpmail-local-domain . "example.com")
( smtpmail-default-smtp-server . "smtp.example.com")
( smtpmail-smtp-server . "smtp.example.com")
( smtpmail-smtp-service . 587)
( smtpmail-stream-type . starttls)
( smtpmail-use-gnutls . t)))
,(make-mu4e-context
:name "Work"
:enter-func (lambda () (mu4e-message "Switch to the Work context"))
@@ -62,7 +71,15 @@
(string-match-p "^/Arkham" (mu4e-message-field msg :maildir))))
:vars '( ( user-mail-address . "aderleth@miskatonic.example.com" )
( user-full-name . "ßingen" )
( mu4e-compose-signature . nil)))
( mu4e-compose-signature . nil) (mu4e-sent-folder . "/Sent")
( user-mail-address . "aliced@home.example.com")
( smtpmail-smtp-user . "aliced@home.example.com")
( smtpmail-local-domain . "example.com")
( smtpmail-default-smtp-server . "smtp.example.com")
( smtpmail-smtp-server . "smtp.example.com")
( smtpmail-smtp-service . 587)
( smtpmail-stream-type . starttls)
( smtpmail-use-gnutls . t)))

,(make-mu4e-context
:name "Cycling"
@@ -75,7 +92,16 @@
(string= (mu4e-message-field msg :maildir) "/cycling")))
:vars '( ( user-mail-address . "aderleth@example.com" )
( user-full-name . "ßingen" )
( mu4e-compose-signature . nil)))))
( mu4e-compose-signature . nil)
( mu4e-sent-folder . "/Sent")
( user-mail-address . "aliced@home.example.com")
( smtpmail-smtp-user . "aliced@home.example.com")
( smtpmail-local-domain . "example.com")
( smtpmail-default-smtp-server . "smtp.example.com")
( smtpmail-smtp-server . "smtp.example.com")
( smtpmail-smtp-service . 587)
( smtpmail-stream-type . starttls)
( smtpmail-use-gnutls . t)))))

;; set `mu4e-context-policy` and `mu4e-compose-policy` to tweak when mu4e should
;; guess or ask the correct context, e.g.

Loading…
取消
儲存