Operating System - HP-UX
1849261 Members
6869 Online
104042 Solutions
New Discussion

creation 'vacation progrm'

 
Deepu Chakravarty
Regular Advisor

creation 'vacation progrm'

Hi,
I am creating 'vaction program' in HPUX 11.11. when I send mail by the command 'mailx -s test deepu' it gives the following error and mail is not generating:
# mailx -s test deepu
this is a test mail
.
EOT
# /usr/home/deepu/.forward: line 1: "|/usr/bin/vacation deepu"... Address deepu is unsafe for mailing to programs
/dead.letter... Saved message in /dead.letter

My .forward is as following:
\deepu, "|/usr/bin/vacation deepu"
Permissions of the .forward file is as follows:
-rwxrwxrwx 1 root sys 35 Feb 20 12:47 .forward

What could be the problem ?
3 REPLIES 3
Muthukumar_5
Honored Contributor

Re: creation 'vacation progrm'

can you check this:

# id deepu

I hope that user id is not there in the system.

Else use as username@hostname.domainanmae.extension format.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: creation 'vacation progrm'

Hi,

Do you have "deepu" in your system ? Just check out by, # grep -i "deepu" /etc/passwd.

If not, create user "deepu" and respective mail dirs and .forward too.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Deepu Chakravarty
Regular Advisor

Re: creation 'vacation progrm'

Yes, I have to use full username with domain name. Now mail is forwarding. But when enabling vacation program, how the hp server will do the autoreply. This is because emails to me will come from smtp NT server. How the autoreply will be effected? Please give the clarity.