- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail and relaying
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
07-02-2001 06:49 AM
07-02-2001 06:49 AM
sendmail and relaying
I've tried "relay_entire_domain" and "relay_based_on_MX" and still, my PC hosts can't relay.
What am I missing here? All my PC hosts are on the same network; my goal is to stop other networks from relaying mail via my server.
So far anything I've tried also shuts out my own hosts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2001 07:17 AM
07-02-2001 07:17 AM
Re: sendmail and relaying
How do I do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2001 08:59 AM
07-02-2001 08:59 AM
Re: sendmail and relaying
I usual vi sendmail.cf and make the changes.
Then stop and start sendmail.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2001 09:58 AM
07-02-2001 09:58 AM
Re: sendmail and relaying
Setting this option will allow any host in your domain as defined by the 'm' class macro ($=m) to relay. By default only hosts listed as RELAY in the access db file will be allowed to relay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2001 11:10 AM
07-02-2001 11:10 AM
Re: sendmail and relaying
Ok, so the $m macro is internal. If I run sendmail with -d0.4 it tells me this, among other things:
(subdomain name) $m = com
Surely there must be something wrong with that. If so, perhaps that is my problem? Any ideas here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2001 12:14 PM
07-02-2001 12:14 PM
Re: sendmail and relaying
Using gen_cf I chose options 2 (relay off) and 6 (access db). Moved that new cf file into place, added the few local modifications that I normally require.
Then I created /etc/mail/access, with one line in it:
mydomain.com RELAY
Then I ran the command:
makemap dbm /etc/mail/access \< /etc/mail/access
Then, started and stopped sendmail.
Seems to be OK this way; PCs on my network can now POP/SMTP the sendmail server, and I tried logging in to the server to relay mail from someplace else and got denied.