procmail
[Top] [All Lists]

RE: procmail Efficiency Question

1999-03-24 09:27:57
      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
random
      number attached to the file, so that I can unquely create mail file
and
      send them on batch?

        I welcome to any other ideas also.

        Thanks,
                        - Tapas
-----Original Message-----
From: era eriksson [SMTP:era(_at_)iki(_dot_)fi]
Sent: Wednesday, March 24, 1999 1:43 AM
To:   Banerjee, Tapas
Cc:   procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
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
'+%H%M%S'`

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.
 


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