LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   .forward file with sendmail 8.12 RH9 (https://www.linuxquestions.org/questions/linux-software-2/forward-file-with-sendmail-8-12-rh9-104191/)

mrobb 10-15-2003 07:55 AM

.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

dkloes 10-15-2003 08:11 AM

Are the permissions on the .forward file 600? Please show the contents of your .forward file.

mrobb 10-15-2003 08:18 AM

-rw-r--r-- 1 root root 1 Oct 10 12:40 .forward


/mrobb,"|/bin/vacation -a mrobb"

dkloes 10-15-2003 08:32 AM

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?

mrobb 10-15-2003 10:30 AM

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

dkloes 10-15-2003 10:42 AM

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

mrobb 10-15-2003 11:01 AM

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

dkloes 10-15-2003 02:07 PM

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.