On 11/08/2016 07:49 AM, Michael Hallager wrote:
I have deployed Spam Assassin between Postfix and Dovecot. It works
except for a weird problem.

I use a custom URI RBL in addition to the default ones. This works with
a test URL in the body of an email message, however with real spam URL's
- which are listed with other URI RBL's - Spam Assassin is scoring on
those and not on the custom one.

Local configuration:

urirhssub       URIBL_CUSTOM     rbl.myrbl.tld. A 2

Note: I am not sure which of the following is correct but they both work
and don't work as described above.

#body           URIBL_CUSTOM     eval:check_uridnsbl('URIBL_BLACK_NS')
body            URIBL_CUSTOM     eval:check_uridnsbl('URIBL_CUSTOM')

describe        URIBL_CUSTOM     Body contains a URL listed in our URI RBL
tflags          URIBL_CUSTOM     net
score           URIBL_CUSTOM     5.0

I am not sure what this does so I commented it out.
#reuse          URIBL_CUSTOM

The format of the RBL zone records is:

spammyhost.spamdomain.tld.rbl.myrbl.tld
A
127.0.0.2

To reiterate - it does work, but not all the time.

Help much appreciated, thanks.

URIBL plugin does lookups for spamdomain.tld

spammyhost will only be looked up if you make a 2tld definition for spamdomain.tld which seldom makes sense unless you see a large amount of spam and legit subdomain URIs as for example in SA's

util_rb_2tld tumblr.com


Reply via email to