HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail Relay Question
Operating System - HP-UX
1830899
Members
2847
Online
110017
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
08-18-2005 08:22 AM
08-18-2005 08:22 AM
Sendmail Relay Question
I was doing a security scan of our sendmail server and discovered it was configured to allow relaying. I want to turn this off and wanted to confirm the setting that I should change.
I went to the /etc/mail/sendmail.cf file and located the following lines:
# maximum hop count
#0 MaxHopCount=25
If I change the second line to read:
0 MaxHopCount=0
Will that turn off relaying? If not, where else should I go to correct this?
FYI -- The version of sendmail that is currently in use is: 8.13.1. Thanks.
I went to the /etc/mail/sendmail.cf file and located the following lines:
# maximum hop count
#0 MaxHopCount=25
If I change the second line to read:
0 MaxHopCount=0
Will that turn off relaying? If not, where else should I go to correct this?
FYI -- The version of sendmail that is currently in use is: 8.13.1. Thanks.
A Journey In The Quest Of Knowledge
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 01:15 PM
08-18-2005 01:15 PM
Re: Sendmail Relay Question
What i feel like is relaying is disabled in sendmail until you enable the smart-relay and specifiy the hosts and domains the sendmail recieves the mail from by specifying in local-host-names file. Also you could edit /etc/mail/relay-domains to specify the domains for which this sendmail host acts as relay.
To check if they relay is enabled do a telnet to this host on port 25 and try sending a main to external domain and see if it gets relayed.
Now by changing the
0 MaxHopCount=0
you are going to discard all the mails that have hop count more than 0. Which could mean any mail coming to this host having more than 0 ho count will be rejected. So depending on your setup i dont know if thats helpfull to you.
To check if they relay is enabled do a telnet to this host on port 25 and try sending a main to external domain and see if it gets relayed.
Now by changing the
0 MaxHopCount=0
you are going to discard all the mails that have hop count more than 0. Which could mean any mail coming to this host having more than 0 ho count will be rejected. So depending on your setup i dont know if thats helpfull to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 03:52 PM
08-18-2005 03:52 PM
Re: Sendmail Relay Question
comment the DS in sendmail.cf file such as:
# DS and
# 0 TryNullMXList
# DS and
# 0 TryNullMXList
Kamal Mirdad
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP