Hi all,
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
mean in the same way that the SURBL rules do - for example if a spam
contains a URL listed in SURBL, the following is shown in the spam report
within the email's headers:

    8.0 URIBL_SBL Body contains URL listed in the SpamHaus SURBL blacklist
    [URIs: baddomain.com]

Note the domain itself is listed on the 2nd line. That's what I'd like to
have for my own custom rule - the domain listed on the 2nd line too - so
that I can see exactly which blacklisted domain of mine has triggered my
custom rule (eg. baddomain1.com, baddomain2.com or whatever).

Is this possible to do with SA?

Thanks,
Jeremy





Reply via email to