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/guru/mailboxtmp
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/home/guru/mailboxtmp<enter><sync-mailbox><exit>'"
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?
Thx
matthias
--
Matthias Apitz, ✉ [email protected], ⌂ http://www.unixarea.de/ ☎
+49-176-38902045