[afnog] I am getting porn spam emails

David Njuki njukey at gmail.com
Wed Dec 21 15:39:56 UTC 2016


>
> > I am getting porn spam mail everyday in my mail server. Each email
> > are from different email addresses and domains. I have tried
> > creating a filter, and I have tried reporting them as spam. I need
> > to know how to stop receiving them.
>
> There is no perfect solution against spam. To avoid *reading* it, the
> best solution is a bayesian filter that you train. I use bogofilter
> and I'm very happy with it (very few false positives and few false
> negatives). But if you want to avoir *receiving* spam (because you
> want to save not only human attention, but also bandwidth), this is
> more complicated. Things that can help:
>
> * reputable black lists. I say "reputable" because many lists are
> badly managed. (I use mostly two Spamhaus lists, sbl-xbl.spamhaus.org
> and xbl-xbl.spamhaus.org.)
>
> * greylisting (in my experience, it kills half of the spam before it
> reaches your email server (RFC 6647 is a good reading).  Some people
> will claim it is useless because the spammers will adapt. Let them
> trust their theory, I trust my practice.
>

As an addition to greylisting, also make sure you postfix does sender
verification at smtp time. Many spammers fail this test.

Check how to enable here http://www.postfix.org/ADDRESS_VERIFICATION_README.
html#sender_always
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.afnog.org/pipermail/afnog/attachments/20161221/cfaaeefc/attachment.html>


More information about the afnog mailing list