Re: Is there a way to perform selective full uri rbl lookups?

2018-02-19 Thread Tobi
Benny, Maybe I don't see your point clearly ;-) But I don't want to whitelist URIHOSTS. Have this two rules now urirhssub URIBL_DOMAIN my.rbl.tld. A 127.0.0.16 bodyURIBL_DOMAIN eval:check_uridnsbl('MY_URIBL_DOMAIN') askdns URIBL_HOST _URIHOSTS_.my.rbl.tld. A

Re: Is there a way to perform selective full uri rbl lookups?

2018-02-19 Thread Benny Pedersen
Tobi skrev den 2018-02-19 14:43: no need for this as that case is covered by sa urirhssub queries. I needed a way to perform www.sub.domain.tld AND domain.tld queries of the uri www.sub.domain.tld would you like to test? blacklist _URIDOMAINS_ whitelist _URIHOSTS_ :=) if you score

Re: Is there a way to perform selective full uri rbl lookups?

2018-02-19 Thread Tobi
Am 19.02.2018 um 14:25 schrieb Benny Pedersen: > Tobi skrev den 2018-02-19 11:45: > add one more askdns to compensate on _URIDOMAINS_ > no need for this as that case is covered by sa urirhssub queries. I needed a way to perform www.sub.domain.tld AND domain.tld queries of the uri

Re: Is there a way to perform selective full uri rbl lookups?

2018-02-19 Thread Tobi
Am 19.02.2018 um 15:04 schrieb Benny Pedersen: > > yep got it, so if you only use URIHOSTS how do you know it does not miss > in URIDOMAINS ? I do not only use URIHOSTS but also a rhs lookup for just the domain. So I have both bases covered :-)

Re: Is there a way to perform selective full uri rbl lookups?

2018-02-19 Thread Benny Pedersen
Tobi skrev den 2018-02-19 14:45: no need for this as that case is covered by sa urirhssub queries. I needed a way to perform www.sub.domain.tld AND domain.tld queries of the uri www.sub.domain.tld against by own rbl. yep got it, so if you only use URIHOSTS how do you know it does not miss in

Re: Is there a way to perform selective full uri rbl lookups?

2018-02-19 Thread Tobi
Am 19.02.2018 um 14:25 schrieb Benny Pedersen: > Tobi skrev den 2018-02-19 11:45: > add one more askdns to compensate on _URIDOMAINS_ > no need for this as that case is covered by sa urirhssub queries. I needed a way to perform www.sub.domain.tld AND domain.tld queries of the uri

Re: Is there a way to perform selective full uri rbl lookups?

2018-02-19 Thread Benny Pedersen
Tobi skrev den 2018-02-19 11:45: askdns MY_FULL_TEST_URIHOSTS_.my.rbl.tld A 127.0.0.4 which fires fullhost lookups according to spamassassin -D its just that spammers would like you to do this :=) i wont tell why its helping spammers add one more askdns to compensate on

Re: Is there a way to perform selective full uri rbl lookups?

2018-02-19 Thread Tobi
of an uri? > > Cheers > > Tobi > > - Originale Nachricht - > Von: Daniele Duca <d...@staff.spin.it> > Gesendet: 17.02.18 - 09:04 > An: jahli...@gmx.ch, users@spamassassin.apache.org > Betreff: Re: Is there a way to perform selective full uri rbl looku

Re: Is there a way to perform selective full uri rbl lookups?

2018-02-17 Thread Tobi
gmx.ch, users@spamassassin.apache.org Betreff: Re: Is there a way to perform selective full uri rbl lookups? > Hello, > > I do full uris dns lookups through a simple SA plugin. The core lines in > the function are: > > sub check_fulluris { >     my ($self, $msg) = @_

Re: Is there a way to perform selective full uri rbl lookups?

2018-02-17 Thread Daniele Duca
Hello, I do full uris dns lookups through a simple SA plugin. The core lines in the function are: sub check_fulluris {     my ($self, $msg) = @_;     my $pms = $msg->{permsgstatus};     my $body = $msg->{msg}->get_pristine_body();     foreach my $this_url (uniq( $body =~