plasma
03-25-2003, 10:33 PM
Hi all,
Would anyone know if it is possible to block local users from using the sendmail local mail exchange?
Thanks,
plasma
blizz
03-29-2003, 11:32 AM
Edit or create /etc/mail/access. The table itself uses email addresses, domain names, and network numbers as keys.
Here's an example of what you can put in the file.
abuser.com REJECT
localuser@spamer.com REJECT
Since /etc/mail/access is a database, you need to use makemap to create the database map from the text file. To do so, you'd type the following at the prompt:
makemap hash /etc/mail/access < /etc/mail/access
Be sure to kill and restart sendmail after generating the access.db file. It won't be read unless you restart sendmail.
http://lib.sarbc.ru/koi/SENDMAIL/anti-spam.txt