Mail setup
This commit is contained in:
8
README
Normal file
8
README
Normal file
@@ -0,0 +1,8 @@
|
||||
# instalace mailu:
|
||||
brew install mu isync msmtp
|
||||
|
||||
pak mbsync personal (musi existovat .mbsyncrc)
|
||||
|
||||
pak
|
||||
mu init --maildir=~/.mail --my-address=martin@sukany.cz
|
||||
mu index
|
||||
39
config.el
39
config.el
@@ -357,3 +357,42 @@ Funguje v libovolném textu, včetně Markdown linků (např. [x](./...))."
|
||||
(setq org-idle-time 1.0)
|
||||
|
||||
|
||||
|
||||
;; mu4e
|
||||
(add-to-list 'load-path (expand-file-name "/opt/homebrew/opt/mu/share/emacs/site-lisp/mu/mu4e"))
|
||||
(after! mu4e
|
||||
(setq mu4e-maildir "~/.mail"
|
||||
mu4e-get-mail-command "mbsync personal"
|
||||
mu4e-update-interval 300
|
||||
mu4e-change-filenames-when-moving t
|
||||
mu4e-view-show-images t))
|
||||
(after! mu4e
|
||||
(setq mu4e-maildir (expand-file-name "~/.mail")
|
||||
mu4e-get-mail-command "mbsync personal"
|
||||
mu4e-update-interval 300
|
||||
mu4e-change-filenames-when-moving t
|
||||
mu4e-view-show-images t
|
||||
|
||||
;; TADY je to důležité:
|
||||
mu4e-sent-folder "/personal/Sent"
|
||||
mu4e-drafts-folder "/personal/Drafts"
|
||||
mu4e-trash-folder "/personal/Trash"
|
||||
mu4e-refile-folder "/personal/Archive"))
|
||||
(after! mu4e
|
||||
(setq sendmail-program "msmtp"
|
||||
message-send-mail-function #'message-send-mail-with-sendmail
|
||||
mail-specify-envelope-from t
|
||||
message-sendmail-envelope-from 'header))
|
||||
|
||||
(setq user-mail-address "martin@sukany.cz"
|
||||
user-full-name "Martin Sukany")
|
||||
|
||||
(map! :map mu4e-view-mode-map
|
||||
:localleader
|
||||
"l l" #'org-store-link
|
||||
"l i" #'org-insert-link)
|
||||
|
||||
(map! :map mu4e-headers-mode-map
|
||||
:localleader
|
||||
"l l" #'org-store-link
|
||||
"l i" #'org-insert-link)
|
||||
|
||||
14
custom.el
Normal file
14
custom.el
Normal file
@@ -0,0 +1,14 @@
|
||||
;;; -*- lexical-binding: t -*-
|
||||
(custom-set-variables
|
||||
;; custom-set-variables was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(smtpmail-smtp-server "mailu.apps.sukany.cz")
|
||||
'(smtpmail-smtp-service 465))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
)
|
||||
Reference in New Issue
Block a user