I’m noticing that check_uridnsbl() seems only to check the message body. Is there some way to make it check the headers as well?
In 25_uribl.cf, I have:
urirhssub URIBL_BLACK multi.uribl.com. A 2
body URIBL_BLACK eval:check_uridnsbl('URIBL_BLACK')
describe URIBL_BLACK Contains an URL listed in the URIBL blacklist
tflags URIBL_BLACK net
reuse URIBL_BLACK
First obvious thing I tried was changing ‘body’ to ‘full’ in the above. It continues to check only the body. In fact, changing it to ‘header’, it continues to check the body. I then read through the man page on URIDNSBL and it does clearly state a ‘body’ rule.
Is there some clever way to have a URIDNSBL rule check the header of a message as well? Or is there something else I can use separately that would look up a domainname in the header section of an email?
Michael Grant
In 25_uribl.cf, I have:
urirhssub URIBL_BLACK multi.uribl.com. A 2
body URIBL_BLACK eval:check_uridnsbl('URIBL_BLACK')
describe URIBL_BLACK Contains an URL listed in the URIBL blacklist
tflags URIBL_BLACK net
reuse URIBL_BLACK
First obvious thing I tried was changing ‘body’ to ‘full’ in the above. It continues to check only the body. In fact, changing it to ‘header’, it continues to check the body. I then read through the man page on URIDNSBL and it does clearly state a ‘body’ rule.
Is there some clever way to have a URIDNSBL rule check the header of a message as well? Or is there something else I can use separately that would look up a domainname in the header section of an email?
Michael Grant