On Fri, Jul 12, 2002 at 11:10:15AM -0700, Kirby Clements wrote:
> Spam is now killing me. I am managing just 3 domains, with email running
> through all of them.

I've cut out a vast majority of my spam by using the blackhole lists.
These lines are from /etc/mail/sendmail.mc:
FEATURE(`dnsbl', `relays.visi.com')dnl
FEATURE(`dnsbl', `bl.spamcop.net')dnl
FEATURE(`dnsbl', `relays.ordb.org')dnl

With these added, I drop 15-20% of my mail each week.  At work we use
just the visi and ordb addresses are we were targetted by an open relay
a few weeks ago that we caught.  We dropped about 300K messages before
we had the firewall blocks in place.  That relay is now closed.

> I understand the /etc/mail/access directory with the allow and deny files
> are the way to prevent this. Can anyone provide an example of how the deny
> file is used? I want to just use the deny file, without messing with the
> allow file...this is possible I think. I intend to block the spam by writing
> the full host names of the machines, or just their IP's, or mail servers of
> these companies.

Here's my /etc/mail/access file.

# Check the /usr/share/doc/sendmail-8.11.2/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.2/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
ewilts.org                      RELAY
192.168                         RELAY
[EMAIL PROTECTED]          REJECT 
trafficmagnet.net               REJECT
tangfeng.org                    REJECT
[EMAIL PROTECTED]           REJECT
4optinonly.com                  REJECT
optinunlimited.com              REJECT

This should get you going in the right direction.  

Cheers,
        .../Ed
-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to