Name
vacation
Synopsis
vacationvacation [options] [user]Automatically return a mail message to the sender announcing that you are on vacation.
Use vacation with no options to initialize the vacation mechanism. The process performs several steps.
Creates a .forward file in your home directory. The .forward file contains:
\
user, "|/usr/bin/vacationuser"user is your login name. The action of this file is to actually deliver the mail to user (i.e., you) and to run the incoming mail through vacation.
Creates the
.vacation.pagand.vacation.dirfiles. These files keep track of who has sent you messages so that they receive only one “I’m on vacation” message from you per week.Starts an editor to edit the contents of
.vacation.msg. The contents of this file are mailed back to whomever sends you mail. Within its body, $subject is replaced with the contents of the incoming message’s Subject line.
Remove or rename the .forward file to disable
vacation processing.
Options
The -a and -r options are used within a
.forward file; see the example.
- -a alias
Mail addressed to alias is actually mail for the user and should produce an automatic reply.
- -i
Reinitialize the
.vacation.pagand.vacation.dirfiles. Use this right before leaving for your next vacation.- -r interval
By default, no more than one message per week is sent to any sender; this option changes that interval. interval is a number with a trailing s, m, h, d, or w indicating seconds, minutes, hours, days, or weeks, respectively. If interval ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access