merge: pull request #5449 from iyefrat/mu4e-docfix
docs(mu4e): fix msmtp config in readme
This commit is contained in:
commit
f9c5b44623
1 changed files with 3 additions and 2 deletions
|
@ -74,11 +74,12 @@ forwarder such as =msmtp= (recommended).
|
||||||
If you use =msmtp=, you'll likely want to add the following to your
|
If you use =msmtp=, you'll likely want to add the following to your
|
||||||
=config.el=:
|
=config.el=:
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq sendmail-program "/usr/bin/msmtp"
|
(after! mu4e
|
||||||
|
(setq sendmail-program (executable-find "msmtp")
|
||||||
send-mail-function #'smtpmail-send-it
|
send-mail-function #'smtpmail-send-it
|
||||||
message-sendmail-f-is-evil t
|
message-sendmail-f-is-evil t
|
||||||
message-sendmail-extra-arguments '("--read-envelope-from")
|
message-sendmail-extra-arguments '("--read-envelope-from")
|
||||||
message-send-mail-function #'message-send-mail-with-sendmail)
|
message-send-mail-function #'message-send-mail-with-sendmail))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** NixOS
|
** NixOS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue