- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Configuring sendmail on hpux to sendmail to ms...
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
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-09-2004 12:39 AM
тАО06-09-2004 12:39 AM
Configuring sendmail on hpux to sendmail to ms-exchange email addresses
I'm beginning to pull my hair out with this one!! We've recently switched from a POP3 email setup to an Exchange 2000 server SMTP solution. We had sendmail on hpux configured and working to send email to a POP3 Mdaemon mail server.
We changed all the settings this morning in relation /etc/mail/sendmail.cf and /etc/hosts to reflect the new exchange server details.
I have restarted sendmail on several occassions.
I have had a read at some Articles on the forums and one suggested replacing the /etc/nsswitch.conf file with the /etc/nsswitch.files file. Tried this, restarted sendmail. No Joy.
I have just changed the relay settings on the Exchange 2000 server to allow the unix server to relay and still no joy. However, I don't believe that this actually needed to be done.
On the Unix server, when I try to telnet onto port 25 on the Exchange server, the connection is closed automatically be the remote host. The POP3 server allows me to telnet on port 25 so that I can send mail through it.
Any ideas/suggestions/comments would be greatly appreciated.
Oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2004 12:43 AM
тАО06-09-2004 12:43 AM
Re: Configuring sendmail on hpux to sendmail to ms-exchange email addresses
Is smtp enabled on the Exchange server? Can you telnet to port 25 from a Windows workstation?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2004 12:58 AM
тАО06-09-2004 12:58 AM
Re: Configuring sendmail on hpux to sendmail to ms-exchange email addresses
To set your HP-UX like as a "gateway" mail server you need configuring the "Smart relay host" feature defined in /etc/mail/sendmail.cf file. For this you must be set DS variable:
DS
Where
Then restart the sendmail service:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
To try send an email from your HP-UX server to any valid domain address, i.e:
#echo "Hi, this is a test"|/usr/sbin/sendmail -v
Where "-v" option is the verbose option and allow you make a sending debug.
Any undeliveriable email will stored into dead letter file.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2004 01:10 AM
тАО06-09-2004 01:10 AM
Re: Configuring sendmail on hpux to sendmail to ms-exchange email addresses
Thanks for the reply.
Yes SMTP is installed on the Exchange box and is running.
No, I am not able to telnet onto the exchange box on port 25 from my own workstation.
I am able to telnet on to port 25 on the actual server itself (logged into it using remote desktop).
It's obviously got to do with the Exchange server configuration.
I'll keep at it to see if I can find anything more.
Oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2004 01:57 AM
тАО06-09-2004 01:57 AM
Re: Configuring sendmail on hpux to sendmail to ms-exchange email addresses
1). The exchange server has some type of blocking which is preventing you from connecting to port 25. Similiar to IPFilter on HPUX.
2). Your network group is filtering smtp traffic - port 25. It's possible they are only allowing port 25 from certain servers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2004 02:21 AM
тАО06-09-2004 02:21 AM
Re: Configuring sendmail on hpux to sendmail to ms-exchange email addresses
on the exchange server - is it listening on port 25?
Check port the Internet Mail Connector (IMC) uses in the Services file found in Winnt\System32\Drivers\etc.
If SMTP is assigned to 25/tcp then this file should be correct...
Are you running a firewall on the Exchange server?
Rgds..Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2004 02:33 AM
тАО06-09-2004 02:33 AM
Re: Configuring sendmail on hpux to sendmail to ms-exchange email addresses
bad DNS servers blows the whole game there.
Have you set the DS directive in sendmail.cf
DS
[ip address or hostname of exchange server]
I always use the ip address so if I've got DNS problems, sendmail won't care.
save sendmail.cf
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Diagnostic:
sendmail -v -d 8.99 -d 38.99 someone@your.net
type some text
.
You will get good output. If you can spot the issue yourself, you can post it back to the thread for quick resolution.
mailq
Displays the outbound mail queue of the HP-UX box. If its piling up, its relaying, networking, or DNS resolution if you are not using DS directives.
sendmail -v -q
Shows vith verbose output sendmails attempts to clear the mail queue. Useful for debugging.
Test DNS setup.
nslookup hostname
use hostname of exchange server. You should get an answer and get it fast.
Also, dig will perform the same function.
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-09-2004 02:59 AM
тАО06-09-2004 02:59 AM
Re: Configuring sendmail on hpux to sendmail to ms-exchange email addresses
We managed to get this sorted by enabling the unix server to send mail to our SMTP Gateway server on our DMZ, this in turn sends it to Exchange and exchange handles the mail fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2004 03:30 AM
тАО06-09-2004 03:30 AM
Re: Configuring sendmail on hpux to sendmail to ms-exchange email addresses
Please don't forget to assign us points according to your grade of satisfaction!
Rgds.