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