Adapt email to NixOS setup
This commit is contained in:
parent
8c017cbd40
commit
902f0683a0
30
config.org
30
config.org
|
@ -40,6 +40,7 @@
|
||||||
- [[#magit-delta][magit-delta]]
|
- [[#magit-delta][magit-delta]]
|
||||||
- [[#email][Email]]
|
- [[#email][Email]]
|
||||||
- [[#account-configuration][Account configuration]]
|
- [[#account-configuration][Account configuration]]
|
||||||
|
- [[#sending-mail][Sending mail]]
|
||||||
- [[#disable-org-msg-by-default][Disable =org-msg= by default]]
|
- [[#disable-org-msg-by-default][Disable =org-msg= by default]]
|
||||||
- [[#message-quoting-style][Message quoting style]]
|
- [[#message-quoting-style][Message quoting style]]
|
||||||
- [[#use-gnus-view-for-mu4e][Use Gnus view for =mu4e=]]
|
- [[#use-gnus-view-for-mu4e][Use Gnus view for =mu4e=]]
|
||||||
|
@ -489,14 +490,11 @@ documentation).
|
||||||
Setup my main email account.
|
Setup my main email account.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(set-email-account! "alarsyo.net"
|
(set-email-account! "alarsyo"
|
||||||
'((mu4e-sent-folder . "/alarsyo.net/Sent")
|
'((mu4e-sent-folder . "/alarsyo/Sent")
|
||||||
(mu4e-drafts-folder . "/alarsyo.net/Drafts")
|
(mu4e-drafts-folder . "/alarsyo/Drafts")
|
||||||
(mu4e-refile-folder . "/alarsyo.net/Archive")
|
(mu4e-refile-folder . "/alarsyo/Archive")
|
||||||
(mu4e-trash-folder . "/alarsyo.net/Trash")
|
(mu4e-trash-folder . "/alarsyo/Trash")
|
||||||
(smtpmail-smtp-server . "smtp.migadu.com")
|
|
||||||
(smtpmail-smtp-service . 465)
|
|
||||||
(smtpmail-stream-type . ssl)
|
|
||||||
(user-mail-address . "antoine@alarsyo.net")
|
(user-mail-address . "antoine@alarsyo.net")
|
||||||
(user-full-name . "Antoine Martin")
|
(user-full-name . "Antoine Martin")
|
||||||
(mu4e-compose-signature . "Antoine Martin"))
|
(mu4e-compose-signature . "Antoine Martin"))
|
||||||
|
@ -506,15 +504,25 @@ Setup my main email account.
|
||||||
'((mu4e-sent-folder . "/lrde/Sent")
|
'((mu4e-sent-folder . "/lrde/Sent")
|
||||||
(mu4e-drafts-folder . "/lrde/Drafts")
|
(mu4e-drafts-folder . "/lrde/Drafts")
|
||||||
(mu4e-trash-folder . "/lrde/Trash")
|
(mu4e-trash-folder . "/lrde/Trash")
|
||||||
(smtpmail-smtp-server . "smtp.lrde.epita.fr")
|
|
||||||
(smtpmail-smtp-service . 587)
|
|
||||||
(smtpmail-stream-type . starttls)
|
|
||||||
(user-mail-address . "amartin@lrde.epita.fr")
|
(user-mail-address . "amartin@lrde.epita.fr")
|
||||||
(user-full-name . "Antoine Martin")
|
(user-full-name . "Antoine Martin")
|
||||||
(mu4e-compose-signature . "Antoine Martin"))
|
(mu4e-compose-signature . "Antoine Martin"))
|
||||||
nil)
|
nil)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Sending mail
|
||||||
|
|
||||||
|
I use =msmtp= as a SMTP forwarder
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(after! mu4e
|
||||||
|
(setq sendmail-program (executable-find "msmtp")
|
||||||
|
send-mail-function #'smtpmail-send-it
|
||||||
|
message-sendmail-f-is-evil t
|
||||||
|
message-sendmail-extra-arguments '("--read-envelope-from")
|
||||||
|
message-send-mail-function #'message-send-mail-with-sendmail))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** Disable =org-msg= by default
|
** Disable =org-msg= by default
|
||||||
|
|
||||||
Doom adds a hook, making it impossible to disable. This allows us to toggle it
|
Doom adds a hook, making it impossible to disable. This allows us to toggle it
|
||||||
|
|
Loading…
Reference in a new issue