W dniu 2015-06-28 o 15:57, Axb pisze:
> On 28.06.2015 15:17, Marcin Mirosław wrote:
>> Hi!
>> I've got simple rule with eval:check_uridnsbl to make check against own
>> uribl. And notice that uribl strips subdomains from uri so instead
>> querying for sub4.sub3.sub2.sub1.org.myuribl spamassassin makes query
>> for sub1.org.myuribl. But I prefer to query for full domain, without any
>> striping. Doc says:
>> " Note that hostnames are stripped from the domain used in the URIBL
>> lookup"
>> How can I change this behavior in my rule?
> Using the URIBL plugin you can't unless you use
> util_rb_2tld / util_rb_3tld to create pseudo TLDs.
> 
>> And why URIBL strips not only hostname but all subdomains level above
> foo.tld?
> 
> efficiency - there are probablky few cases where you want to list the
> subdomain chain and not the parent domain and spend time chasing the
> subdomains.
> 
> if theres's a domain which you don't want to list but only its
> subdomains you can add it as "util_rb_2tld example.net" to a local rules
> file. Your URI bl will then contain subdomains.
> 
> or: look into the ASKDns plugin which allows you do all kinds of magic
> around DNS queries.


Thanks for tips. ASKDns looks good for me but I have no idea how build
rule for querying for all URIs inside email.
askdns LR_TEST  <what should I put here?> A /127\.0\.0\2/


Reply via email to