Re: fetching mails with mutt/imap

2016-12-04 Thread Jude DaShiell
16 10:40:59 From: Matthias Apitz To: mutt-users@mutt.org Subject: Re: fetching mails with mutt/imap 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.

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,