Subject: Re: Managers mail to secretary

From: [email-masked] (Phil Male)
Date: Sat, 21 Aug 1993 01:51:45 +0100

This is how I did it in the end:

In the managers .procmailrc:

# setup env
PATH=/bin:/usr/bin:/usr/local/bin
MAILDIR=$HOME/Mail
DEFAULT=/var/spool/mail/manager
LOGFILE=$MAILDIR/from
SENDMAIL=/usr/lib/sendmail
UMASK=076

#
# recipies
#

:0
* ^Subject:.*SunNet
/dev/null

:0
* !^X-Secretary:[email-masked]
| formail -a "X-Secretary: [email-masked]" | $SENDMAIL secretary

The secretary the uses mush:

    # select my managers mail
    cmd pm 'pick -h X-Secretary secretary'

She then types: pm | lpr  then   pm | delete

Mush adds her X-Secretary line in on all outgoing mail from her account.

-- 

phil 
   ___/   /
   /_/)  /       Phil Male, Technical Director, Information Systems
  / /_ '/  Computer Newspaper Services, The Bishops Manor, Howden, DN14 7BL
 / / ///             Tel: +44 430 432 480  Fax: +44 430 432 459