- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- weird mail error...
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
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
04-29-2004 06:03 AM
04-29-2004 06:03 AM
It has been working up until recently.
I noticed that I was not getting any emails from the box, so I did some checking...
I am getting a ...
Host unknown (Name server: smtp1.abc.mb.ca.abc.ca.: no data known)
The thing is, it should be smtp1.abc.mb.ca
not
smtp1.abc.mb.ca.abc.ca
This is the address I can ping, the other errors out.
We have made no changes, and did not make any changes to the sendmail.cf file. It is default, where there is no entries for where the relay server is.
Where is it picking up the extra abc.mb.ca?!!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2004 06:10 AM
04-29-2004 06:10 AM
Re: weird mail error...
DS
at all. Right ?
this totally sounds like somebody has messed with your sendmail.cf file and had a mail relay server set and to make the things worse, it is not a straight server name but a macro which is supposed to find your relay server. But due to the misconfiguration of this macro, you are getting the extra subdomain.domain suffix.
in the sendmail.cf file loof for lines starting with
DS
or
D{ followed by a bunch of cryptic directives
hope this helps. sendmail.cf is no fun to debug.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2004 06:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2004 06:35 AM
04-29-2004 06:35 AM
Re: weird mail error...
#pick a host on your internal network
If you used to get an answer and no longer do, you have a DNS or /etc/hosts name resolution problem.
As Sanjay noted the path is then /etc/nsswitch.conf or /etc/resolv.conf
Unlikely, though it might be that relaying was turned off on the server you do DS relay to. The error message counterindicates this outcome.
sendmail -v -d8.99 -d38.99 someone@domain.net
type some text before hitting enter
.
You will get good diagnostics and probably confirm the problem is with /etc/resolv.conf
Make sure you can ping them and that nslookup or dig returns good answers.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2004 06:51 AM
04-29-2004 06:51 AM
Re: weird mail error...
Worked great, I was able to send mail, and recieved it, but when I do ...
mailx someuser@domain
I still get the connection refused because of the extended domain name.
I looked at all files, non have been touched since the server was built.
resolv.conf
nsswitch.conf
sendmail.cf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2004 07:13 AM
04-29-2004 07:13 AM
Re: weird mail error...
also try running mailx by invoking it with the full path name (in my case /usr/bin/mailx). I have seen people putting scripts in your search path which diverts you from using the actual execuatble as you intended to.
looks like your mail delivery subsystem is functioning well. you are having issues how mailx passes messages to sendmail.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2004 08:17 AM
04-29-2004 08:17 AM
Re: weird mail error...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2004 08:34 AM
04-29-2004 08:34 AM
Re: weird mail error...
sed -e s/^DH$/DH$SENDMAIL_SERVER_NAME.\$m/ \
-e s/^DM$/DM$SENDMAIL_SERVER_NAME.\$m/ \
/etc/mail/#sendmail.cf \
you actually should either set SENDMAIL_SERVER_NAME=smtp1, or not set it at all and just set the DS macro in your sendmail.cf file to smtp1.abc.mb.ca.
In either case, be sure to reset you DH/DM macros as appropriate to your environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 01:14 AM
02-23-2005 01:14 AM