Emacs: Update email settings.
This commit is contained in:
parent
d22323c006
commit
38f201a68c
|
@ -1,6 +1,6 @@
|
|||
;;; email.el --- Email setup -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-03-28T12:23:02+0100>
|
||||
;; Time-stamp: <2020-03-31T01:55:53+0200>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -8,8 +8,9 @@
|
|||
|
||||
(require 'basics/package-management)
|
||||
|
||||
(when (and (executable-find "mu")
|
||||
(file-exists-p "~/email/tzend"))
|
||||
(when (or (and (executable-find "mu")
|
||||
(file-exists-p "~/email/tzend"))
|
||||
(file-exists-p "~/.maildir"))
|
||||
(use-package mu4e
|
||||
:straight nil ; Installed by package “mu”.
|
||||
:after (ivy smtpmail)
|
||||
|
@ -30,10 +31,17 @@
|
|||
;; Don't render HTML.
|
||||
(mu4e-view-html-plaintext-ratio-heuristic most-positive-fixnum)
|
||||
(mu4e-attachment-dir "~/Downloads")
|
||||
(mu4e-compose-signature-auto-include nil)
|
||||
(mu4e-compose-signature-auto-include t)
|
||||
(mu4e-user-agent-string nil)
|
||||
(mail-user-agent #'mu4e-user-agent))
|
||||
:config (progn
|
||||
;; When we are on the mail-server.
|
||||
(when (file-exists-p "~/.maildir")
|
||||
(custom-set-variables
|
||||
'(mu4e-maildir "~/.maildir")
|
||||
'(mu4e-get-mail-command "true")
|
||||
'(mu4e-update-interval nil)))
|
||||
|
||||
(defun mu4e~headers-jump-to-maildir ()
|
||||
"Overload that uses ivy."
|
||||
(interactive)
|
||||
|
@ -47,7 +55,7 @@
|
|||
(use-package smtpmail
|
||||
:custom ((message-send-mail-function #'smtpmail-send-it)
|
||||
(mu4e-sent-messages-behavior 'sent)
|
||||
(smtpmail-smtp-server "cryptoparty-celle.de")
|
||||
(smtpmail-smtp-server "mail.tzend.de")
|
||||
(smtpmail-local-domain "tastytea.de")
|
||||
(smtpmail-smtp-user "tastytea")
|
||||
(smtpmail-stream-type 'starttls)
|
||||
|
|
Loading…
Reference in New Issue