- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- totally confused with sendmail problems
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
Discussions
Discussions
Discussions
Forums
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
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
тАО05-17-2001 09:57 AM
тАО05-17-2001 09:57 AM
totally confused with sendmail problems
the UNIX server name is munix.
I have added the NT server to the hosts file (IP ntserver.company.com). The /etc/nsswitch.conf file reads "hosts: dns [NOTFOUND=return UNAVAIL=continue] files[NOTFOUND=return UNAVAIL=continue TRYAGAIN=return] files"
The sendmail.cf has DJ$w.company.com and DSntserver.company.com
I have stoped and started /sbin/init.d/sendmail
When type in "mailx name@company.com", there are no errors to the prompt. Going to the mail log, I see that it says:
"My unqualified host name (munix) unknown; about to retry
Unable to qualify my own domain name (munix) - using short name
be sure to set DJ macro
((in the error for the message)) name server: server.company.com: host name lookup error."
If I type in nslookup, I put in the NT name, I get "Default NIS Server: munix". if I try to define a MX for it, and I type in "set type=mx", it says "invalid option".
From the other posts, I assumed that I just needed to add the DS line. When I saw the DJ error, I added the domain for the mail server. I'm probably missing something easy, but I can't figure out what it is. Does anyone know? I don't mean to rehash old threads, but I'm lost. Thanks for the help in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2001 10:29 AM
тАО05-17-2001 10:29 AM
Re: totally confused with sendmail problems
- first change your hosts entry to: "IP ntserver ntserver.company.com"
- change your nsswitch.conf to: files [NOTFOUND=return UNAVAIL=continue] dns"
- you don't need to run sendmail daemon since you are only working as an email client, so, unset your sendmail variable on /etc/rc.config.d/mailsrvs"
Can you "nslookup ntserver"? Can you ping it?
if so, use "mailq" to check your queue of emails, and "sendmail -q v" to try resend.
Check your /var/adm/syslog/mail.log file.
good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2001 10:46 AM
тАО05-17-2001 10:46 AM
Re: totally confused with sendmail problems
I switched the host and alias names around for the server and pushed the changes through (make hosts in /var/yp). In the /etc/rc.config.d/mailservs, I removed the "1" from the server variable, and, from what the file says, set the sendmail server name. If I do the nslookup ntserver, the name and IP address come up. I can ping the server fine. I typed in the sendmail command (which, by the way, did not like the time unit) and looked in the mail log. The mail did not go through, but the relay in the error message was changed to reflect the mail server. It still says that there is a host name lookup error. Any other ideas? Thanks.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2001 03:48 AM
тАО05-18-2001 03:48 AM
Re: totally confused with sendmail problems
What's your sendmail version? If lower than 8.9.3, then install:
HPUX 11 - PHNE_18546
HPUX 10.20 - PHNE_22672
other clues:
Use mailx -d for debugging output.
I cannot remember clearly, but I saw somewhere that sendmail has some problem with dns entry in nsswitch.conf. I use it, but you can try to take it out and only use "hosts: files".
good luck once more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2001 04:10 AM
тАО05-18-2001 04:10 AM
Re: totally confused with sendmail problems
file contain?
Second, because you have DNS in your nsswitch.conf your host file is NOT USED by sendmail ( see posting under my name in the general hpux)
You have the ds macro for the smart host - see what
sendmail has for $j and $w
sendmail -d0.1 -bp # will give you what is defined in
sendmail.cf
Your DNS may also need to be configured -
Does the dns have an mx record for ntserver.mycompany.com?
Your resolv.conf may not point to the right dns server and ALMOST certainly does not have the "domain mycompany.com" in it.
You didn't mention if you could sendmail from the ntserver to munix? Do you want to? - Different kettle of
fish.. I mean configs.