procmail
[Top] [All Lists]

Another question

1997-04-18 13:37:00
Thank you for all the responses to my last question.  I found a solution 
that works.  Now I have a question about setting up an auto-responder of 
sorts, but it does not reply to the address that sent the message, 
rather, it extracts the email address from the message that was sent and 
then mails a specific file to that address.  I think I will need to use 
formail in the processing, but I'm not sure how.  If the original 
incoming message is in a file the following shell command will extract 
the new message:

cat filename | awk '$2 == "address:" {print $3}'

But I do not know how to get procmail to write the incoming message to a 
file and then set the new To: field to be the extracted address.  I also 
think I would need to use lock files, but I am not sure how to do this 
either.  

Thanks so much for your help and your patience.  I've only been at this 
for two days now.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Barbara L. Brown               :     Florida State University   
  Florida State University           :       College of Education
Department of Computer Science       :       Computer Technician
    Undergraduate Major              :       204B Stone Building
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Making $$ on the Internet: <http://support.coe.fsu.edu/~brown/promotion.html>
  Barbara's Freebie Page: <http://support.coe.fsu.edu/~brown/freebies.html>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

<Prev in Thread] Current Thread [Next in Thread>
  • Another question, Barbara Brown <=