> I am getting a lot of email with munged dates in it and I
> would like to fix them by grabbing them with procmail and
> passing them to a perl program to update the Date: string.
> 
> First, is this possible? Can I pass an email to perl and
> then update it in the mail spool? If I can't, then I
> probably won't have any real perl questions about how to
> find all the permutations and combinations making up bad
> dates!
> 
> TIA!
> Dennis
> 

gh> I had a similar question once and this was the answer I haven't tried:

> > From: Eskimo North Support [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, December 11, 2001 3:43 PM
> > To: Gary Hawkins
> > Subject: Re: .forward
> >
> >
> > On Tue, 11 Dec 2001, Gary Hawkins wrote:
> >
> > > Can .forward send mail to a perl script instead of procmail?
> >
> >
> > Only *through* procmail.  Only a few individual things can be run directly
> > from .forward; "procmail_wrapper" is one of them (as is elm's "filter", or
> > "vacation").
> 
> Can I do something like this in .procmailrc?  A single recipe:
> 
> :0
> | myPerlFilter.pl


To be sure, probably better as:

        :0
        | $HOME/myPerlFilter.pl

(Or whichever actual directory you place it in.)


---------

gh> So how does the mail get into a variable in the script?  


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to