Description

Vacation is a Unix mail program that acts like an answering machine for your emails.

MiniFAQ


Setup

If you don't use .procmailrc or .maildelivery and all your mail goes to your inbox, all you need to do is run

vacation

on the command line, and follow instructions. The program will create all the necessary files for you.


If you do use .procmailrc, or .maildelivery, the setup is a little different.

mh and maildelivery users

If your mail gets forwarded through .forward in the following manner:
"| /usr/local/mh/lib/slocal -suppressdup -user exampleuser || exit 75"

you should do the following:
cp .forward .forward.normal
cp .forward .forward.vacation


Edit your .forward.vacation to look like this:
"|/usr/bin/vacation exampleuser"
"| /usr/local/mh/lib/slocal -suppressdup -user exampleuser || exit 75"


(And don't forget to change exampleuser to your username.)

After you run vacation , do the following:
cp .forward.vacation .forward
After you come back from vacation:
vacation -I
cp .forward.normal .forward

Procmail users

If you do not have a .forward, you can activate vacation through a procmail recipe.
##############################
#vacation mechanism
##############################
#:0c
#* ^(To|cc).*exampleuser.*
#|/usr/bin/vacation exampleuser
##############################

To activate vacation:
Comment out those lines again when you come back.

MiniFAQ