added depend label
[unix-history] / usr / src / usr.bin / vacation / vacation.1
CommitLineData
62cdb418
KM
1.\" Copyright (c) 1985 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
ed2d2fff 5.\" @(#)vacation.1 6.2 (Berkeley) %G%
62cdb418
KM
6.\"
7.TH VACATION 1 ""
8.UC 6
9.SH NAME
10vacation \- return ``I am on vacation'' indication
11.SH SYNOPSIS
12.B vacation
13.B \-I
14.br
15.B vacation
62cdb418
KM
16user
17.SH DESCRIPTION
18.I Vacation
19returns a message to the sender of a message
20telling that you are on vacation.
21The intended use is in a
22.I \&.forward
23file.
24For example,
25your
26.I \&.forward
27file might have:
28.PP
29.ti +5
30\eeric, "|vacation eric"
31.PP
32which would send messages to you
33(assuming your login name was eric)
34and send a message back to the sender.
35.PP
36.I Vacation
37expects a file
38.I \&.vacation.msg
39in your home directory containing a message to be sent back
40to each sender.
ed2d2fff
EA
41It should be an entire message
42(including headers).
62cdb418
KM
43For example, it might say:
44.PP
45.in +5
46.nf
ed2d2fff
EA
47From: eric@ucbmonet.Berkeley.EDU (Eric Allman)
48Subject: I am on vacation
49Delivered-By-The-Graces-Of: the Vacation program
50
62cdb418 51I am on vacation until July 22. If you have something urgent,
ed2d2fff 52please contact Joe Kalash <kalash@ucbingres.Berkeley.EDU>.
62cdb418
KM
53 --eric
54.fi
55.in -5
56.PP
57This message will only be sent once a week to each unique
58sender.
62cdb418
KM
59The people who have sent you messages are kept in the files
60.I \&.vacation.pag
61and
62.I \&.vacation.dir
63in your home directory.
64The
65.B \-I
66option initializes these files,
67and should be executed before you modify your
68.I \&.forward
69file.
70.PP
71If the
72.B \-I
73flag is not specified,
74.I vacation
75reads the first line from the standard input
76for a \s-1UNIX\s0-style
77``From'' line
78to determine the sender.
79If this is not present,
80a nasty diagnostic is produced.
81.IR Sendmail (8)
ed2d2fff
EA
82includes the ``From'' line automatically.
83.PP
84No message is sent
85if the initial
86``From'' line includes the string
87``-REQUEST@''
88or if a ``Precedence: bulk'' or ``Precedence: junk'' line
89is included in the header.
62cdb418
KM
90.SH SEE\ ALSO
91sendmail(8)