Unable to send/receive email

I have a Red Hat Linux 7.3 server that has sendmail installed on it. However, it will not allow me to send or receive email, instead disconnecting whoever tries to.

What files should I edit to allow EVERYONE to check mail from the server (receive), and what file should I edit to allow only certain IP addresses to send mail from the server?

Also, please include the format of what I should put in these files.

The files currently in my /etc/mail directory are:
access
access.db
domaintable
domaintable.db
localip
localip.db
mailertable
mailertable.db
sendmail.mc
helpfile
Makefile
statistics
virtusertable
virtusertable.db
local-host-names
popip.db
trusted-users

 

 

 

 

Top