- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail without DNS
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
02-13-2002 10:56 AM
02-13-2002 10:56 AM
sendmail without DNS
I have set the DS parm to point to a smart relay and I have changed the service.switch file to use files.
is there anything else I need to do?
when I try and send mail, I get the following error.
user@foo.com... foo.com: Name server timeout
user@foo.com... Transient parse error -- message queued for future delive
ry
user@foo.com... queued
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 10:58 AM
02-13-2002 10:58 AM
Re: sendmail without DNS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 11:04 AM
02-13-2002 11:04 AM
Re: sendmail without DNS
Put the smart relay host server name and ip address in your /etc/hosts file. also make sure the relay host is able to resolve your system name and ip address and will accept the mails from your server. You should be able to do a nslookup for your relay host on local system and on vice versa on the relay server.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 11:04 AM
02-13-2002 11:04 AM
Re: sendmail without DNS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 11:10 AM
02-13-2002 11:10 AM
Re: sendmail without DNS
The Host file is already set with the ip address of the relay with the alias that I used in the sendmail.cf file.
The logs on my relay show that no connection is even being attempted. It just seems like sendmail is still trying to use DNS even though I've configured the relay and changed the service.switch file. I can telnet to my relay on Port 25 so there is no networking issues.
any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 11:11 AM
02-13-2002 11:11 AM
Re: sendmail without DNS
What were the results of nslookup?
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 11:27 AM
02-13-2002 11:27 AM
Re: sendmail without DNS
Edit (if required create) the file /etc/nsswitch.conf or copy the default file /etc/nsswitch.hp_defaults and for all the entries remove the entries for NIS and DNS and leave the files over there. Then give your sendmail a try.
Make sure you have files as the only entry for services and hosts.
If you do a nslookup, it should be looking to resolve the hostname using files (/etc/hosts). Also you should restart whenever you make any change to the sendmail.cf file,
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 02:56 PM
02-13-2002 02:56 PM
Re: sendmail without DNS
be aware that sendmail is NOT using the "/etc/nsswitch.conf", but has its own file "/etc/mail/service.switch" for this!
And the simplest "trick" is to add an "alias" for each host into your "/etc/hosts" file, which is just the hostname, but with an additional dot (".") at the end...
10.1.1.1 demo demo. #see?
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 03:07 PM
02-13-2002 03:07 PM
Re: sendmail without DNS
thanks for the correction.
Regards
Sanjay