Commit | Line | Data |
---|---|---|
362b077f C |
1 | |
2 | ||
3 | ||
4 | VACATION(1) UNIX Programmer's Manual VACATION(1) | |
5 | ||
6 | ||
7 | ||
8 | N\bNA\bAM\bME\bE | |
9 | vacation - return ``I am not here'' indication | |
10 | ||
11 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
12 | v\bva\bac\bca\bat\bti\bio\bon\bn -\b-i\bi | |
13 | v\bva\bac\bca\bat\bti\bio\bon\bn [ -\b-a\ba alias ] login | |
14 | ||
15 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
16 | _\bV_\ba_\bc_\ba_\bt_\bi_\bo_\bn returns a message to the sender of a message tel- | |
17 | ling them that you are currently not reading your mail. The | |
18 | intended use is in a ._\bf_\bo_\br_\bw_\ba_\br_\bd file. For example, your ._\bf_\bo_\br_\b- | |
19 | _\bw_\ba_\br_\bd file might have: | |
20 | ||
21 | \eric, "|/usr/ucb/vacation -a allman eric" | |
22 | ||
23 | which would send messages to you (assuming your login name | |
24 | was eric) and reply to any messages for ``eric'' or ``all- | |
25 | man''. | |
26 | ||
27 | No message will be sent unless _\bl_\bo_\bg_\bi_\bn or an _\ba_\bl_\bi_\ba_\bs supplied | |
28 | using the -\b-a\ba option is a substring of either the ``To:'' or | |
29 | ``Cc:'' headers of the mail. No messages from ``???- | |
30 | REQUEST'', ``Postmaster'', ``UUCP'', ``MAILER'', or | |
31 | ``MAILER-DAEMON'' will be replied to, nor is a notification | |
32 | sent if a ``Precedence: bulk'' or ``Precedence: junk'' line | |
33 | is included in the mail headers. Only one message per week | |
34 | will be sent to each unique sender. The people who have | |
35 | sent you messages are maintained as an _\bn_\bd_\bb_\bm(3) database in | |
36 | 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 | |
37 | directory. | |
38 | ||
39 | The -\b-i\bi flag initializes the vacation database files. It | |
40 | should be used before you modify your ._\bf_\bo_\br_\bw_\ba_\br_\bd file. | |
41 | ||
42 | _\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- | |
43 | tory, containing a message to be sent back to each sender. | |
44 | It should be an entire message (including headers). For | |
45 | example, it might say: | |
46 | ||
47 | From: eric@ucbmonet.Berkeley.EDU (Eric Allman) | |
48 | Subject: I am on vacation | |
49 | Delivered-By-The-Graces-Of: The Vacation program | |
50 | Precedence: bulk | |
51 | ||
52 | I am on vacation until July 22. If you have something urgent, | |
53 | please contact Joe Kalash <kalash@ucbingres.Berkeley.EDU>. | |
54 | --eric | |
55 | ||
56 | _\bV_\ba_\bc_\ba_\bt_\bi_\bo_\bn reads the first line from the standard input for a | |
57 | UNIX-style ``From'' line to determine the sender. _\bS_\be_\bn_\bd_\b- | |
58 | _\bm_\ba_\bi_\bl(8) includes this ``From'' line automatically. | |
59 | ||
60 | ||
61 | ||
62 | ||
63 | Printed 7/9/88 July 9, 1988 1 | |
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | VACATION(1) UNIX Programmer's Manual VACATION(1) | |
71 | ||
72 | ||
73 | ||
74 | Fatal errors, such as calling _\bv_\ba_\bc_\ba_\bt_\bi_\bo_\bn with incorrect argu- | |
75 | ments, or with non-existent _\bl_\bo_\bg_\bi_\bns, are logged in the system | |
76 | log file, using _\bs_\by_\bs_\bl_\bo_\bg(8). | |
77 | ||
78 | F\bFI\bIL\bLE\bES\bS | |
79 | ~/.vacation.dir database file | |
80 | ~/.vacation.msg message to send | |
81 | ~/.vacation.pag database file | |
82 | ||
83 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
84 | sendmail(8), syslog(8) | |
85 | ||
86 | ||
87 | ||
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | ||
94 | ||
95 | ||
96 | ||
97 | ||
98 | ||
99 | ||
100 | ||
101 | ||
102 | ||
103 | ||
104 | ||
105 | ||
106 | ||
107 | ||
108 | ||
109 | ||
110 | ||
111 | ||
112 | ||
113 | ||
114 | ||
115 | ||
116 | ||
117 | ||
118 | ||
119 | ||
120 | ||
121 | ||
122 | ||
123 | ||
124 | ||
125 | ||
126 | ||
127 | ||
128 | ||
129 | Printed 7/9/88 July 9, 1988 2 | |
130 | ||
131 | ||
132 |