[comp.mail.sendmail] Info for mail ack and forwarding.

lxs@pokey.Philips.Com (Ludhi Sidikpramana;6300;D.2-56;$0332) (12/14/89)

Our installation are using either Berkeley mail / MH-mail. 

Question:
	1.How do I forward specific mail, say , any mail that has
	  subject line "XXX", to a filter program, "/usr/bin/YYY".

	2. How does mail-server operate (similar to UUNET mail server)
	   I need a small example or at least a guideline how to 
	   implement it. 

Help greatly appreciated.


Ludhi Sidikpramana          | Death is God's | Phone: (914) 945 - 6300
Philips Laboratories        | way of telling | Fax  : (914) 945 - 6375 
345 Scarborough Road        | you not to be  | Email: {uunet!philabs!lxs} or
Briarcliff Manor, NY 10510  | such a wise guy|        {lxs@philabs.philips.com}

lamy@ai.utoronto.ca (Jean-Francois Lamy) (12/14/89)

lxs@pokey.Philips.Com (Ludhi Sidikpramana;6300;D.2-56;$0332) writes:

>Our installation are using either Berkeley mail / MH-mail. 

>Question:
>	1.How do I forward specific mail, say , any mail that has
>	  subject line "XXX", to a filter program, "/usr/bin/YYY".

The usual way to achieve this is to invoke a script in your .forward file.  If
you use MH, you can invoke the slocal in your .forward program to do the
filtering for you (see man mhook).  Wrt acknowlegments, it is considered bad
form to acknowledge mail not sent to you personally (i.e. if you don't appear
in the To: and Cc: lines, your script should not reply).  This rules out
certain versions of the Berkeley "vacation" program that reply no matter who
sends.

Jean-Francois Lamy               lamy@ai.utoronto.ca, uunet!ai.utoronto.ca!lamy
AI Group, Department of Computer Science, University of Toronto, Canada M5S 1A4