Email Setup
Current setup.
mu4e reuses settings from gnus: https://www.emacswiki.org/emacs/GnusMSMTP http://www.djcbsoftware.nl/code/mu/mu4e/Sending-mail.html#Sending-mail
Finally figured this out - I had to change the .gnus file to the following:
(setq user-mail-address "david@gnyrftacode.se" user-full-name "David Jacobsson") (setq gnus-select-method '(nnnil)) (setq gnus-secondary-select-methods '((nntp "gwene.org")))
Getting mail.
Mail goes to david@gnyrftacode.se
The Mail Delivery Agent consists of fetchmail and procmail.
fetchmail fetches the mail and procmail delivers it to /home/david/Maildir.
I think fetchmail has security issues and maybe procmail too.
Configuration files are .procmailrc and .fetchmailrc
The manual page for fetchmail is here: http://www.fetchmail.info/ procmail is actually mostly a filtering tool, but I'm using it just to forward mail to Maildir since fetchmail doesn't seem to do that. Here is a good tutorial for procmail: http://www.fetchmail.info/
mu4e indexes Maildir so that you can search it and takes care of Read/Not Read/ Archived folders.
How to get mail once computer is started. fetchmail should run on boot, as defined in crontab. (check with crontab -e). If not, call fetchmail once after boot. M-x mu4e.
Sending mail
smtp settings are in .emacs as below. Also note that mu4e relies on some configuration from gnus.
(setq mail-host-adress "david@gnyrftacode.se" starttls-use-gnutls t starttls-extra-arguments nil smtpmail-smtp-user "david@gnyrftacode.se";; checked with one.com user-mail-adress "david@gnyrftacode.se" smtpmail-stream-type 'starttls smtpmail-default-smtp-server "send.one.com" smtpmail-smtp-server "send.one.com" smtpmail-local-domain "gnyrftacode.se";; Checked with one.com message-send-mail-function 'smtpmail-send-it smtpmail-starttls-credentials '(("send.one.com" 587 nil nil)) smtpmail-auth-credentials '(("send.one.com" 587 "david@gnyrftacode.se" "*******"));;david@gnyrftacode.se NotebookCooler2000 smtpmail-auth-credentials (expand-file-name "~/.authinfo") smtpmail-debug-info t smtpmail-debug-verb t smtpmail-smtp-service 587);465
After reinstall of OS
I just learned the hard way that after you reinstall your OS you need to reset the maildir and run the indexer.
mu init --maildir=~/Maildir mu index