Thanks for your reply.
Another quick question in respect to your following suggestions.
Basically I want all the mail to perticular list, will be stored and
will be send in batch job during night.
But if I do as
`cat monalisa_mails|sendmail -t` it reads first header
and sends all stored mail to same person, which was not the purpose.
So I used date tag, to uniquely identify and store the mails to be
send in batch.
Is it possible to add any unique no, which will be autoincremented, or
number attached to the file, so that I can unquely create mail file
send them on batch?
I welcome to any other ideas also.
From: era eriksson [SMTP:era(_at_)iki(_dot_)fi]
Sent: Wednesday, March 24, 1999 1:43 AM
To: Banerjee, Tapas
Subject: Re: procmail Efficiency Question
> | (formail -A"Bcc: internal_list" \
> -I"To: ess_mailing_list" \
> -I"From: ess(_at_)nyamdweb246(_dot_)gsam(_dot_)gs(_dot_)com" \
> -i"Subject: monalisa REPORTS " ) >> monalisa_mails.`date
You could avoid calling date(1) by using the date in the From_ stamp.
This is something that has been discussed on the list numerous times;
try <http://www.rosat.mpe-garching.mpg.de/mailing-lists/procmail/> or
ask again if you can't find any good pointers in the archives.