.forward file with sendmail 8.12 RH9
Hello
I am using rh9 and the lattest version of sendmail. the vacation rpm is vacation-1.2.6-1.i386.rpm its installed. I set up the vacation.msg and the .forward. Then I ran vacation -I. It worked for one message with a reply I'm on vacation but also had an error can't create output. I need to know the proper syntax for the .forward file. It does not work anymore and when I try to run it I don't receive any messages. Also is this the proper steps to set it up. 1) create vacation.msg 2) create .forward 3) vacation -I Need Help! Thanks mrobb |
Are the permissions on the .forward file 600? Please show the contents of your .forward file.
|
-rw-r--r-- 1 root root 1 Oct 10 12:40 .forward
/mrobb,"|/bin/vacation -a mrobb" |
chmod 600 .forward
I believe this is a requirement of the .forward file. Also, have you checked /var/log/maillog* files to see any related error messages? |
Hello
I gave full access to the .forward file. I still am having the same problem. The .foward file is in my home dir same with the vacation.db and vacation.msg. When I run vacation -I and then send an email from an outside account it says its goes but nothing is recieved. what is the proper syntax for the .forward file maybe thats the problem? mrobb |
Your syntax looks OK. How about the log files?
Also, to be sure, test from the command line: cat vacation.msg|/bin/vacation -a mrobb |
This is what I got
When I vi into /home/mrobb that is where my .files are. Tha mail log looks normal. [root@www home]# cat vacation.msg|/bin/vacation -a mrobb bash: /bin/vacation: No such file or directory cat: vacation.msg: No such file or directory |
According to your description, the vacation.msg file is in /home/mrobb but your prompt indicates that you did this from the /home directory.
1. You need to be in the directory where the vacation.msg file is. 2. Verify that your vacation executable is in the /bin directory. If not, you need to correct the .forward file to put the correct path. No such file or directory indicates the path is not correct. |
All times are GMT -5. The time now is 03:07 PM. |