- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail Relay Question
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-27-2006 12:49 AM
06-27-2006 12:49 AM
We have our UX box on the inside zone of our network, We do not have DNS resolver defined on it as it had caused problems.. What we want to do is send any sendmail items via an IP address relay to a Linux Box (that sits in a less secure zone) and has the ability to send out mail from that point.
It would seem we should be able to use Sendmail on UX as a client of the SMTP server on the linux box..
Any ideas appreciated..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 12:58 AM
06-27-2006 12:58 AM
Solutionin sendmail.cf
Change
DS
to:
DShostnamelinuxbox
or
DS
[192.168.0.10]
# where the ip address is the ip addres of the linux box.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Linux will have to explicitly define the HP-UX box in its access file:
/etc/mail/access
hostnamehpux RELAY
or
ipaddresshpux RELAY
Then sendmail macro will need to compile the macro database on the linux box.
# script to build the sendmail from the macro database
/usr/bin/newaliases
cd /etc/mail
makemap -r -v hash access.db < access
makemap -r -v hash access_db < access
makemap -r -v hash domaintable.db < domaintable
makemap -r -v hash domaintable_db < domaintable
makemap -r -v hash genericstable.db < genericstable
makemap -r -v hash genericstable_db < genericstable
makemap -r -v hash mailertable_db < mailertable
makemap -r -v hash mailertable.db < mailertable
makemap -r -v hash virtusertable.db < virtusertable
makemap -r -v hash virtusertable_db < virtusertable
cp -p /etc/mail/sendmail.cf /root
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
service sendmail restart
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-27-2006 01:00 AM
06-27-2006 01:00 AM
Re: Sendmail Relay Question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 01:09 AM
06-27-2006 01:09 AM
Re: Sendmail Relay Question
Try this : http://www.sendmail.org/tips/relaying.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 01:11 AM
06-27-2006 01:11 AM
Re: Sendmail Relay Question
As usual you have it down to a science.