Operating System - HP-UX
1834599 Members
3984 Online
110069 Solutions
New Discussion

Re: fully qualified domain name

 
SOLVED
Go to solution
Sanjiv Sharma_1
Honored Contributor

fully qualified domain name

Hi,

It has been seen on my mail server that the mails coming from my K360/HP-UX 10.20 server is coming with the hostname(root@raineir) and not with the fully qualified domain name(root@raineir@abc.com)and hence the mails are rejected.

How can I change the hostname to the fully qualified domain name?
Any thing needs to be done to the /etc/mail/sendmail.cf to send mail with the FQDN?
What should be the entry in the /etc/hosts file?

Thanks,
Everything is possible
5 REPLIES 5
V. V. Ravi Kumar_1
Respected Contributor
Solution

Re: fully qualified domain name

Hi,
The entry in /etc/hosts should be like this



Ex:
172.25.1.3 hpdev.cmcltd.com hpdev


Regards
Never Say No
T G Manikandan
Honored Contributor

Re: fully qualified domain name

Add the domain name to the

Dj$w

in the /etc/mail/sendmail.cf file

This should enable the FQDN

Restart sendmail using
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start


Revert
malay boy
Trusted Contributor

Re: fully qualified domain name

TG,
Do you mean sendmail.cf or sendmail.cw? .

regards
mB
There are three person in my team-Me ,myself and I.
T G Manikandan
Honored Contributor

Re: fully qualified domain name

sendmail.cf
Rajesh G. Ghone
Regular Advisor

Re: fully qualified domain name

Hello,

The hostname entry in /etc/host shouls be like this.


for e.g
172.17.1.1 rajesh rajesh.hp.com

This will help your problem.

Regards,

Rajesh G.
Rajesh Ghone