- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Configuring E-mail
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2000 04:22 PM
07-17-2000 04:22 PM
Configuring E-mail
I'm new to HP-UX, we have just finished installing an L2000 server running ver. 11.x of HP-UX, the name of the server is DEVSAP1, I'm trying to get e-mail to work, I have a Sun-OS e-mail server (SUN-S1.LEONIWIRING.COM) installed on the same LAN. I tried using mailx and it doesn't do anything, it acts like it's working but I don't receive the test e-mail.
I have checked the mail.log file on DEVSAP1 and I get the following error message:
"MY UNQUALIFIED HOST NAME (DEVSAP1) UNKNOWN; SLEEPPING FOR RETRY"
"UNABLE TO QUALIFY MY OWN DOMAIN NAME (DEVSAP1) -- USING SHORT NAME"
Any help will be greatly appreciated.
Thanks,
Alex Montanez
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2000 08:09 PM
07-17-2000 08:09 PM
Re: Configuring E-mail
- cd /etc/mail
- save a copy of sendmail.cf to sendmail.cf.old
- edit sendmail.cf
- locate the line Dj$w.Foo.COM (should be around line 125)
- replace Foo.COM with your domain name or remove Foo.COM if you don't have a domain name (leave the dot there after $w)
- uncomment the edited line
- edit /etc/host, give your host an alias name as
- restart sendmail by "/sbin/init.d/sendmail stop" and "/sbin/init.d/sendmail start" (you must be root for doing this)
- now send yourself some email and try reading it
- if anything gone wrong, restore sendmail.cf.old then restart sendmail
Regards,
Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2000 08:29 PM
07-17-2000 08:29 PM
Re: Configuring E-mail
edit Cw to Cwmachine_name.domaniname, DS to DSsmtp.domaniname, DR to DRdomainname.
Be sure in /etc/hosts you have the machine name fully qualified.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2000 05:22 AM
07-18-2000 05:22 AM
Re: Configuring E-mail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2000 06:22 AM
07-18-2000 06:22 AM
Re: Configuring E-mail
hosts: files [NOTFOUND=continue] dns
This tells the system to first look for any hostnames in the hosts file but if that fails, it should look in the DNS.
PS. I am assuming that you have dns set up and that you can do an
nslookup hostname.
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2000 07:50 AM
07-18-2000 07:50 AM
Re: Configuring E-mail
/[sendmail_home]/sendmail -d0.1 -bt < /dev/null
This will run sendmail in address testing mode and will print what it can find as the address of the local machine. ie:
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = [hostname]
(canonical domain name) $j = [hostname].company.com
(subdomain name) $m = company.com
(node name) $k = [hostname]
========================================================
If any of these are wrong there is a problem with how nis/dns lookups are being done and you should try and sort those out.
If these are correct you could try looking in [$home]/dead.letter
This should hold a full copy of the mail you sent as well as some entries added by sendmail saying where it failed in its delivery attempt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2000 05:15 AM
07-19-2000 05:15 AM
Re: Configuring E-mail
try adding your hostname to /etc/mail/sendmail.cw
(and restart sendmail)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2000 05:54 PM
07-19-2000 05:54 PM
Re: Configuring E-mail
The answers had been already told by most of them. If you edit the sendmail.cf file and restart the sendmail. It should be through.
Regs,
S.J.Babu