2008-08-28 04:33:50 +00:00
|
|
|
|
VACATION(1) VACATION(1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1mNAME[0m
|
2008-08-28 04:33:50 +00:00
|
|
|
|
vacation - E-mail auto-responder
|
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1mSYNOPSIS[0m
|
|
|
|
|
[1mvacation [22m[[1m-a [4m[22malias[24m] [[1m-C [4m[22mcffile[24m] [[1m-d[22m] [[1m-f [4m[22mdatabase[24m] [[1m-i[22m] [[1m-I[22m] [[1m-j[22m] [[1m-l[22m]
|
|
|
|
|
[[1m-m [4m[22mmessage[24m] [[1m-R [4m[22mreturnaddr[24m] [[1m-r [4m[22minterval[24m] [[1m-s [4m[22maddress[24m] [[1m-t [4m[22mtime[24m] [[1m-U[22m]
|
|
|
|
|
[[1m-x[22m] [[1m-z[22m] [4mlogin[0m
|
2008-08-28 04:33:50 +00:00
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1mDESCRIPTION[0m
|
|
|
|
|
[1mVacation [22mreturns a message, [4m~/.vacation.msg[24m by default, to the sender
|
2008-08-28 04:33:50 +00:00
|
|
|
|
informing them that you are currently not reading your mail. The mes-
|
2020-07-14 21:40:53 +00:00
|
|
|
|
sage is only sent to each sender once per reply interval (see [1m-r[0m
|
|
|
|
|
below). The intended use is in a [4m.forward[24m file. For example, your
|
|
|
|
|
[4m.forward[24m file might have:
|
2008-08-28 04:33:50 +00:00
|
|
|
|
|
|
|
|
|
\eric, "|/usr/bin/vacation -a allman eric"
|
|
|
|
|
|
|
|
|
|
which would send messages to you (assuming your login name was eric)
|
|
|
|
|
and reply to any messages for ``eric'' or ``allman''.
|
|
|
|
|
|
|
|
|
|
Available options:
|
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1m-a [4m[22malias[0m
|
|
|
|
|
Handle messages for [4malias[24m in the same manner as those received
|
2008-08-28 04:33:50 +00:00
|
|
|
|
for the user's login name.
|
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1m-C [4m[22mcfpath[0m
|
2008-08-28 04:33:50 +00:00
|
|
|
|
Specify pathname of the sendmail configuration file. This
|
2020-07-14 21:40:53 +00:00
|
|
|
|
option is ignored if [1m-U [22mis specified. This option defaults to
|
2008-08-28 04:33:50 +00:00
|
|
|
|
the standard sendmail configuration file, located at
|
|
|
|
|
/etc/mail/sendmail.cf on most systems.
|
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1m-d [22mSend error/debug messages to stderr instead of syslog. Other-
|
|
|
|
|
wise, fatal errors, such as calling [1mvacation [22mwith incorrect
|
|
|
|
|
arguments, or with non-existent [4mlogin[24ms, are logged in the system
|
2008-08-28 04:33:50 +00:00
|
|
|
|
log file, using syslog(8). This should only be used on the com-
|
2020-07-14 21:40:53 +00:00
|
|
|
|
mand line, not in your [4m.forward[24m file.
|
2008-08-28 04:33:50 +00:00
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1m-f [4m[22mfilename[0m
|
|
|
|
|
Use [4mfilename[24m as name of the database instead of [4m~/.vacation.db[0m
|
|
|
|
|
or [4m~/.vacation.{dir,pag}[24m. Unless the [4mfilename[24m starts with / it
|
2008-08-28 04:33:50 +00:00
|
|
|
|
is relative to ~.
|
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1m-i [22mInitialize the vacation database files. It should be used
|
|
|
|
|
before you modify your [4m.forward[24m file. This should only be used
|
|
|
|
|
on the command line, not in your [4m.forward[24m file.
|
2008-08-28 04:33:50 +00:00
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1m-I [22mSame as [1m-i [22m(for backwards compatibility). This should only be
|
|
|
|
|
used on the command line, not in your [4m.forward[24m file.
|
2008-08-28 04:33:50 +00:00
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1m-j [22mRespond to the message regardless of whether the login is listed
|
2008-08-28 04:33:50 +00:00
|
|
|
|
as a recipient for the message. Do not use this flag unless you
|
|
|
|
|
are sure of the consequences. For example, this will cause to
|
|
|
|
|
reply to mailing list messages which may result in removing you
|
|
|
|
|
from the list.
|
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1m-l [22mList the content of the vacation database file including the
|
2008-08-28 04:33:50 +00:00
|
|
|
|
address and the associated time of the last auto-response to
|
|
|
|
|
that address. This should only be used on the command line, not
|
2020-07-14 21:40:53 +00:00
|
|
|
|
in your [4m.forward[24m file.
|
2008-08-28 04:33:50 +00:00
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1m-m [4m[22mfilename[0m
|
|
|
|
|
Use [4mfilename[24m as name of the file containing the message to send
|
|
|
|
|
instead of [4m~/.vacation.msg[24m. Unless the [4mfilename[24m starts with /
|
2008-08-28 04:33:50 +00:00
|
|
|
|
it is relative to ~.
|
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1m-R [4m[22mreturnaddr[0m
|
2008-08-28 04:33:50 +00:00
|
|
|
|
Set the reply envelope sender address
|
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1m-r [4m[22minterval[0m
|
|
|
|
|
Set the reply interval to [4minterval[24m days. The default is one
|
2008-08-28 04:33:50 +00:00
|
|
|
|
week. An interval of ``0'' or ``infinite'' (actually, any non-
|
2020-07-14 21:40:53 +00:00
|
|
|
|
numeric character) will never send more than one reply. The [1m-r[0m
|
2008-08-28 04:33:50 +00:00
|
|
|
|
option should only be used when the vacation database is ini-
|
2020-07-14 21:40:53 +00:00
|
|
|
|
tialized (see [1m-i [22mabove).
|
2008-08-28 04:33:50 +00:00
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1m-s [4m[22maddress[0m
|
|
|
|
|
Use [4maddress[24m instead of the incoming message sender address on
|
|
|
|
|
the [4mFrom[24m line as the recipient for the vacation message.
|
2008-08-28 04:33:50 +00:00
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1m-t [4m[22mtime[0m
|
2008-08-28 04:33:50 +00:00
|
|
|
|
Ignored, available only for compatibility with Sun's vacation
|
|
|
|
|
program.
|
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1m-U [22mDo not attempt to lookup [4mlogin[24m in the password file. The -f and
|
2008-08-28 04:33:50 +00:00
|
|
|
|
-m options must be used to specify the database and message file
|
|
|
|
|
since there is no home directory for the default settings for
|
|
|
|
|
these options.
|
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1m-x [22mReads an exclusion list from stdin (one address per line).
|
2008-08-28 04:33:50 +00:00
|
|
|
|
Mails coming from an address in this exclusion list won't get a
|
2020-07-14 21:40:53 +00:00
|
|
|
|
reply by [1mvacation[22m. It is possible to exclude complete domains
|
2008-08-28 04:33:50 +00:00
|
|
|
|
by specifying ``@domain'' as element of the exclusion list.
|
2020-07-14 21:40:53 +00:00
|
|
|
|
This should only be used on the command line, not in your [4m.for-[0m
|
|
|
|
|
[4mward[24m file.
|
2008-08-28 04:33:50 +00:00
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1m-z [22mSet the sender of the vacation message to ``<>'' instead of the
|
2008-08-28 04:33:50 +00:00
|
|
|
|
user. This probably violates the RFCs since vacation messages
|
|
|
|
|
are not required by a standards-track RFC to have a null
|
|
|
|
|
reverse-path.
|
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1mVacation [22mreads the first line from the standard input for a UNIX
|
2008-08-28 04:33:50 +00:00
|
|
|
|
``From'' line to determine the sender. Sendmail(8) includes this
|
|
|
|
|
``From'' line automatically.
|
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
No message will be sent unless [4mlogin[24m (or an [4malias[24m supplied using the [1m-a[0m
|
2008-08-28 04:33:50 +00:00
|
|
|
|
option) is part of either the ``To:'' or ``Cc:'' headers of the mail.
|
|
|
|
|
No messages from ``???-REQUEST'', ``???-RELAY'', ``???-OWNER'',
|
|
|
|
|
``OWNER-???'', ``Postmaster'', ``UUCP'', ``MAILER'', or ``MAILER-DAE-
|
|
|
|
|
MON'' will be replied to (where these strings are case insensitive) nor
|
|
|
|
|
is a notification sent if a ``Precedence: bulk'' or ``Precedence:
|
|
|
|
|
junk'' line is included in the mail headers. The people who have sent
|
|
|
|
|
you messages are maintained as a db(3) or dbm(3) database in the file
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[4m.vacation.db[24m or [4m.vacation.{dir,pag}[24m in your home directory.
|
2008-08-28 04:33:50 +00:00
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1mVacation [22mexpects a file [4m.vacation.msg[24m, in your home directory, contain-
|
2008-08-28 04:33:50 +00:00
|
|
|
|
ing a message to be sent back to each sender. It should be an entire
|
|
|
|
|
message (including headers). For example, it might contain:
|
|
|
|
|
|
|
|
|
|
From: eric@CS.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 Keith Bostic <bostic@CS.Berkeley.EDU>.
|
|
|
|
|
--eric
|
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1mFILES[0m
|
2008-08-28 04:33:50 +00:00
|
|
|
|
~/.vacation.db default database file for db(3)
|
|
|
|
|
|
|
|
|
|
~/.vacation.{dir,pag}
|
|
|
|
|
default database file for dbm(3)
|
|
|
|
|
|
|
|
|
|
~/.vacation.msg default message to send
|
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1mSEE ALSO[0m
|
2008-08-28 04:33:50 +00:00
|
|
|
|
sendmail(8), syslog(8)
|
|
|
|
|
|
2020-07-14 21:40:53 +00:00
|
|
|
|
[1mHISTORY[0m
|
|
|
|
|
The [1mvacation [22mcommand appeared in 4.3BSD.
|
2008-08-28 04:33:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-05-22 03:45:17 +00:00
|
|
|
|
$Date: 2013-11-22 20:52:02 $ VACATION(1)
|