Blacklisting a domain

412 views
Skip to first unread message

Dave Jones

unread,
Apr 12, 2018, 6:39:12 PM4/12/18
to rsp...@googlegroups.com
How do you blacklist a sending domain without depending on spf, dkim or dmarc?  This documentation seems to imply that one of them has to fail:


I have some smart spammers that have everything setup properly with spf, dkim, and dmarc but I don't care about any of that.  I just want to block some senders:

whitelist {
    rules {
        BLACKLIST {
            blacklist = true;
            description = "Mail comes from known bad domain";
            domains = "/etc/rspamd/local.d/blacklist.inc";
            score = 7.200000;
        }
    }
}


local.d/blacklist.inc
===============

What am I doing wrong?  These domains are not hitting this BLACKLIST symbol?

Thanks,
Dave

Vsevolod Stakhov

unread,
Apr 13, 2018, 10:24:11 AM4/13/18
to Dave Jones, rsp...@googlegroups.com
I might be wrong, but whitelist module is specifically created to track
spf/dkim/dmarc failures/hits. For generic white or blacklisting one should
use multimap module.
> --
> You received this message because you are subscribed to the Google Groups
> "rspamd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rspamd+un...@googlegroups.com.
> Visit this group at https://groups.google.com/group/rspamd.



Reply all
Reply to author
Forward
0 new messages