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 username@domain.com 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.
\chan2@ckm.ucsf.edu, "|/usr/ucb/vacation chan"
I've tried using an alias in /etc/mail/aliases to replace chan@destiny.ckm.
ucsf.edu. 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" <mathrulz@imsa.edu>
Mark Belanger <mark_belanger@ltx.com>
Ian MacPhedran <Ian_MacPhedran@mackenzie.usask.ca>
Glenn Satchell - Uniq Professional Services <Glenn.Satchell@uniq.com.au>
"Ayoub, Nicky" <Nicky.Ayoub@avnet.com>
Dieter Gobbers <gobbers@faw9370.faw.uni-ulm.de>
u2is9lsg@lindasun.crrel.usace.army.mil (LINDA S GEE )
Matthew Stier <Matthew.Stier@tddny.fujitsu.com>
Joel Lee <jlee@thomas.com>
Greg Coleman
The solution to the problem turned out to be very simple. I used the two
line approach in the .forward file:
chan2@ckm.ucsf.edu
"|/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
--------------------------------------------------------------------------
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