- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can I configure sendmail to run on specific ethern...
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
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-06-2007 03:01 AM
тАО06-06-2007 03:01 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2007 03:24 AM
тАО06-06-2007 03:24 AM
SolutionRemember sendmail daemon is only needed to receive mail.
Here is how to configure the daemon to only listen on localhost and a particular IP address. You have to configure the ip address in /etc/rc.config.d/netconf
DAEMON_OPTIONS(`Port=smtp,Addr=192.168.0.43, Name=MTA')dnl
Also have a line for 127.0.0.1 or the system won't be able to pick up mail from itself.
Then:
http://www.hpux.ws/buildmail.hpux.text
That script automates part of the process of generating a new sendmail.cf file from sendmail.mc The file locations are in the script.
This can be done by playing with sendmail.cf but I don't really consider that file to be human readable. It gives me a headache every time I look at it.
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-06-2007 04:35 AM
тАО06-06-2007 04:35 AM
Re: Can I configure sendmail to run on specific ethernet card ?
Thanks a lot again for your help. When I first configured this Server you helped me. Now I think I can do the way I wanted to do. One more question. This Server I configured as relay server because only this server has connection to our very secured network (no external link at all) to our corporate network. Do I need to run sendmail here as a deamon ? Or can I configure it different way so that I can still get the hardware failure messages from all the other HP & Risc Servers like I get now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2007 04:59 AM
тАО06-06-2007 04:59 AM
Re: Can I configure sendmail to run on specific ethernet card ?
Yes, sendmail won't relay mail without a daemon to listen and first accept the mail.
In the access file specify those hosts you permit relay.
192.168.0.10 RELAY
http://www.hpux.ws/buildmail.hpux.text
Only hosts you define will be permitted to relay.
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-06-2007 05:17 AM
тАО06-06-2007 05:17 AM
Re: Can I configure sendmail to run on specific ethernet card ?
O DaemonPortOptions=Address=xxx.xxx.xxx.xx
O DaemonPortOptions=Address=yy.y.yy.yyy
and restarted the sendmail daemon. Looks like it is OK.
Thanks a lot SEP for your help.