1835569 Members
2830 Online
110078 Solutions
New Discussion

praliases is not working

 
SOLVED
Go to solution
prasathc_1
Frequent Advisor

praliases is not working

Hi All
I have a 712 machine with 11.00 os. After installing the OS, i have copied the all the file in /usr/adm/netdist as shown below.
# ll /usr/adm/netdist/
total 1312
drwxrwxr-x 2 root sys 96 Oct 23 02:23 INFO
-r--r--r-- 1 root bin 11235 May 15 1991 README
-r--r--r-- 1 root bin 38 Mar 31 1996 daemon-list
-r--r--r-- 1 root bin 1014 Feb 8 1999 install.mylist
-r-xr-xr-x 1 root bin 12050 Jun 12 1991 netdaemon.dy
-rw-r--r-- 1 root sys 637501 Oct 23 02:55 ninstall.log
-r-xr-xr-x 1 root bin 599 May 15 1991 restartd
-rw-r--r-- 1 root sys 1879 Mar 2 2000 sendmail.log
-r-xr-xr-x 1 root bin 3075 May 15 1991 startd
-r-xr-xr-x 1 root bin 726 May 15 1991 stopd
#
After that i have executed
/var/adm/netdist/netdaemon.dy

when i put "praliases mike or praliases prasathc" it's giving "No Such Key"
# praliases prasathc
prasathc: No such key

and the praliases is as follows
# praliases
postmaster:root
operator:root
daemon:root
@:@
mailer-daemon:root
nobody:/dev/null
uucp:root

In that situation i am able to receive mails, but i am not able to send a mail to others.

What should i do now.

Can any one help me out.

Thanks in Advance
Prasath C
If u fail to plan, U plan to fail
4 REPLIES 4
Christian Gebhardt
Honored Contributor
Solution

Re: praliases is not working

The aliases-file is /etc/mail/aliases

In this file you have to define your aliases, eg.
prasathc : hello@mail.com

Then command "newaliases"
and then "praliases prasathc" leads to
prasathc:hello@mail.com

Chris
T G Manikandan
Honored Contributor

Re: praliases is not working

check the /etc/mail/aliases
file
this should be in the format

Key: mailing list.

Thanks
U.SivaKumar_2
Honored Contributor

Re: praliases is not working

Hi,
No such key is reported when the name you specified with praliases does not exists in
/etc/mail/aliases file.
#praliases prasathc

So put this entry in /etc/mail/aliases
prasathc: user
Then run
#newaliases

Now
#praliases prasathc
will give this output
prasathc: user

regards,
U.SivaKumar



Innovations are made when conventions are broken
prasathc_1
Frequent Advisor

Re: praliases is not working

Hi All

Thanks for the prompt repley.

Actually the /etc/mail/aliases file size is small when i compared with other 11.00 machine.

So i have copied the file, and run a commend newaliases, now it's working fine.

Thanks for the help.

Prasath C
If u fail to plan, U plan to fail