> I've created a custom SA rule for myself to block spams that contain URLs
> which aren't yet listed by SURBL or URIBL. My rule looks like this:
>
> uri          BAD_URI    /baddomain1\.com|baddomain2\.com|baddomain3\.com/i
> describe BAD_URI    Body contains blacklisted URL
> score     BAD_URI    5.0
>
> What I'd like to know is this: is it possible to have the rule actually
list
> the domain name it triggered upon, in the SA rules summary in the headers?
I

Not without creating a plugin or eval type rule.  In standard rules there is
no way that you can do text substitution in the description part.  The
simplest way to get what you want would be to create a separate rule for
each domain, and give it its own description.

You should be submitting these bad domains to SpamCop or other method that
feeds them into the SURBL stream rather than just writing local rules
against them.

        Loren

Reply via email to