Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ vacation(1) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mail(1)

vacation(1)                                                     vacation(1)

NAME
     vacation - automatically respond to incoming mail messages

SYNOPSIS
     vacation[ -l logfile] [ -m mailfile][ -M replyfile]
     [ -F fallback][ -d]

DESCRIPTION
     When new mail arrives in a mailbox, the mail command first checks if
     there is any indication that mail is to be forwarded to another reci-
     pient or piped as input to another command [see mail(1)]. The purpose
     of vacation is to leave a note in a mailbox to indicate that mail is
     to be forwarded to an alternate (vacation) mailbox and a standard
     response is to be sent to the mail's originator. The mail message is
     then saved in the alternate mailbox.

OPTIONS
     -l logfile
          File to which vacation writes the names of mail originators who
          have already been sent the standard response.

          -l logfile not specified:

          vacation uses the file $HOME/.maillog.

     -m mailfile
          Alternate mailbox in which mail is to be saved. You should not
          use /var/mail/loginname, the name of the default mail file, as
          this file can only hold either mail messages or indications of
          mail forwarding but not both simultaneously.

          -m mailfile not specified:

          vacation uses the file $HOME/.mailfile.

     -M replyfile
          File containing the standard reply automatically sent to the mail
          originator.

          -M replyfile not specified:

          vacation uses the file /usr/share/lib/mail/stdvacmsg, which
          contains:

          Subject: AUTOANSWERED!!!

          I am on vacation. I will read (and answer if necessary)
          your e-mail message when I return.

          This message was generated automatically and you will
          receive it only once, although all the messages you send
          me while I am away WILL be saved.



Page 1                       Reliant UNIX 5.44                Printed 11/98

vacation(1)                                                     vacation(1)

     -F fallback
          As fallback you can name a user (login name) for mail to be for-
          warded to if there are problems in delivering it to your vacation
          mailfile. This prevents mail being returned to the sender.

          -F fallback not specified:

          If there are problems, mail is returned to sender.

     -d   logfile will have the day's date appended.

     To cancel vacation when you return to the office, you enter:

          $ mail -F ""

EXAMPLES
     While you are away, you want to have your mail saved in
     /usr/mail/holiday. You want anyone who writes to you to be sent the
     reply which you have stored in /usr/mail/autoreply. The login name of
     each mail originator who has seen this reply is to be listed in
     /usr/mail/sender/autoreply.

     $ vacation -l /usr/mail/originator/reply -m /usr/mail/holiday \
      -M /usr/mail/reply

FILES
     $HOME/.maillog
          By default holds the names of mail originators who have already
          been sent the standard response

     $HOME/.mailfile
          Default vacation mailbox

     /var/mail/loginname
          Users' standard mailboxes

     /usr/share/lib/mail/stdvacmsg
          Contains the standard reply

     /tmp/notif*
          Temporary storage file

     /usr/lib/mail/vacation2
          Shell script invoked by the vacation command

SEE ALSO
     mail(1).







Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026