Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Carlos E.R." Newsgroups: comp.mail.pine Subject: Re: Question about offline reading/sending. Date: Tue, 30 Jul 2024 12:12:41 +0200 Lines: 51 Message-ID: References: <70ce6d56-94f2-d4ad-fc33-72a52a2fbc5e@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net eY2kXbvtcUNNl3lCF2GyQAUb1rftPQOdhVsBp9z+Jcj/D5TMg/ X-Orig-Path: Telcontar.valinor!not-for-mail Cancel-Lock: sha1:BO9jCTIC41r3O+7ibLPf5GDzSUY= sha256:IFvtU4FgEi+u5l5I3TcdATgOpfKYCA379VJ0hREjRyA= User-Agent: Mozilla Thunderbird Content-Language: es-ES, en-CA In-Reply-To: <70ce6d56-94f2-d4ad-fc33-72a52a2fbc5e@example.net> Xref: csiph.com comp.mail.pine:3091 On 2024-06-17 23:51, D wrote: > Dear alpiners, > > I've brutally smashed the round peg into the square hole, to enable me > to read and send emails and newsgroup posts off line. > > However, this is done with some friction. What I do is I download emails > with mbsync, and I download them into Maildir folders, and with the > Maildir patch, all is good in the reading department. > > When I'm on a plane and want to send a message, today I write it, and > postpone it. > > The friction here is when I land and connect to the internet again. Then > I need to go into each postponed message and manually send it. > > Does anyone here know of a nice way to get alpine to automatically send > those postponed messages when internet is restored, or perhaps even just > send all postponed messages with one keypress? Assuming you are using Linux, it is possible to coax an MTA, like perhaps postfix, into accepting mail while offline, and then automatically send them when there is internet. It is not delayed for ever, just 5 days I think. And it will mail you about delayed mail after some hours of delay. > > In terms of news I've brutally hacked leafnode to download news to a > local folder. Then I have a python script that sorts them into Maildir > folders named after the newsgroups. That way I can enjoy reading and > responding to news while on a plane or off line. > > When sending, for some strange reason, alpine picks up on the fact that > it is a news message as long as the Newsgroup header is filled in, so it > works just like email above, with postpone and then manually go into > each newsgroup post and send them. You could instead use a news proxy such as leafnode, which is designed for this usage. You have to manually (or periodically with a cron job) fetch news into a local structure, and send posts manually but with a single command when there is a connection. Alpine is then configured to use this local "fake" news server. This leafnode was created for use with intermitent and expensive internet via a modem. The operation could be automated with the modem going up. -- Cheers, Carlos.