Re: Securing Sendmail 8.11.6-23 from spammers

Tony Nugent <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Organization Linux Works
Message-ID <[email protected]>
On Wed Mar 05 2003 at 15:51, gti617 wrote:

> OK lets fix this up a little. It seems that sendmail has no access to
> /etc/mail/access file.

Huh?

> When I type the changes in the following cases; from REJECT to RELAY. And
> creating the access.db file. And restarting sendmail.

What you have below _needs_ to be "RELAY".

> I still can send e-mail to myself. Any comments! Thanks

Can, or cannot?

> # 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)

(did you do that?)

> localhost.localdomain RELAY
> localhost RELAY
> 127.0.0.1 RELAY

Now start adding domains, IPs and networks for whom you will allow
relay.  For example, if you have a private LAN on 192.168.0.0/24
and/or an entire domain to relay for, then you need to add this:

192.168.0	RELAY
.mydomain.com	RELAY

Everything else will be rejected.

Ahh, you _do_ have access defined in your sendmail.mc (and
sendmail.cf) file, don't you?

I've been using sendmail for years to relay email out of many
networks, never had a problem (with spammers, or with access denied
from otherwise authorised places).  You seem to be doing something
fundamentally wrong.

Cheers
Tony
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.