- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
тАО06-28-2005 07:36 AM
тАО06-28-2005 07:36 AM
Sendmail problems
I think it is having trouble resolving the domain name but I'm not sure. I can send mail to users on the server but not outside the server even to a server on the same network. I get a host name not found error and also a 5.2.1 status error. Do I have to specify in the resolv.conf file every domain that I wish to send email to? Please advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 07:45 AM
тАО06-28-2005 07:45 AM
Re: Sendmail problems
If you are not resolving other systems, especially those on same network, are you pointing to a DNS server?
What does your /etc/nsswitch.conf file look like? Are you searching files first and then DNS? This order (DNS/files vs files/DNS) is critical to tell the system where to begin its lookups.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 08:01 AM
тАО06-28-2005 08:01 AM
Re: Sendmail problems
If that does not provide you an answer, you either have bad setup in /etc/nsswitch.conf or servers that can't be reached in /etc/resolv.conf or both
The most common problem with mail sending is not being able to resolve a hostname.
There is a way around that though, the DS directive in sendmail.cf
sendmail.cf configuration file has a DS directive that allows relay of all mail regardless of hostname resolution.
DSexchangeserver.your.net
or
DS
192.168.0.50
Can set up relay.
Then:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Then things should work.
Diagnostics from the server:
sendmail -v -q
process the mail queue verbose mode.
sendmail -v -d8.99 -d38.99 someone@my.net
type some text
.
This will get you quite a bit of information to proceed with.
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
тАО06-28-2005 08:02 AM
тАО06-28-2005 08:02 AM
Re: Sendmail problems
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files
group: files
hosts: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
passwd: files
group: files
hosts: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
~
~
~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 08:45 AM
тАО06-28-2005 08:45 AM
Re: Sendmail problems
Try changing the nsswitch.conf file to have the hosts lookup to DNS then to files.
Example;
hosts dns files
This will tell the system to look at DNS first. The /etc/resolv.conf should look to your DNS server as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 07:00 PM
тАО06-28-2005 07:00 PM