Automatic replies when out of office.

This page describes the use of the command line version of automatic out of office replies. You can also consider to use the web based configuration tool instead. If not, just read on ;-)

Log on to any system group administered intranet machine (one of the departmental ssh servers or home directory servers will do just fine) and execute the command(s) described below.

Contents / Quick Reference






with:

    cs-mailvacation status

    cs-mailvacation stop

    cs-mailvacation start filewithmessage

    cs-mailvacation cache

    cs-mailvacation current | previous

    cs-mailvacation help

Get the current status

    cs-mailvacation status 

Turn off

    cs-mailvacation stop 

Turn on

Log on to a departmental machine (e.g. one of the public ssh servers), create a file with your outofoffice message and run the following command:

    cs-mailvacation start filewithmessage 

An example Out of Office Message text might be:

----------------------------------------------------------

Dit is een automatisch antwoordbericht.

Ik ben afwezig tot en met 4 januari 2009.

Je mail zal pas daarna gelezen worden.

Voor dringende zaken neem je best contact met

        vervang-door-contact-mail@cs.kuleuven.be
        +32 16 32vervang-door-tel-nummer

----------------------------------------------------------

This is an automatic reply message.

I am out of office up to and including January 4, 2009.

Your mail will only be read thereafter.

For urgent matters please contact

        replace-with-contact-mail@cs.kuleuven.be
        +32 16 32replace-with-tel-number

----------------------------------------------------------


Show/Clear the Reply Cache

You can see who has received an automatic reply with the command:

    cs-mailvacation cache

Activating your Out of Office Message automatically clears the Reply Cache, so you can clear the cache explicitly by (re-)activating the message.

  • You can of course use the existing/same message as currently active.
  • You can get the currently activated message with the current command as shown here.
  • You don't need to de-activate it before activating it again, each activation just overwrites the previous one.

Show the Message text

Show the current Out of Office Message text (if available):

    cs-mailvacation current

Show the previous Out of Office Message text (if available):

    cs-mailvacation previous

On-line help

    cs-mailvacation help

Example Use

    cs-mailvacation previous > /tmp/my-message
    vi /tmp/my-message
    cs-mailvacation start /tmp/my-message
    rm /tmp/my-message