- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Configuring sendmail with no DNS available
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
03-16-2007 06:58 PM
03-16-2007 06:58 PM
Configuring sendmail with no DNS available
I'm trying to configure the send mail process to use my exchange server but my system doesnt involve any DNS configured , i have tried to add a line in the macro DS
momsrv01:/ # sendmail -v mshamy.c@stc.com.sa < /etc/hosts
stc.com.sa: Name server timeout
mshamy.c@stc.com.sa... Transient parse error -- message queued for future delivery
mshamy.c@stc.com.sa... queued
can any one help .
best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2007 03:38 AM
03-17-2007 03:38 AM
Re: Configuring sendmail with no DNS available
1. use DNS.
2. Try this:
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065255439
Good Luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2007 05:58 AM
03-17-2007 05:58 AM
Re: Configuring sendmail with no DNS available
The sendmail DS feature will take IP addresses as well.
DS
[192.168.0.10]
in sendmail.cf where 192.168.0.10 is the ip address of the exchange server (or smtp relay system) is sufficient to get mail off the HP-Ux box without any DNS resolution at all.
I generally like to use the ip address format instead of the DShostname format so mail gets delivered during short term network/dns failures.
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
03-17-2007 02:16 PM
03-17-2007 02:16 PM
Re: Configuring sendmail with no DNS available
I find sendmail works just fine if you put a fully qualified hostname in the /etc/hosts file as a alias for the local host system. That seems to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2007 03:06 PM
03-17-2007 03:06 PM
Re: Configuring sendmail with no DNS available
1) Do you have a /etc/resolv.conf file? If so, and you are NOT using DNS, then rename it to /etc/resolv.conf.old or something.
2) Check to see if you have a /etc/nsswitch.conf file. If so, look in it for the hosts: line and see how it is configured. If you are not using DNS then it should look like:
hosts: files
Try these and see how your sendmail works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2007 03:11 PM
03-17-2007 03:11 PM
Re: Configuring sendmail with no DNS available
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1108641