Thanks for the reply, but what I need to do is hang onto the messages for an indefinite period of time, maybe days, during which time the box might get rebooted, crash, etc. I can't rely on a process sleeping.
richf > -----Original Message----- > From: MNibble [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 27, 2005 9:56 AM > To: beginners@perl.org > Subject: Re: Help: automated email forwarding similar to .forward > > > .forward is fine for that kind of thing, if you modify it to a pipe > where a perl skript reads from. Then pass the message throw it, while > doing what ever you like with it - for example sleep(3600) in > fork / or > threaded spawn of you programm. > > MNibble > > > Rich Fernandez wrote: > > Hi folks, > > > > I'm working on a project where I'm given a pool of users > and I have to > > determine if there are any messages in their spool files, > and if so, forward > > them on to a new user. > > > > I'm looking for functionality similar to what you get with > a .forward file, > > only I don't want the messages forwarded as soon as they > come in. Instead > > the messages will be spooled normally and forwarded at some > arbitrary time > > in the future. > > > > What I'm looking for is advice on what perl > modules/documentation I should > > be looking at and maybe ideas on an approach. So far I've looked at > > Mail::Box::Manager, Mail::Sender, and Mail::MBoxParser, but > they don't seem > > to be able to do what I want. > > > > Of course if I'm not seeing the forest for the trees and > there's a simple > > non-Perl solution anyone would care to share, that would be > appreciated as > > well. > > > > Thanks All! > > > > richf > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>