merge: pull request #5449 from iyefrat/mu4e-docfix

docs(mu4e): fix msmtp config in readme
This commit is contained in:
Henrik Lissner 2021-09-11 14:50:26 +02:00 committed by GitHub
commit f9c5b44623
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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