Hi Paul Have a look at the man pages for procmail. You can set up rules of how to handle email and do with it what you will, you can also invoke shell scripts from procmail which means you can pretty much do anything you can do manually, automagically. hth Chris On Tue, 2 May 2000 11:22:54 +0100 (GMT), Paul Talacko wrote:
Hi,
I'm not sure that this is completely on topic, but as people here are so knowledgable, there is probably someone who knows.
First thing, I want a script that I can put in my .profile file or be invoked by cron. I want it to take any mail that is older than say, a month, delete it from the mail box and put it into an archive store. Some mail, after I've read it, I'd like to be put straight into a mail box related to that correspondent, so clearing out my inbox.
The other thing I'd like to do is batch process my email. I use pine at the moment and this can't be done, but I'd like some script where I can flag all emails which relate to some search criteria and carry out one operation on them, say, save to a folder or delete.
My mail forwarder is procmail, but I can't see anything in the man pages that would allow these sort of scripts to be run. Am I missing something?
I also thought about doing something in perl. There is a mailbox module, but the README carries warnings about how unstable it is and that it shouldn't be used.
Any ideas would be appreciated.
Thanks
Paul
-------------
Paul Talacko http://members.tripod.com/ptalacko/index.html
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/