BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / vacation.0
VACATION(1) UNIX Programmer's Manual VACATION(1)
N\bNA\bAM\bME\bE
vacation - return ``I am not here'' indication
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
v\bva\bac\bca\bat\bti\bio\bon\bn -\b-i\bi
v\bva\bac\bca\bat\bti\bio\bon\bn [ -\b-a\ba alias ] login
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bV_\ba_\bc_\ba_\bt_\bi_\bo_\bn returns a message to the sender of a message tel-
ling them that you are currently not reading your mail. The
intended use is in a ._\bf_\bo_\br_\bw_\ba_\br_\bd file. For example, your ._\bf_\bo_\br_\b-
_\bw_\ba_\br_\bd file might have:
\eric, "|/usr/ucb/vacation -a allman eric"
which would send messages to you (assuming your login name
was eric) and reply to any messages for ``eric'' or ``all-
man''.
No message will be sent unless _\bl_\bo_\bg_\bi_\bn or an _\ba_\bl_\bi_\ba_\bs supplied
using the -\b-a\ba option is a substring of either the ``To:'' or
``Cc:'' headers of the mail. No messages from ``???-
REQUEST'', ``Postmaster'', ``UUCP'', ``MAILER'', or
``MAILER-DAEMON'' will be replied to, nor is a notification
sent if a ``Precedence: bulk'' or ``Precedence: junk'' line
is included in the mail headers. Only one message per week
will be sent to each unique sender. The people who have
sent you messages are maintained as an _\bn_\bd_\bb_\bm(3) database in
the files ._\bv_\ba_\bc_\ba_\bt_\bi_\bo_\bn._\bp_\ba_\bg and ._\bv_\ba_\bc_\ba_\bt_\bi_\bo_\bn._\bd_\bi_\br in your home
directory.
The -\b-i\bi flag initializes the vacation database files. It
should be used before you modify your ._\bf_\bo_\br_\bw_\ba_\br_\bd file.
_\bV_\ba_\bc_\ba_\bt_\bi_\bo_\bn expects a file ._\bv_\ba_\bc_\ba_\bt_\bi_\bo_\bn._\bm_\bs_\bg, in your home direc-
tory, containing a message to be sent back to each sender.
It should be an entire message (including headers). For
example, it might say:
From: eric@ucbmonet.Berkeley.EDU (Eric Allman)
Subject: I am on vacation
Delivered-By-The-Graces-Of: The Vacation program
Precedence: bulk
I am on vacation until July 22. If you have something urgent,
please contact Joe Kalash <kalash@ucbingres.Berkeley.EDU>.
--eric
_\bV_\ba_\bc_\ba_\bt_\bi_\bo_\bn reads the first line from the standard input for a
UNIX-style ``From'' line to determine the sender. _\bS_\be_\bn_\bd_\b-
_\bm_\ba_\bi_\bl(8) includes this ``From'' line automatically.
Printed 7/9/88 July 9, 1988 1
VACATION(1) UNIX Programmer's Manual VACATION(1)
Fatal errors, such as calling _\bv_\ba_\bc_\ba_\bt_\bi_\bo_\bn with incorrect argu-
ments, or with non-existent _\bl_\bo_\bg_\bi_\bns, are logged in the system
log file, using _\bs_\by_\bs_\bl_\bo_\bg(8).
F\bFI\bIL\bLE\bES\bS
~/.vacation.dir database file
~/.vacation.msg message to send
~/.vacation.pag database file
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
sendmail(8), syslog(8)
Printed 7/9/88 July 9, 1988 2