- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- sendmail configurations -- plz help
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-17-2005 11:40 PM
12-17-2005 11:40 PM
os = rhel
mta = sendmail 8.13.x
mail server ip = 10.0.0.1/8
domain name = abc.com
# cat /etc/mail/local-host-names
abc.com
# cat /etc/mail/access
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
10 RELAY # i add this line '10' is the net-id of my lan
abc.com RELAY # i add this line 'abc.com' is my email & dns domain
# cd /etc/mail
# make
in sendmail.mc
DAEMON_OPTIONS(`Port=smtp,Addr=10.0.0.1, Name=MTA')dnl
# service sendmail start
I m running sendmail with just the configurations above... and rest are the defaults
Questions:
1) does my mail server is an Open-Relay ?
2) in access file i have added last two lines ... if i did right ? i dont know the reason to add these two lines in access file(i have followed the "insructions manuals" designed by an x-admin).
So plz any can explain me the roles of these two lines in /etc/mail/access i.e
10 RELAY
abc.com RELAY
Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2005 11:48 PM
12-17-2005 11:48 PM
Solutionabc.com RELAY
means:
e-mail that came from 10.x.x.x addresses can be relayed anywhere
also
email that came from *.abc.com can be realyed to any domain.
as for open relay question:
by default relaying is closed. In order to make your server open relay (to relay any incoming mail anywhere-highy unsecure and should be done only for testing purposes)
add a line to /etc/mail/sendmail.mc
FEATURE(`promiscuous_relay')
then execute
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
service sendmail restart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2005 12:52 AM
12-18-2005 12:52 AM
Re: sendmail configurations -- plz help
so in my case is there any need to add these two lines ?
and instead of 'RELAY' if i use 'OK' as
10 OK
abc.com OK
results ? consequence ?
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2005 02:10 AM
12-18-2005 02:10 AM
Re: sendmail configurations -- plz help
OK Accept mail even if other rules in the running ruleset would reject it, for example,if the domain name is unresolvable.
RELAY Accept mail addressed to the indicated domain or received from the indicated domain for relaying through your SMTP server. RELAY also serves as an implicit OK for the other checks.
REJECT Reject the sender or recipient with a general purpose message.
DISCARD Discard the message completely using the discard mailer. This only works for sender addresses (i.e., it indicates that you should discard anything received from the indicated domain).
For example:
cyberspammer.com 550 We don't accept mail from spammers
okay.cyberspammer.com OK
sendmail.org OK
128.32 RELAY
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2005 05:14 AM
12-18-2005 05:14 AM
Re: sendmail configurations -- plz help
10 RELAY
abc.com RELAY
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2005 04:48 AM
12-19-2005 04:48 AM
Re: sendmail configurations -- plz help
I highly doubt it - I know I wouldn't want that!
If you just want to accept mail from 10.x.x.x - then make it:
10 OK
abc.com RELAY
Rgds...Geoff