LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-15-2003, 07:55 AM   #1
mrobb
LQ Newbie
 
Registered: May 2003
Posts: 23

Rep: Reputation: 15
.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
 
Old 10-15-2003, 08:11 AM   #2
dkloes
Member
 
Registered: Oct 2003
Posts: 66

Rep: Reputation: 15
Are the permissions on the .forward file 600? Please show the contents of your .forward file.
 
Old 10-15-2003, 08:18 AM   #3
mrobb
LQ Newbie
 
Registered: May 2003
Posts: 23

Original Poster
Rep: Reputation: 15
-rw-r--r-- 1 root root 1 Oct 10 12:40 .forward


/mrobb,"|/bin/vacation -a mrobb"
 
Old 10-15-2003, 08:32 AM   #4
dkloes
Member
 
Registered: Oct 2003
Posts: 66

Rep: Reputation: 15
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?
 
Old 10-15-2003, 10:30 AM   #5
mrobb
LQ Newbie
 
Registered: May 2003
Posts: 23

Original Poster
Rep: Reputation: 15
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
 
Old 10-15-2003, 10:42 AM   #6
dkloes
Member
 
Registered: Oct 2003
Posts: 66

Rep: Reputation: 15
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
 
Old 10-15-2003, 11:01 AM   #7
mrobb
LQ Newbie
 
Registered: May 2003
Posts: 23

Original Poster
Rep: Reputation: 15
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
 
Old 10-15-2003, 02:07 PM   #8
dkloes
Member
 
Registered: Oct 2003
Posts: 66

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail forward brentos Linux - Newbie 1 04-21-2004 09:13 AM
cant see .forward file in home directory >> mail forward/copy steve_babbage Linux - Newbie 0 03-02-2004 06:25 AM
sendmail forward message exper Linux - Software 2 01-12-2004 01:25 AM
SENDMAIL: Forward only? tracer Linux - Software 5 09-11-2003 09:36 AM
Sendmail .forward Help echid Linux - Newbie 2 05-29-2002 02:09 PM


All times are GMT -5. The time now is 12:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration