Hiya. This is part of my autoresponder/file-sender
:0
*^Subject: send-ascii *\/[^ ].*
* !^Subject:.Re:
{
file=$MATCH
MAILDIR=$MAILSERVER
:0
* ? test -r $MATCH
|(formail -rt -I"From: Timothy Luoma <luomat(_at_)peak(_dot_)org>" ; \
/bin/cat "$file" )|$SENDMAIL -oi -t
:0E
|(formail -rt -I"From: Timothy Luoma <luomat(_at_)peak(_dot_)org>" \
-I"Subject: File not found ($MATCH)" ; \
/bin/cat "$PROCDIR/file_not_found" )|$SENDMAIL -oi -t
}
What I want to do is CC myself on the error message. IE if the
file is not found, I want to get the same message they do, so I can
see what mistakes they are making.
What's the best way to do this?
thanks
TjL
--
Tj Luoma (luomat(_at_)peak(_dot_)org)
http://www.next.peak.org/~luomat
Awaiting Apple's NeXTStep