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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access / Alias Files

Status
Not open for further replies.

warthog982

Programmer
Jun 27, 2006
1
US
Hey, people -
We're using sendmail to run a couple of small, restrictive email groups that hide actual email addresses behind aliases. Right now, we're setting spammed to death and need a quick way to redirect incoming mail appropriately: does anyone know of some way to set up the access file to only allow inbound mail from accounts pointed to by the alias file and to reject everything else? My thanks in advance...
 
From what I have read I assume you want to only allow local services to handle mail.

To accomplish this do add this to your access file
Code:
localhost	OK
Rebuild the access DBM
Code:
makemap hash /etc/mail/access < /etc/mail/access
Restart the Sendmail daemon
Code:
# kill -HUP `head -n1 /var/run/sendmail.pid`

M. Brooks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top