Operating System - HP-UX
1837117 Members
2520 Online
110112 Solutions
New Discussion

Re: help with mail service

 
Steven Chen_1
Super Advisor

help with mail service

Hi,

We are using HPUX 10.20 on K260 server and mail service is not a major concern. It is only for sending mail for local services such as Oracle database actions.

However I want to prepare to send mail in and out. I have been unable to do so. The followings are the error messages from /var/adm/mail.log:

---------------------------------
Nov 6 04:00:06 abc sendmail[3646]: My unqualifed host name (abc) unknown;
about to retry
Nov 6 04:00:06 abc sendmail[3646]: unable to qualify my own domain name (abc
) -- using short name
-----------------------------------

On /etc/mail/sendmail.cf, I have:
Dj$w.abc.com

On /etc/mail/sendmail.cw, I have
abc

On /etc/hosts, I have
..ip address.... abc

I have no idea where else to look for to make the change so that the mail service is working.

Thank you for your help in advance.
Steve
5 REPLIES 5
Rainer_1
Honored Contributor

Re: help with mail service

make an alias in /etc/hosts:
ip-address hostname hostname.abc.com
CHRIS_ANORUO
Honored Contributor

Re: help with mail service

In your /etc/hosts file update it with the following:
W.X.Y.Z abc.com abc.
Stop and Start sendmail
/sbin/init.d/sendmail (stop/start)

Cheers!
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
federico_3
Honored Contributor

Re: help with mail service

i think you should define better either your hostname in the /etc/hosts or your domain in sendmail.cf.
If your hostname is "abc"in /etc/mail/sendmail.cf you have to insert Dj$w.xxx.com ( where xxx is given by your domain -> see in /etc/resolv.conf )

If your domain is abc.com, insert in /etc/hosts
IP hostname hostname.abc.com


federico
Kofi ARTHIABAH
Honored Contributor

Re: help with mail service

Steven:

the above error should not prevent mail from being delievered - it is actually more of an informational warning than an actual show-stopping error.

Try the suggestions given above (remember to restart the mail service) and if it still fails to start, post parts of the /var/adm/syslog/mail.log file to help with diagnostics.
nothing wrong with me that a few lines of code cannot fix!
Steven Chen_1
Super Advisor

Re: help with mail service

Thank you for all the help.

My /etc/hosts hostname = 'abc',
sendmail.cf uses 'Dj$w.abc.com'.

I do not have /etc/resolv.conf file. Do I need it and how to create it if I do.

Could that be the problem?

Thanks,

Steven
Steve