Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ vacation(1) — DG/UX R4.11MU05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mail(1)

mailx(1)



vacation(1)                    DG/UX R4.11MU05                   vacation(1)


NAME
       vacation - automatically respond to incoming mail messages

SYNOPSIS
       vacation [-l logfile] [-m mailfile] [-M cannedmsgfile] [-F
       failsafe] [-d]

DESCRIPTION
       When a new mail message arrives, the mail command first checks if the
       recipient's mailbox indicates that the message is to be forwarded
       elsewhere (to some other recipient or as the input to some command).
       vacation is used to set up forwarding on the user's mailbox so that
       the new message is saved into an alternative mailbox and a canned
       response is sent to the message's originator.

   Options
       -l logfile  File to keep track of which originators have already seen
                   the canned response.  If not specified, it defaults to
                   $HOME/.maillog.
       -m mailfile Alternate mailbox to save new messages into.  If not
                   specified, it defaults to $HOME/.mailfile.
       -M cannedmsgfile
                   File to send back as the canned response.  If
                   cannedmsgfile is not specified, it defaults to
                   /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 messages you send
                    me while I am away WILL be saved.

       -F failsafe If mail has troubles delivering to the mailfile
                   specified, it may optionally be forwarded to another
                   login id (failsafe) instead of being returned to the
                   sender.

       -d          The day's date will be appended to the filename specified
                   by -m.

   Unsetting the Automatic Response
       To remove the vacation functionality, use
                   mail -F ""

FILES
       /tmp/notif*                      Temporary file
       /usr/share/lib/mail/stdvacmsg  Default canned response
       /var/mail/*                      Users' standard mailboxes
       /usr/lib/mail/vacation2          Program that actually sends back the
                                        canned response

SEE ALSO
       mail(1), mailx(1).

NOTES
       The /var/mail/username mailbox must be empty before vacation is
       invoked.

       Because vacation uses the ``Forward to | command'' facility of mail
       to implement notifications, /var/mail/username should not be
       specified as the place to put newly arrived messages via the -m
       invocation option.  The mail command uses /var/mail/username to hold
       either mail messages or indications of mail forwarding, but not both
       simultaneously.


Licensed material--property of copyright holder(s)

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