From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Gnus and offline Email
Date: Mon, 14 Nov 2016 13:29:00 -0800 [thread overview]
Message-ID: <874m39ycmb.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 582A21AB.2050707@openmailbox.org
Tim Zander <timisch@openmailbox.org> writes:
> On 12.11.2016 20:37, Eric Abrahamsen wrote:
>> Tim Zander <timisch@openmailbox.org> writes:
>>> how do I set-up Gnus (and my GNU/Linux operating) to read and send my
>>> emails? Preferably with IMAP but it should also work offline. Everything
>>> I found online was very old, but if you know that some guide still works
>>> today I could give it a try.
>>
>> What most people do in your case is to install a local IMAP server,
>> usually dovecot, on your local machine. Then use isync or offlineimap to
>> sync that to the remote server. Gnus only ever talks to the local IMAP
>> server.
>
> Great, I had success for this, I followed your guide:
>
> https://ericabrahamsen.net/tech/2014/oct/gnus-dovecot-lucene.html
>
> But I used this in my .gnus file:
>
> (setq gnus-select-method
> '(nnimap "OPENMAILBOX"
> (nnimap-stream network)
> (nnimap-address "localhost")
> (nnimap-authenticator login)
> (nnimap-user "timisch@openmailbox.org")))
>
>> I use msmtp to send mails, and ..
>> there is a msmtp-queue package that will let send emails from
>> Gnus, but queue them up until there's an internet connection to ..
>> send them.
>
> Is there any guide for that?
Here's something:
https://github.com/tpn/msmtp/blob/master/scripts/msmtpq/README.msmtpq
I've never used it though!
>> Otherwise, you just use the Gnus agent, toggle unplugged, send as
>> usual, and when you're back online, toggle plugged.
>
> Any way of letting Gnus do this automatically?
Sure, you can add the function `gnus-group-send-queue' to
`gnus-agent-plugged-hook'. Even if you don't do that, it's very easy to
do manually: "J j" to toggle plugged, then "J S" to send the queue.
E
next prev parent reply other threads:[~2016-11-14 21:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-12 15:11 Gnus and offline Email Tim Zander
2016-11-12 19:37 ` Eric Abrahamsen
2016-11-14 20:42 ` Tim Zander
2016-11-14 21:29 ` Eric Abrahamsen [this message]
2016-11-14 12:28 ` Filipp Gunbin
2016-11-14 19:07 ` Eric Abrahamsen
2016-11-15 10:34 ` Filipp Gunbin
2016-11-15 17:20 ` Eric Abrahamsen
2016-11-15 17:44 ` Jeffrey DeLeo
2016-11-17 13:47 ` Filipp Gunbin
2016-11-17 16:57 ` Jeffrey DeLeo
2016-11-21 10:34 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874m39ycmb.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.