Avatar of erase007
erase007
 asked on

Sendmail anti-relay

I have setup sendmail in RH 8, all send and receive email is ok, but I have one questino about anti-relay which is.
Let's say, my RH 8 sendmail sever IP is 192.168.1.1 and other PC IP is 192.168.1.2 which are all in the LAN.
Let's see my setup step first
(1) vi /sendmail.cf --
 O DaemonPortOptions=Port=smtp,Addr=192.168.1.1, Name=MTA
(2) assume I have abc.com this domain, then I vi /etc/mail/local-host-names
(3)add email account by useradd................

With the above setting, I can send and receive email, but
I don't know why I no need to edit /etc/mail/access since
default is don't relay any things except these  
localhost.localdomain           RELAY
localhost                       RELAY
127.0.0.1                       RELAY

I haven't add 192.168.1.1   RELAY
why sendmail server still accept the mail from 192.168.1.1 ?

Thanks you very much !
Linux

Avatar of undefined
Last Comment
CleanupPing

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
heskyttberg

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
CleanupPing

erase007:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes