- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail Accept Connections from Specified Hosts
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
12-06-2005 01:38 AM
12-06-2005 01:38 AM
Sendmail Accept Connections from Specified Hosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 01:44 AM
12-06-2005 01:44 AM
Re: Sendmail Accept Connections from Specified Hosts
create /etc/mail/access
tab delimited:
hosta relay
hostb relay
makemap hash /etc/mail/access
then stop/start sendmail
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 01:54 AM
12-06-2005 01:54 AM
Re: Sendmail Accept Connections from Specified Hosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 02:20 AM
12-06-2005 02:20 AM
Re: Sendmail Accept Connections from Specified Hosts
No, it will only limit relaying to those hosts specified. Your best bet would be to use a firewall to prevent any but a select set of hosts from accessing your mail system's port 25. If you're not behind a firewall, you can probably get iptables compiled on HP using gcc pretty easily.
Failing that, you could probably try adding something like the following to the access database:
0.0.0.0 REJECT
$host1 OK
$host2 RELAY
...
$host# OK
$host# RELAY.
I don't have the opportunity to test that out; however, it may be worth a try.
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 02:30 AM
12-06-2005 02:30 AM
Re: Sendmail Accept Connections from Specified Hosts
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9901AA
Rgds...Geoff