sendmail_spam_blocking

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Subject: Re: [6.1] Sendmail and spam filter
From: Glen Lee Edwards <glenlee@perluser.net>
Date: Wed, 13 Sep 2000 15:16:02 -0500 (CDT)


On Wed, 13 Sep 2000, Glen Lee Edwards wrote:

>Would someone refresh my memory as to how to use sendmail to block spam
>mail from getting in?  I tried to use the same configuration I had on 5.2,
>using 6.1 now, but it isn't working.
>
>I set up sendmail.mc as such:
>
>LOCAL_CONFIG
>Kjunk hash -a@JUNK /etc/mail/deny
>
>This produced the following lines in sendmail.cf
>
>CPREDIRECT
>
>Kjunk hash -a@JUNK /etc/mail/deny
>
>Then I set up /etc/mail/deny as such:
>
>Friend@public.com       571 You have no friends here.
>
>It isn't working.  Spam mail is getting through. I want it to bounce back
>to the sender without getting delivered here. Any suggestions?

Cancel this message.  I found out that you can accomplish the same by
modifying /etc/mail/access.

Friend@public.com	REJECT		

or

Friend@public.com	550 You have no friends here

Glen



>

===


the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu