


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



NAME
     vacation - return ``I am on vacation'' indication

SYNOPSIS
     vacation -I
     vacation user

DESCRIPTION
     _V_a_c_a_t_i_o_n returns a message to the sender of a message tel-
     ling that you are on vacation.  The intended use is in a
     ._f_o_r_w_a_r_d file.  For example, your ._f_o_r_w_a_r_d file might have:

	  \eric, "|vacation eric"

     which would send messages to you (assuming your login name
     was eric) and send a message back to the sender.

     _V_a_c_a_t_i_o_n expects a file ._v_a_c_a_t_i_o_n._m_s_g in your home directory
     containing a message to be sent back to each sender.  It
     should be an entire message (including headers).  For exam-
     ple, it might say:

	  From: eric@ucbmonet.Berkeley.EDU (Eric Allman)
	  Subject: I am on vacation
	  Delivered-By-The-Graces-Of: the Vacation program

	  I am on vacation until July 22.  If you have something urgent,
	  please contact Joe Kalash <kalash@ucbingres.Berkeley.EDU>.
	       --eric

     This message will only be sent once a week to each unique
     sender.  The people who have sent you messages are kept in
     the files ._v_a_c_a_t_i_o_n._p_a_g and ._v_a_c_a_t_i_o_n._d_i_r in your home
     directory.  The -I option initializes these files, and
     should be executed before you modify your ._f_o_r_w_a_r_d file.

     If the -I flag is not specified, _v_a_c_a_t_i_o_n reads the first
     line from the standard input for a UNIX-style ``From'' line
     to determine the sender.  If this is not present, a nasty
     diagnostic is produced.  _S_e_n_d_m_a_i_l(8) includes the ``From''
     line automatically.

     No message is sent if the initial ``From'' line includes the
     string ``-REQUEST@'' or if a ``Precedence: bulk'' or ``Pre-
     cedence: junk'' line is included in the header.

SEE ALSO
     sendmail(8)







Printed 11/26/99	  June 16, 1985                         1



