[0m


VACATION(1)	    UNIX Programmer's Manual	      VACATION(1)



[1mNAME
     [0mvacation - reply to mail automatically

[1mSYNOPSIS
     vacation [0m[ [1m-I [0m]
     [1mvacation [0m[ [1m-j [0m] [ [1m-a[0m_a_l_i_a_s ] [ [1m-t[0m_N ] _u_s_e_r_n_a_m_e

[1mDESCRIPTION
     vacation [0mautomatically replies to incoming mail.  The reply
     is contained in the file [1m.vacation.msg[0m, that you create in
     your home directory.

     This file should include a header with at least a `[1mSubject:[0m'
     line (it should not include a `[1mFrom:[0m' or a `[1mTo:[0m' line).  For
     example:
	  [1mSubject: I am on vacation
	  I am on vacation until July 22.  If you have something urgent,
	  please contact Joe Jones (jones@f40).
	       --John

     [0mIf the string [1m$SUBJECT [0mappears in the [1m.vacation.msg [0mfile, it
     is replaced with the subject of the original message when
     the reply is sent; thus, a [1m.vacation.msg [0mfile such as
	  [1mSubject: I am on vacation
	  I am on vacation until July 22.
	  Your mail regarding "$SUBJECT" will be read when I return.
	  If you have something urgent, please contact Joe Jones (jones@f40).
	       --John

     [0mwill include the subject of the message in the reply.

     No message is sent if the `[1mTo:[0m' or the `[1mCc:[0m' line does not
     list the user to whom the original message was sent or one
     of a number of aliases for them, if the initial [1mFrom [0mline
     includes the string [1m-REQUEST@[0m, or if a `[1mPrecedence: bulk[0m' or
     `[1mPrecedence: junk[0m' line is included in the header.

[1mOPTIONS
     -I   [0mInitialize the [1m.vacation.pag [0mand [1m.vacation.dir [0mfiles
	  and start [1mvacation[0m.

     If the [1m-I [0mflag is not specified, and a _u_s_e_r argument is
     given, [1mvacation [0mreads the first line from the standard input
     (for a `[1mFrom:[0m' line, no colon).  If absent, it produces an
     error message.  The following options may be specified:

     [1m-a[0m_a_l_i_a_s
	  Indicate that _a_l_i_a_s is one of the valid aliases for the
	  user running [1mvacation[0m, so that mail addressed to that
	  alias generates a reply.

     [1m-j   [0mDo not check whether the recipient appears in the `[1mTo:[0m'



Printed 29/3/95     Revision 1.4 of 08/11/90			1






VACATION(1)	    UNIX Programmer's Manual	      VACATION(1)



	  or the `[1mCc:[0m' line.

     [1m-t[0m_N  Change the interval between repeat replies to the same
	  sender.  The default is 1 week.  A trailing [1ms[0m, [1mm[0m, [1mh[0m, [1md[0m,
	  or [1mw [0mscales _N to seconds, minutes, hours, days, or
	  weeks respectively.

[1mUSAGE
     [0mTo start [1mvacation[0m, create a [1m.forward [0mfile in your home
     directory containing a line of the form:

	  [1m\[0m_u_s_e_r_n_a_m_e[1m, "|/usr/ucb/vacation [0m_u_s_e_r_n_a_m_e[1m"

     [0mwhere _u_s_e_r_n_a_m_e is your login name.

     Then type in the command:

	  [1mvacation -I

     [0mTo stop [1mvacation[0m, remove the [1m.forward [0mfile, or move it to a
     new name.

     If [1mvacation [0mis run with no arguments, it will permit you to
     interactively turn [1mvacation [0mon or off.  It will create a
     [1m.vacation.msg [0mfile for you, or edit an existing one, using
     the editor specified by the [1mVISUAL [0mor [1mEDITOR [0menvironment
     variable, or [1mvi[0m(1) if neither of those environment variables
     are set.  If a [1m.forward [0mfile is present in your home direc-
     tory, it will ask whether you want to remove it and turn off
     [1mvacation[0m.	If it is not present in your home directory, it
     creates it for you, and automatically performs a `[1mvacation
     -I[0m' function, turning on [1mvacation[0m.

[1mFILES
     .forward
     $HOME/.vacation.mesg

     [0mA list of senders is kept in the files [1m.vacation.pag [0mand
     [1m.vacation.dir [0min your home directory.

[1mSEE ALSO
     vi[0m(1), [1msendmail[0m(8)













Printed 29/3/95     Revision 1.4 of 08/11/90			2



[0m