[EMAIL PROTECTED] wrote:
Hi,
I use fetchmail and pine for email. lately the volume
and offensiveness of spam has gotten out of hand. Where
do I start to figure out how to filter it so I don't have
to see it. I just need to know where to start looking for
options to deal with this problem so I can start learning
what I need to do.
                 Thanks
                 Linda Hanigan


I run my own mail server at home (have dsl and the isp doesn't restrict me at all) and I get an average of 1 spam a day that makes it through my system. I use only sendmail features to keep them out before they even send the mail. Here's what I do.

In sendmail.mc I use the following entries:

FEATURE(`dnsbl', `sbl.spamhaus.org', `"Email blocked using spamhaus.org - host="$&{client_addr}""')dnl
dnl FEATURE(`accept_unresolvable_domains')dnl
R$* $: < $&{client_resolve} >
R<FORGED> $#error $@ 4.7.1 $: "450 Delivery denied. IP name possibly forged " $&{client_name}
R<FAIL> $#error $@ 4.7.1 $: "450 Delivery denied. IP name lookup failed " $&{client_name}


These entries block mail from sites listed in spamhaus.org which has proven to me to be very reliable, block mail from sites that try to use fake host names, and block mail from sites that don't have DNS entries.

This prevents about 90% of the spam. For those that do make it through, I check the mail headers and decide whether or not to ban the domain though the /etc/mail/access file.


-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to