PC Review Forums Software Linux vacation program

Reply
 
Thread Tools Rate Thread
Old 14-11-2005, 03:14 AM   #1
Guhan
Junior Member
 
Guhan's Avatar
 
Join Date: Jul 2005
Location: Australia
Posts: 7
Trader Rating: (0)
Default vacation program

When I enable the vacation program (vacation -I) in Red Hat 8, a blank message is sent back as reply. As an example, when I send an email to test@mail.com, I get a blank email from test@localhost.localdomain. Do I have to change any configuration in the master.cf file?

Any help would be appreciated.

Thanks
Guhan is offline   Reply With Quote
Old 17-11-2005, 08:21 PM   #2
usalug
Member
 
usalug's Avatar
 
Join Date: Sep 2005
Location: Iowa, USA
Posts: 57
Trader Rating: (0)
Default

I would double check that your message is there before i messed with any other configuration files.
.vacation.msg

The default msg looks something like this:

Code:
Subject: away from my mail I will not be reading my mail for a while. Your mail concerning "$SUBJECT" will be read when I'm back.


typing vacation from a command line should allow you to view/edit your message.

Otherwise in your users home directory look for the file .vacation.msg
Using the command
Code:
cat .vacation.msg
should allow you to view the current message, you could change that with any text editor if your in gui mode.

Some useful commands for vacation (from the command line-IN the home directory for the user)
vacation -I Starts vacation
rm .forward Stops vacation
cat .vacation.msg View vacation message
pico .vacation.msg Edit vacation message
vacation -l List the content of the vacation database file including the address and the associated time of the last auto-response.

USEFUL FILES
$HOME/.forward
$HOME/.vacation.msg

Last edited by usalug : 17-11-2005 at 08:30 PM.
usalug is offline   Reply With Quote
Old 17-11-2005, 09:30 PM   #3
Guhan
Junior Member
 
Guhan's Avatar
 
Join Date: Jul 2005
Location: Australia
Posts: 7
Trader Rating: (0)
Default

Hi Usalug,


Thank you for the reply. I have .vacation.msg and .forward files correctly configured in the user's (test) home directory. I typed vacation -I from the command line and started vacation from the 'VacationAdmin' module (Webmin)
as well with the same result- From: test@localhost.localdomain without the message from the .vacation.msg file.

Do I have to modify the main.cf or the hosts file? My host file is as follows:

127.0.0.1 mail localhost.localdomain localhost

I do not have any problems with the usual mail which displays the proper sender's and receiver's addresses.

Thanks again,

Guhan
Guhan is offline   Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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

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