Re: Securing Sendmail 8.11.6-23 from spammers
Gerry Doris <[email protected]>
| Newsgroups | gmane.linux.redhat.release.enigma |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 5 Mar 2003, gti617 wrote: > OK lets fix this up a little. It seems that sendmail has no access to > /etc/mail/access file. > When I type the changes in the following cases; from REJECT to RELAY. And > creating the access.db file. And restarting sendmail. > I still can send e-mail to myself. Any comments! Thanks > CASE 1 > # Check the /usr/share/doc/sendmail-8.11.6/README.cf file for a description > # of the format of this file. (search for access_db in that file) > # The /usr/share/doc/sendmail-8.11.6/README.cf is part of the sendmail-doc > # package. > # > # by default we allow relaying from localhost... > localhost.localdomain REJECT > localhost REJECT > 127.0.0.1 REJECT > CASE 2 > # Check the /usr/share/doc/sendmail-8.11.6/README.cf file for a description > # of the format of this file. (search for access_db in that file) > # The /usr/share/doc/sendmail-8.11.6/README.cf is part of the sendmail-doc > # package. > # > # by default we allow relaying from localhost... > localhost.localdomain RELAY > localhost RELAY > 127.0.0.1 RELAY I'm not sure what you're trying to say? After you made the changes to /etc/mail/access did you recreate the access.db file? It's a hash. You need to do makemap hash access < access from within the /etc/mail directory. You don't need to restart sendmail for this to "take". -- Gerry "The lyfe so short, the craft so long to learne" Chaucer