- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Fun with Sendmail!!
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
06-28-2001 06:33 AM
06-28-2001 06:33 AM
Fun with Sendmail!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 06:37 AM
06-28-2001 06:37 AM
Re: Fun with Sendmail!!
Is your exchange server on the same subnet?
You may be filtered by a router...
all the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 06:37 AM
06-28-2001 06:37 AM
Re: Fun with Sendmail!!
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 06:42 AM
06-28-2001 06:42 AM
Re: Fun with Sendmail!!
added the line Dj$w.mydomain.com
"Smart" Relay Host
DSexchangeserver
I also edited nsswitch.conf file:
hosts:files
aliases:files
After I make any changes I start and stop sendmail..
We don't use DNS but I have the correct entries in /et/hosts and I can get to the exchange box from the server and vice versa.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 07:34 AM
06-28-2001 07:34 AM
Re: Fun with Sendmail!!
mailq
does it show any sort of error against the messages that are "stuck" ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 07:38 AM
06-28-2001 07:38 AM
Re: Fun with Sendmail!!
(Deferred: Name server: xchange002: host name lookup failure)
Which I don't understand because I have the entry in /etc/hosts and I can ping xchange002...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 07:55 AM
06-28-2001 07:55 AM
Re: Fun with Sendmail!!
Does an 'nslookup' of xchange002 return the right answer, as well as the IP address for xchange002? Just curious.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 08:49 AM
06-28-2001 08:49 AM
Re: Fun with Sendmail!!
hosts: files dns
in nsswitch.conf..but if you only use files, then putting an entry in /etc/hosts should solve you problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 08:56 AM
06-28-2001 08:56 AM
Re: Fun with Sendmail!!
if your e-mail is to joe@home.com
then your /etc/hosts must alias your exchange server's ip address to home.com....
***.***.***.*** exchange home.com
hope this helps...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 12:35 PM
06-28-2001 12:35 PM
Re: Fun with Sendmail!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 12:44 PM
06-28-2001 12:44 PM
Re: Fun with Sendmail!!
sendmail -v user@domain.com < message
and see what error returns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 12:50 PM
06-28-2001 12:50 PM
Re: Fun with Sendmail!!
.. Deferred: Name server: xchange002: host name lookup failure
But I can ping the exchange server and do a nslookup on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 01:04 PM
06-28-2001 01:04 PM
Re: Fun with Sendmail!!
O=ServiceSwitchFile=
in your sendmail.cf file is uncommented, if it is comment it out and restart.
If this line is already commented out, the only other thing I can think of right now is setting the fallbackMX option in sendmail.cf and trying that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 01:34 PM
06-28-2001 01:34 PM
Re: Fun with Sendmail!!
o = hosts file..be sure it is uncommented too
and you may have to create your service.switch file..one more thing, I would recommend using dns. recent versions of sendmail use dns for alot of internal things, in fact yours could be compiled with DNS only..most support the without dns option only for compatability reasons..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 02:41 PM
06-28-2001 02:41 PM
Re: Fun with Sendmail!!
This is what my /etc/resolv.conf looks like:
domain mydomain.com
search mydomain.com
nameserver XX.XX.XX.XX
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 05:25 PM
06-28-2001 05:25 PM
Re: Fun with Sendmail!!
I have encountered the same problem as you before :-
It seems that "-q15m" in the command "sendmail -bd -q15m " is not useful !
So my solution is : put "sendmail -q " on your root crontab !
or
run "sendmail -q15m & " the command
I apply the point 1 in our mail system(hpux10.20 ) and problem solved ( names lookup failed , just like you .)
Hopes this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 05:38 PM
06-28-2001 05:38 PM
Re: Fun with Sendmail!!
#sendmail -q //force sendmail to process the mail queue, then
#mailq //to display the content of mail queue
if it prompts "/var/spool/mqueue is empty" , then the solution I mentioned above is the right way for you.
Frank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2001 05:33 AM
06-29-2001 05:33 AM
Re: Fun with Sendmail!!
I also had a problem like this.
My dns was resolving the right fully qualified host name but doing the return value as the reverse lookup was having a typo .
ie : forward dns lookup was returning hostname@domain.com
and reverse lookup was returning
hostname@domain,com
hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2001 05:52 AM
06-29-2001 05:52 AM
Re: Fun with Sendmail!!
Is the /etc/hosts entry for the exchange server in the right format, eg.:
xxx.xxx.xxx.xxx server.domain.com server
^ip ^fully qual. name ^alias
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2001 06:44 AM
06-29-2001 06:44 AM
Re: Fun with Sendmail!!
I broke down and called HP support:
I updated sendmail to 8.9.3 and it start working instantly.
If all else fails call HP!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2001 05:21 PM
07-01-2001 05:21 PM
Re: Fun with Sendmail!!
Frank.