|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Vacation forwarder - syntax of .forward file
From: Terry Jones (tcj25
cam.ac.uk)
Date: Tue May 03 2005 - 04:07:26 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
| > When in place this gives me the following bounce:
| >
| > <nkendrick
munged.home.local>: Command died with status 1:
| > "/usr/bin/vacation -a nkendrick
munged.com nkendrick"
|
| Have you tried running it as nkendrick from the shell?
Immediately after running the command in the shell, type
echo $?
This will show you the exit status of the vacation program (I assume
you are using an sh variety shell, e.g., bash). If the exit status is
non-zero, you could change your .forward to
"|/usr/bin/vacation -a nkendrick
munged.com nkendrick || exit 0"
Which would make your error go away. But.... vacation shouldn't be
exiting non-zero, unless there is some problem and you should
investigate this further.
If the exit status is zero, then there is very likely something in
your environment that's allowing vacation to work and which is missing
when your .forward is processed. If you can figure out what that is,
you can set the environment variable in the .forward too.
Terry
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]