- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail SMART_HOST vs hosts.smtp?
Operating System - HP-UX
1753259
Members
4732
Online
108792
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО09-07-2004 10:29 AM
тАО09-07-2004 10:29 AM
First let me say I've been trying to figure this out most of the afternoon and just get more and more confused as I see other options which I _THINK_ might be relevant to my problem, but so far I'm just getting a mixed bag of results.
Here is what I have currently:
All of my HPUX systems are setup with a SMART_HOST (DS) entry to point them at an exchange server. The exchange server deals with delivering the emails to our local exchange users, as well as external internet clients without having to open port 25 up for all these machine. Fine, wonderful, fantastic.
Here is what I'd like to do:
My HPUX machines CANNOT send mail to each other, because it gets forwarded off to exchange and then eaten. So, if I setup internal DNS MX recoreds for said machines, what would I have to do to sendmail to make it ignore the SMART_HOST for something that is either a) short name (host123) or b) my internal system domain name (host123.notmyinternetmaildomain.com)?
Some pointers here from someone who knows would really help. Thanks!
Here is what I have currently:
All of my HPUX systems are setup with a SMART_HOST (DS) entry to point them at an exchange server. The exchange server deals with delivering the emails to our local exchange users, as well as external internet clients without having to open port 25 up for all these machine. Fine, wonderful, fantastic.
Here is what I'd like to do:
My HPUX machines CANNOT send mail to each other, because it gets forwarded off to exchange and then eaten. So, if I setup internal DNS MX recoreds for said machines, what would I have to do to sendmail to make it ignore the SMART_HOST for something that is either a) short name (host123) or b) my internal system domain name (host123.notmyinternetmaildomain.com)?
Some pointers here from someone who knows would really help. Thanks!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2004 10:53 AM
тАО09-07-2004 10:53 AM
Solution
Hi Mark,
You dont have to setup MX records for UX boxes to send mail to each other.
Edit /etc/mail/sendmail.cf and define the local domain.
Dm
and uncomment the following line
R$* < @ $* > $* $: $>check_local <$m> $1 < @ $2 > $3 Local Domain?
# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start
# sendmail -v root@host1.yourdomain.com
This should try to directly connect to host1.yourdomain.com
-- Sundar.
You dont have to setup MX records for UX boxes to send mail to each other.
Edit /etc/mail/sendmail.cf and define the local domain.
Dm
and uncomment the following line
R$* < @ $* > $* $: $>check_local <$m> $1 < @ $2 > $3 Local Domain?
# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start
# sendmail -v root@host1.yourdomain.com
This should try to directly connect to host1.yourdomain.com
-- Sundar.
Learn What to do ,How to do and more importantly When to do ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2004 11:19 AM
тАО09-07-2004 11:19 AM
Re: Sendmail SMART_HOST vs hosts.smtp?
Sundar, this is EXACTLY what I wanted!
Thank you so much! I just tried it and it behavied exactly like I wanted.
I send an email via sendmail to my work internet email account, an outside webmail account, and an internal users@hpsystem and all 3 were correctly delivered!
Again, thank you! :)
Thank you so much! I just tried it and it behavied exactly like I wanted.
I send an email via sendmail to my work internet email account, an outside webmail account, and an internal users@hpsystem and all 3 were correctly delivered!
Again, thank you! :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2004 11:21 AM
тАО09-07-2004 11:21 AM
Re: Sendmail SMART_HOST vs hosts.smtp?
You are very welcome Mark. Glad I could be of some help :-).
Learn What to do ,How to do and more importantly When to do ?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP