help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus and offline Email


From: Eric Abrahamsen
Subject: Re: Gnus and offline Email
Date: Mon, 14 Nov 2016 13:29:00 -0800
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/26.0.50 (gnu/linux)

Tim Zander <address@hidden> writes:

> On 12.11.2016 20:37, Eric Abrahamsen wrote:
>> Tim Zander <address@hidden> 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 "address@hidden")))
>
>> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]