Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
GetNetWise: You
e One Click Away

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 218 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

vacation




SYNOPSIS

       vacation [ -I | -i ]
       vacation  [ -j ] [ -a alias ] [ -tN ] [ -r ] [ -?  ] user­
       name


DESCRIPTION

       vacation automatically  replies  to  incoming  mail.   The
       reply  is contained in the file .vacation.msg in your home
       directory.  The vacation program  run  interactively  will
       create  and/or  edit  a  .vacation.msg  file  in your home
       directory. The old .vacation.msg  will  be  backed  up  to
       .vacation.old  file.   Type  vacation  with  no arguments.
       (See USAGE below.)

       For example, the message created by vacation is:
              Subject: away from my mail
              From:  smith (via the vacation program)
              I will not be reading my mail for a while. Your
              mail regarding "$SUBJECT" will be
              read when I return.

       The .vacation.msg file should include  a  header  with  at
       least  a  `Subject:'  line  (it should not contain a `To:'
       line and need not contain a `From:' line, since these  are
       generated automatically).

       The  fields  `From', `From:' and `Reply-To:' are evaluated
       in the following order: If there is a `Reply-To:', and the
       option -r is given, then its entry is accepted. Otherwise,
       the entry of the `From:' field is taken. Should this entry
       lack  a complete domain address (e.g. user@site instead of
       user@site.domain), vacation evaluates  the  `From'  field,
       converting  the  contained  UUCP  bang  path into a domain
       style address. If this fails too, vacation gives up.

       If the string $SUBJECT appears in the .vacation.msg  file,
       it  is  replaced  with the subject of the original message
       when the reply is sent.

       No message is sent if the `To:' or the `Cc:' 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 From  line
       includes  one  of the strings -request@, postmaster, uucp,
       mailer-daemon, mailer or -relay or if a `Precedence: bulk'
       or  `Precedence:  junk'  or  `Precedence:  list'  line  is
       included in the header. The search for special senders  is
       made case-independant.


OPTIONS

       -I     Initialize  the  .vacation.db  file and start vaca­
              tion.

       -tN    Change  the  interval between repeat replies to the
              same sender.  N  is  the  number  of  days  between
              replies. Default is one week.

       -r     If  there  is  a `Reply-To:' header, send the auto­
              matic reply to the address given there.  Otherwise,
              use the `From:' entry.

       -f <file>
              use  a  different  message  file  than the default,
              .vacation.msg .  The path to this file is  relative
              to the home directory of the user.

       -?     issue short usage line.


USAGE

       The  vacation,  create a .forward file in your home direc­
       tory containing a line of the form:

              \username, "|/usr/bin/vacation username"

       where username is your login name. The  original  .forward
       will be backed up to .forward.old file.

       Then type in the command:

              vacation -I

       To  stop vacation, remove the .forward file, or move it to
       a new name.

       If vacation is run with no arguments, it will create a new
       .vacation.msg  file for you, using the editor specified by
       the VISUAL or EDITOR environment  variable,  or  vi(1)  if
       neither  of  those  environment  variables  are set.  If a
       .forward file is not present in your  home  directory,  it
       creates it for you, and automatically performs a `vacation
       -I' function, turning on vacation.


FILES

       $HOME/.forward
       $HOME/.vacation.msg

       A list of senders is kept in the file .vacation.db in your
       home directory.


SEE ALSO

       vi(1), sendmail(8)


AUTHOR


  
Show your Support for the Linux Tutorial

Purchase one of the products from our new online shop. For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going.


Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can help in many different ways.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.08 Seconds