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.

Reply via email to