CSL: Vacation FAQ

The UNIX vacation program can be used as an e-mail answering machine. This is useful when you will be away from the department and will not be answering e-mail - but you don't want people to think you're just ignoring them.

When you have the vacation program enabled, then when someone sends you an e-mail message, they will get a response containing your precomposed outgoing message. You will also receive the e-mail as usual.

New! Please note that the vacation program has changed! The old program responded indiscriminatly to all e-mail, including spam. This was causing a lot of problems. We've replaced vacation with a new program by the same name which does not reply to most spam.

Turning it on:

Turning it off:

Remember to deactivate the vacation program when you return!

That's all you have to do!

If you have any questions please contact the Lab Staff.

Advanced:

For those who like to look under the hood or customize, here's some additional information.

The new vacation program is a script which merely sets up files for use of a procmail-based implementation of essentially the same functionality. The files potentially affected are: .forward, .procmailrc, .procmailrc.vacation, and .vacation.msg.

You can turn vacation off via the vacation program (see above), or you can edit your .procmailrc file and comment out the INCLUDEDRC line by inserting a "#" character at the beginning. Removing the "#" will re-enable vacation, but be sure to update the text of your .vacation.msg file!

Please see the man pages for procmail, procmailrc and formail for more information.

The new vacation program also has a few command line modes that you can invoke for more streamlined usage. For instance, "vacation check" will attempt to determine if your files are set up correctly, and will tell you if vacation is turned on or off. "vacation on" and "vacation off" can be used on the command line, and could also be used from an at job to perform the task automatically at a predetermined time.

If there are features of the legacy (old) vacation program that you cannot do without, fret not! Its functionality is also available along with spam filtering via a wrapper script. The reason we don't promote this as an equal alternative is because it does put a heavier load on the mail server (it requires that the spam analysis for each message be done twice). If you must have the old functionality, you have two options:

  1. Use a .forward file as before, with the appropriate invocation of /usr/bin/vacation. It will automatically be translated on the mail server to use a wrapper script which will first invoke SpamAssassin to score the message with your current required_score setting, and then send the message to the old vacation program only if the message is judged to be non-spam.
  2. Use a .forward file as before, but instead of /usr/bin/vacation, use /usr/cs/bin/reduced_spam_vacation. This will invoke the wrapper script with the availability of a few additional options. Please type "/usr/cs/bin/reduced_spam_vacation -h" for a usage message.

If using the legacy vacation program, you can invoke the initialization with the command "vacation.bin -I". This must be run on Solaris; please use one of the login servers. Please do not use vacation.bin in your .forward file!

If you have any questions please contact the Lab Staff.