On 19Dec2013 11:01, Matthias Apitz <g...@unixarea.de> wrote: > El dÃa Thursday, December 19, 2013 a las 10:29:25AM +0100, Matthias Apitz > escribió: > > Thanks, it works in parts; when I use this script: > > > > #!/bin/sh > > mutt -n -f imap://imap.1blu.de/ -e "set sort=mailbox-order; set > > confirmappend=no; set delete=yes; push > > '<tag-pattern>.<enter><tag-prefix><save-message>/usr/local/guru/mailboxtmp<enter><sync-mailbox><exit>'" > > > > I have had to create the file /usr/local/guru/mailboxtmp by hand > > (mutt asked for creation) and it fetches all mails fine to it, but it > > does no quit by its own, only if I type 'q'; what I do miss? > > This was wrong; it only does not quit when the IMAP box is empty; > forget my noise; thanks for the hint;
Ah. Glad it's working for you. Cheers, > Matthias Apitz, <g...@unixarea.de>, http://www.unixarea.de/ f: +49-170-4527211 > UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) > UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 Hey, me too! Started with V7 on a PDP-11 (the V7 kernel contains my favorite ever piece of C code, too), use a lot of Linux, love OpenBSD for firewalls and am living on MacOSX (BSD) at present. If I had to move from the Mac I'd probably run a laptop with FreeBSD or OpenBSD, maybe Linux as choice 3. Cheers, -- Cameron Simpson <c...@zip.com.au> Mac OS X. Because making Unix user-friendly is easier than debugging Windows. - Mike Dawson, Macintosh Systems Administrator and Consultation. mdaw...@mac.com http://herowars.onestop.net