SUMMARY: automated reply with vacation program

From: Ada Chan (
Date: Fri Dec 05 1997 - 11:22:13 CST

My original message:

I've been trying to set up "vacation" so that when email is received by a
user, the message gets forwarded to an email address at another site of the
form and is also piped into the vacation program so that
the sender receives an automated reply. The following paragraph shows the
way I tried to set up the .forward file for the user, but it doesn't work.
It seems that "vacation" requires a username that is local to the system.
It will not process an email address.

\, "|/usr/ucb/vacation chan"

I've tried using an alias in /etc/mail/aliases to replace chan@destiny.ckm. The alias is to forward the email, but that didn't work either.
I've also tried to add another user that just forwards the email with a
.forward file, but that didn't work either.

Does anyone have any solutions whether it involves "vacation" or not?

I'm running Solaris 2.5.1 on an Ultra system.

Ada Chan


Thanks to the following respondants for their contributions:

"Christopher A. Tessone" <>
Mark Belanger <>
Ian MacPhedran <>
Glenn Satchell - Uniq Professional Services <>
"Ayoub, Nicky" <>
Dieter Gobbers <> (LINDA S GEE )
Matthew Stier <>
Joel Lee <>
Greg Coleman

The solution to the problem turned out to be very simple. I used the two
line approach in the .forward file:
"|/usr/ucb/vacation chan"

Some of the respondants correctly pointed out that the backslash was used
to identify a local user.

Special thanks to Matthew Lee Stier for the 2 line suggestion.

Another point I should mention is that whenever the .forward file is changed,
you need to re-initialize it with "vacation -I", or use "vacation" with no
arguments to edit the .forward file.

I haven't tried the one line approach with no backslash, but I assume that
should work too.


  Ada Chan Voice: (415) 476-6867
  Computer System Manager Fax: (415) 476-4653
  Library & Ctr for Knowledge Mgmt
  University of California, San Francisco

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:11 CDT