files get installed by upas/misc/mkfile
This commit is contained in:
parent
b6bb2a4093
commit
bf0b8ddae4
|
@ -1,19 +0,0 @@
|
||||||
#!/bin/rc
|
|
||||||
# gone.fishing local!$user /mail/box/$user/mbox - vacation responder
|
|
||||||
# as pipeto script
|
|
||||||
|
|
||||||
# standard library. saves the message on standard input in $TMP.msg and
|
|
||||||
# parses it into /mail/fs/mbox/1.
|
|
||||||
. /mail/lib/pipeto.lib $*
|
|
||||||
|
|
||||||
{cat $TMP.msg; echo} >>/mail/box/$USER/gone.mail
|
|
||||||
|
|
||||||
message=/mail/box/$USER/gone.msg
|
|
||||||
if (! test -e $message)
|
|
||||||
message=/mail/lib/gone.msg
|
|
||||||
|
|
||||||
MAILTO=`{cat $D/replyto}
|
|
||||||
grep '^'$"MAILTO'$' /mail/box/$USER/gone.addrs >/dev/null >[2=1] || {
|
|
||||||
echo $MAILTO >>/mail/box/$USER/gone.addrs
|
|
||||||
mail $MAILTO <$message
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
subject: away from my computer
|
|
||||||
|
|
||||||
This is a recorded message. I am currently out of contact with my
|
|
||||||
computer system. Your message to me has been saved and will be
|
|
||||||
read upon my return. This is the last time you will receive this
|
|
||||||
message during my absence. Thank you.
|
|
Loading…
Reference in a new issue