mutt 1.7.2 released

2016-12-04 Thread Kevin J. McCarthy
Hi Mutt Users, We've just released version 1.7.2, available at ftp://ftp.mutt.org/pub/mutt/mutt-1.7.2.tar.gz This is a bug fix release, primarily fixing build issues with OpenSSL 1.1 and GPGME 1.8. Please note that as part of the OpenSSL fixes, versions less than 0.9.6 are no longer supported.

Re: fetching mails with mutt/imap

2016-12-04 Thread Jude DaShiell
Some of this may work, I'll send an url to some expect examples in next reply. You may need to cover another case when mutt finds messages and exit the expect script when that happens. #!/usr/bin/expect -f # chmod 755 before use and change path on line 1 if necessary. spawn > mutt -n -f imap:/

Re: fetching mails with mutt/imap

2016-12-04 Thread Matthias Apitz
El día Sunday, December 04, 2016 a las 04:40:59PM +0100, Matthias Apitz escribió: > I have added at the end: > > ... '; push q" > > and it seems to do the trick. Wrong! It does not fetch anymore :-( -- Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045

Re: fetching mails with mutt/imap

2016-12-04 Thread Matthias Apitz
El día Sunday, December 04, 2016 a las 09:06:18AM -0500, Jude DaShiell escribió: > You might be able to use a little expect in that script to catch and > handle mutt's no mail case when that happens. The last two lines in the terminal were the script is running say: ---Mutt: imap://imap.1blu.de

Re: fetching mails with mutt/imap

2016-12-04 Thread Kevin J. McCarthy
On Sun, Dec 04, 2016 at 10:36:50AM +0100, Matthias Apitz wrote: > This works fine and fast. The only issue is: when there is no mail to > read, mutt says "No mail" and does not end by itself. One has to used > 'q' to end it. Why? Mutt has some standard checks in front of various operations. For t

Re: fetching mails with mutt/imap

2016-12-04 Thread Jude DaShiell
You might be able to use a little expect in that script to catch and handle mutt's no mail case when that happens. On Sun, 4 Dec 2016, Matthias Apitz wrote: Date: Sun, 4 Dec 2016 04:36:50 From: Matthias Apitz To: mutt-users@mutt.org Subject: fetching mails with mutt/imap Hello, Sometimes,

fetching mails with mutt/imap

2016-12-04 Thread Matthias Apitz
Hello, Sometimes, when connection to Internet costs a lot of money and is charged connection time based, I use mutt to fetch directly and fast with a script like this: #!/bin/sh # # ensure the file exists touch /usr/home/gu