RE: Securing Sendmail 8.11.6-23 from spammers
gti617 <[email protected]>
| Newsgroups | gmane.linux.redhat.release.enigma |
|---|---|
| Message-ID | <[email protected]> |
You are right. Life is too short! Yes I did. After I did all the changes to /etc/mail/access (REJECT / RELAY), I recreate the access.db; using the hash command (makemap hash /etc/mail/access < /etc/mail/access ). And finally, I even restarted the server all together. Thanks -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of Gerry Doris Sent: Wednesday, March 05, 2003 4:39 PM To: [email protected] Subject: Re: Securing Sendmail 8.11.6-23 from spammers 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 _______________________________________________ enigma-list mailing list [email protected] https://listman.redhat.com/mailman/listinfo/enigma-list