Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

allow send email only from local domain

Status
Not open for further replies.

supportadl

IS-IT--Management
Jun 11, 2010
7
IT
Good afternoon, I need an hand to make a custom configuration on my Sendmail 8.13.8. I already configure it to allow relay only for authenticated users. But I want to increase sevurity and make also another limitation if it is possible: allow sending email only for local domain. For example, domain A.COM is locate in my server and can send email to everyone, domain B.COM is NOT locate on my server and I want to block access to my smtp server also if it uses authentication.
I need this to block possible spam send from an infected pc through my mail server using different email address.
This is my actual access file:

Connect: localhost.localdomain RELAY
Connect: localhost RELAY
Connect: 127.0.0.1 RELAY

Can anyone help me?
Thanks a lot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top