Mu4e: Recommend mbsync, and describe msmtp setup
This commit is contained in:
parent
b6f5494601
commit
16b4a31bf9
1 changed files with 15 additions and 1 deletions
|
@ -46,7 +46,7 @@ via IMAP) and ~mu~ (to index my mail into a format ~mu4e~ can understand).
|
||||||
* Prerequisites
|
* Prerequisites
|
||||||
This module requires:
|
This module requires:
|
||||||
|
|
||||||
+ Either ~mbsync~ (default) or ~offlineimap~ (to sync mail with)
|
+ Either ~mbsync~ (recommended, default) or ~offlineimap~ (to sync mail with)
|
||||||
+ ~mu~, to index your downloaded messages and to provide the ~mu4e~ package.
|
+ ~mu~, to index your downloaded messages and to provide the ~mu4e~ package.
|
||||||
|
|
||||||
#+name: Install Matrix
|
#+name: Install Matrix
|
||||||
|
@ -60,6 +60,20 @@ This module requires:
|
||||||
|
|
||||||
The install either the =isync= (=mbsync=) or =offlineimap= package.
|
The install either the =isync= (=mbsync=) or =offlineimap= package.
|
||||||
|
|
||||||
|
To send mail, mu4e uses [[https://www.gnu.org/software/emacs/manual/html_mono/smtpmail.html][smtpmail]] (an Emacs library) by default.
|
||||||
|
You can also run a local SMTP server like =sendmail= or =postfix=, or use an SMTP
|
||||||
|
forwarder such as =msmtp= (recommended).
|
||||||
|
|
||||||
|
If you use =msmtp=, you'll likely want to add the following to your
|
||||||
|
=config.el=:
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(setq sendmail-program "/usr/bin/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
|
||||||
|
|
||||||
** NixOS
|
** NixOS
|
||||||
#+BEGIN_SRC nix
|
#+BEGIN_SRC nix
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue