RE: Help: automated email forwarding similar to .forward
- From: rfernandez@xxxxxxxxx (Rich Fernandez)
- Date: Wed, 27 Jul 2005 10:52:32 -0400
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:ms@xxxxxxxxxxxxxxx]
> Sent: Wednesday, July 27, 2005 9:56 AM
> To: beginners@xxxxxxxx
> 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: beginners-unsubscribe@xxxxxxxx
> For additional commands, e-mail: beginners-help@xxxxxxxx
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
.
- Follow-Ups:
- Re: Help: automated email forwarding similar to .forward
- From: Wiggins d'Anconia
- Re: Help: automated email forwarding similar to .forward
- Prev by Date: Re: MySQL in a for loop
- Next by Date: Indirect method invocation
- Previous by thread: Re: Help: automated email forwarding similar to .forward
- Next by thread: Re: Help: automated email forwarding similar to .forward
- Index(es):