Hello all,
How difficult would it be to tell fetchmail to get a glob. As
an example, I would like to write the following in my .fetchmailrc
poll myothermachine with proto IMAP auth ssh
plugin 'ssh myothermachine /usr/sbin/imapd'
user 'trey' there with password 'trey' is 'trey' here
folder /trey/mail/*
And have it iterate over every file in /trey/mail/
The reason for this seemingly irrational desire is fairly simple. I
am subscribed to a few lists and have procmail rules to
handle them all. When I travel I like to just ssh to my other machine
in order to read that through mutt and have all the mail in its nice
compartmentalized places. But when I am home, I want everything to be
basically the exact same. Unfortunately that requires me having a
chintsy script to grab a directory listing of my mailing lists and
append that to my .fetchmailrc so that it looks like this:
poll myothermachine with proto IMAP auth ssh
plugin 'ssh myothermachine /usr/sbin/imapd'
user 'trey' there with password 'trey' is 'trey' here
folder
/trey/mail/lists/this,/trey/mail/lists/that,/trey/mail/lists/theother ...
Thank you for your time,
-Trey Belew
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ashton Trey Belew
e-mail: trey(_at_)veggie(_dot_)wesleyan(_dot_)edu
http://veggie.wesleyan.edu/trey/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Humanity has advanced, when it has advanced, not because it has been
sober, responsible, and cautious, but because it has been playful,
rebellious, and immature.
--Tom Robbins, Still Life with Woodpecker (page 19)