- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail configuration
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
11-18-2005 12:30 AM
11-18-2005 12:30 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2005 12:51 AM
11-18-2005 12:51 AM
Re: sendmail configuration
vi sendmail.cf
DS=hostname.exchange
or
DS=ip address of exchange.
Make sure exchange server is explicitly set up to accept relay
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
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
11-18-2005 01:03 AM
11-18-2005 01:03 AM
Re: sendmail configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2005 01:40 AM
11-18-2005 01:40 AM
Re: sendmail configuration
Use mail -v user@domain to verify the SMTP transaction.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2005 02:21 AM
11-18-2005 02:21 AM
Re: sendmail configuration
I am not sure about how the lookup is configured. But ensure lookup is proper and
then try following settings in the sendmail.cf file .
Define the DS macro for your Exchange host.
DS
Define the local domain with Dm and Dj macro
Dm
Dj$w.
Un-comment a like where you see
R$* .......... check_local .......... Local Domain ?
Restart the sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2005 07:10 PM
11-20-2005 07:10 PM
Re: sendmail configuration
sendmail_machine.domain1.local and exchange_machine.domain2.local; i need to tell to my sendmail to not use the dns_machine.domain1.local but just forward the e-mails to exchange_machine.domain2.local; how can i do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2005 07:28 PM
11-20-2005 07:28 PM
Re: sendmail configuration
You need to add route between sendmail_machine.domain1.local and exchange_machine.domain2.local.
Check the man page of routeadd for details :
# man route
Once the new route is working, you need to add the configuration on /etc/rc.config.d/netconf and restart the inetd.
Check the url below (docID : ) about 'Sys Adm: Adding static routes to the network' :
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080079807
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2005 09:20 PM
11-20-2005 09:20 PM
Re: sendmail configuration
I tried all previous configurations but doesnâ t work so Iâ ll try to be more precise.
I want to send all emails , with sendmail (8.9.3), from an HP server
hpux11.11) named HPJOHN.local.domain ,
externally , through an Exchange Server named EXCH.local.domain :
HPJONH.local.domain -> â #sendmail bob.smith@yahoo.comâ -> EXCH.local.domain - > Internet (yahoo.com)
Exchange is working properly and has its own DNS for external domains. It knows to resolve yahoo.com .
I put EXCH.local.domain in /etc/hosts and nslookup is working fine.
My problem is that I donâ t know how to configure sendmail to not try to resolve â yahoo.comâ locally
in HPJOHN server , as a host name , but just pass â bob.smith@yahoo.comâ as an email address to Exchange server which will know what to do with it.
I think is just a configuration in sendmail.cf ( not use DNS but pass all emails to EXCH.local.domain)
but I canâ t find it.
Thank you in advance to all who will try to help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2005 09:32 PM
11-20-2005 09:32 PM
Re: sendmail configuration
Thank you to all who replied.
I tried all previous configurations but doesn't work so I'll try to be more precise.
I want to send all emails , with sendmail (8.9.3), from an HP server
(hpux11.11) named HPJOHN.local.domain ,
externally , through an Exchange Server named EXCH.local.domain :
HPJONH.local.domain -> #sendmail bob.smith@yahoo.com -> EXCH.local.domain - > Internet (yahoo.com)
Exchange is working properly and has its own DNS for external domains. It knows to resolve yahoo.com .
I put EXCH.local.domain in /etc/hosts and nslookup is working fine.
My problem is that I don't know how to configure sendmail to not try to resolve yahoo.com locally
in HPJOHN server , as a host name , but just pass bob.smith@yahoo.com as an email address to Exchange server which will know what to do with it.
I think is just a configuration in sendmail.cf ( not use DNS but pass all emails to EXCH.local.domain)
but I can't find it.
Thank you in advance to all who will try to help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2005 09:37 PM
11-20-2005 09:37 PM
Re: sendmail configuration
change
DS
to
DS=EXCH.local.domain
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
# That will send ALL mail to the server EXCH.local.domain
Diagnostic test after reconfiguration:
sendmail -v -d8.99 -d 38.99 someone@some.net
type some text
.
# Then
mailq
Your mail queue should be empty. If its not, check the exchange server. If you don't configure it explicity to accept mail relay from your HP-UX server your mail will never go anywhere.
This is essentially a slightly elaborated copy of my original reply. I've done it and it fully answers the question providing a solution in my opinion.
To configure exchange, you'll need to use the idiodic GUI that comes with that product. There are procedures available via the search engine at http://support.microsoft.com
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
11-21-2005 12:38 AM
11-21-2005 12:38 AM
Re: sendmail configuration
When I try to send to someone@some.net sendmail try to resolve host name some.net
and doesn't pass the email to my exchange server (DS=EXCH.local.domain). It search MX records for some.net
May be DS configuration is not enough for may sendmail version 8.9.3?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2005 01:19 AM
11-21-2005 01:19 AM
SolutionTry:
DSEX.EXCH.local.domain
or
DS
[EXCH.local.domain]
I think the equal sign is causing the problem.
Additional:
I believe that the DS has been in sendmail for a long time. I'm 99% sure that its available under 8.9
Trying a newer sendmail release is pretty trivial. There are two newer releases on http://software.hp.com
You restarted sendmail?
Try a real email address, perhaps a yahoo.com account you have.
If DS is correct sendmail should stop trying to resolve hosts.
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
11-27-2005 09:36 PM
11-27-2005 09:36 PM