procmail
[Top] [All Lists]

can't parse BIG file??

1997-01-29 18:32:53
Hi,
 I am trying to parse a daily report consisting of about 1.5M of text
file.
 I have the following recipe.

# Parse news daily run output
:0
* ^Subject:.*news daily run output
* ^From: System Administrator <root(_at_)dn004(_dot_)dnsa(_dot_)or(_dot_)jp>
* !^X-Loop: ricky(_at_)dnsa(_dot_)or(_dot_)jp
{
:0 bfcw
| head -20

:0 A
| formail -A "X-Loop: ricky(_at_)dnsa(_dot_)or(_dot_)jp" | $SENDMAIL -oi -t
}      

 It produces the following error.

procmail: Executing "head,-20"
procmail: Error while writing to "head"
procmail: Rescue of unfiltered data succeeded
procmail: Executing " formail -A "X-Loop: ricky(_at_)dnsa(_dot_)or(_dot_)jp" | 
$SENDMAIL -oi -t"
procmail: [18700] Thu Jan 30 04:29:14 1997                            

 Using the i switch eliminates the Error message in the log file,
but the mail still gets lost. 

Has anybody experienced something like this?
Thanks for any help.

-- 
ricardo roque                 ikebukuro,tokyo   
dynanet services asia         japan
ricky(_at_)dynanet(_dot_)ad(_dot_)jp

<Prev in Thread] Current Thread [Next in Thread>