- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail relaying to Exchange 2000
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
07-07-2004 11:51 PM
07-07-2004 11:51 PM
Sendmail relaying to Exchange 2000
I know I'm asking a question that has been asked many times before but the solutions that have been posted do not fix my particular problem. Basiclly, on a new HP-UX 11.11 B installation, I cannot get Sendmail to relay external mail to an Exchange 2000 box.
I have already done the obvious settings in the sendmail.cf file.
1. Added domain name to dj macro
2. Added exchange box to ds macro
We do not use DNS for our unix box so there is no /etc/resolv.conf and I have ensured that both the Exhange server and the unix box itself are listed in /etc/hosts and that service.switch contains
hosts files
aliases files
No matter what I try, when I run
sendmail -v user@domain.com
I get
WARNING: local host name (belf02) is not qualified; fix $j in config file
User@domain.com... domain.com: Name server timeout
User@domain.com... Transient parse error -- message queued for future delivery
Has onyone seen this before or know what may be causing it. All help welcome.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 12:15 AM
07-08-2004 12:15 AM
Re: Sendmail relaying to Exchange 2000
Also, do you have FQDN in /etc/hosts?
Did you restart sendmail after modifying sendmail.cf?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 12:59 AM
07-08-2004 12:59 AM
Re: Sendmail relaying to Exchange 2000
Tried adding the domain to the DM macro. Still no joy.
Some entries in /etc/hosts use FQDNs and some don't. The exchange server entry does.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 01:18 AM
07-08-2004 01:18 AM
Re: Sendmail relaying to Exchange 2000
Also - what version of sendmail?
echo \$Z | /usr/sbin/sendmail -bt -d |grep Version
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 01:22 AM
07-08-2004 01:22 AM
Re: Sendmail relaying to Exchange 2000
I've tried using the loaclhost with and without a FQDN in /etc/hosts without any difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 01:27 AM
07-08-2004 01:27 AM
Re: Sendmail relaying to Exchange 2000
It needs to be explicitly set up to relay from your Linux box, probably by IP address.
If you are responsible for this box you might want to do a post in the microsoft forum But your results appear to show a rejection of relay.
mailq should show your outbound mail queued up and not delivered.
sendmail -v -q should confirm that conclusion.
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
07-08-2004 01:34 AM
07-08-2004 01:34 AM
Re: Sendmail relaying to Exchange 2000
Then simply try to resolve the FQDN's using nslookup.
If it resolves properly, test sendmail now.
Revert
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 01:36 AM
07-08-2004 01:36 AM
Re: Sendmail relaying to Exchange 2000
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SMAIL811
Can you post the actual lines from sendmail.cf
Dj
DS
As well as the lines from /etc/hosts for your server and exchange server?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 01:48 AM
07-08-2004 01:48 AM
Re: Sendmail relaying to Exchange 2000
The sendmail box currently has a number of mails queued for delivery.
/etc/nsswitch has the following line
hosts files
using nslookup, I can successfuly resolve the FQDN of the exchange server.
The following lines are taken from my sendmail.cf file
Djeurope.cskcorp.com
DSukbfex01.europe.cskcorp.com
the following lines are taken from /etc/hosts
192.0.0.3 belf02.europe.cskcorp.com
192.0.0.6 ukbfex01.europe.cskcorp.com
The hosts file on the exchange box is empty as it uses DNS. I've noticed on the DNS server that there is no entry for the sendmail box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 02:02 AM
07-08-2004 02:02 AM
Re: Sendmail relaying to Exchange 2000
192.0.0.3 belf02 belf02.europe.cskcorp.com
192.0.0.6 ukbfex01 ukbfex01.europe.cskcorp.com
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 02:06 AM
07-08-2004 02:06 AM
Re: Sendmail relaying to Exchange 2000
Still no joy. Still getting exactly the same message when I run
sendmail -v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 02:14 AM
07-08-2004 02:14 AM
Re: Sendmail relaying to Exchange 2000
If I run
$nsquery hosts ukbfex01
or
$nsquery hosts ukbfex01.europe.cskcorp.com
I get the following.
No policy for hosts in nsswitch.conf.
Using "dns [NOTFOUND=return TRYAGAIN=return] nis [NOTFOUND=return] files" for th
e hosts policy.
Searching dns for ukbfex01.europe.cskcorp.com
This Name Service is currently unavailable
Switch configuration: Allows fallback
Searching nis for ukbfex01.europe.cskcorp.com
This Name Service is currently unavailable
Switch configuration: Allows fallback
Searching /etc/hosts for ukbfex01.europe.cskcorp.com
Hostname: ukbfex01
Aliases: ukbfex01.europe.cskcorp.com
Address: 192.0.0.6
Switch configuration: Terminates Search
The first lines states that there is no policy for Hosts in nsswitch.conf and tries to lookup via DNS.
yet in /etc/nsswitch.conf, the following lines exists.
hosts files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 02:25 AM
07-08-2004 02:25 AM
Re: Sendmail relaying to Exchange 2000
hosts: files [NOTFOUND=CONTINUE] dns
Or something like that - for no DNS:
hosts: files
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 02:25 AM
07-08-2004 02:25 AM
Re: Sendmail relaying to Exchange 2000
I've just solved my problem in the last line of my previous post.
hosts files
should be
hosts: files
Tried, tested and it works.
Thanks to everyone for you input. It was very much appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 02:28 AM
07-08-2004 02:28 AM
Re: Sendmail relaying to Exchange 2000
Thanks again for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 02:30 AM
07-08-2004 02:30 AM
Re: Sendmail relaying to Exchange 2000
Rgds...Geoff