From fed57789da1dcea3e7ba78458ffa41499e9904e6 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 13 Apr 2016 00:24:55 -0400 Subject: [PATCH] Access mail through local IMAP server I use offlineimap. * emacs.d/mail.org: Local IMAP server for mail. --- emacs.d/mail.org | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/emacs.d/mail.org b/emacs.d/mail.org index 5bf2fab..c76930d 100644 --- a/emacs.d/mail.org +++ b/emacs.d/mail.org @@ -60,9 +60,9 @@ necessarily mean that I'm speaking on behalf of the GNU Project. GNU hosts a POP server on =fencepost=. I have a =fetchmail= cronjob running on my server that periodically fetches mail from fencepost onto my own -mailserver, to which I connect via IMAP; all my mail is then conveniently -mixed into one account, and all GNU mail is also run through my Sieve rules -and any other scripts. +mailserver, and an =offlineimap= job that copies all messages to my local +box; all my mail is conveniently mixed into one account, and all GNU mail is +also run through my Sieve rules and any other scripts. For sending mail, privacy is an important consideration: I really do not want my home IP Address and hostname appearing in the header of every e-mail @@ -89,10 +89,11 @@ can yield a good result, but if I forget to do so, that's a problem.] smtpmail-smtp-server "localhost" ; tunnel smtpmail-smtp-service 5587 - gnus-select-method '(nnimap "mail.mikegerwitz.com" + gnus-select-method '(nnimap "localhost" (nnimap-inbox "INBOX") (nnimap-record-commands t) - (nnimap-stream tls)))) + (nnimap-stream network) + (nnimap-authenticator login)))) #+END_SRC * <<>>