Re: Why there is no `reject_rbl_sender` restriction?

2017-08-14 Thread Martin Jiřička
Hello again, I discovered possibility of milters. So I have created a milter that performs the restriction I wanted. If someone would be interested, it is here: https://github.com/mjiricka/MailFrom_DNSBL_Milter So far results are as expected – all spam filtered, zero false-positives! :) Martin

Re: Why there is no `reject_rbl_sender` restriction?

2017-08-05 Thread Martin Jiřička
> What I was trying to say is that (if there was 1 A record per domain), the > number of spamhaus lookups would increase two times. > If you check MX records, number of lookups can increase even more. I am afraid I still do not understand how you count it :-( But it does not matter, thank you

Re: Why there is no `reject_rbl_sender` restriction?

2017-08-04 Thread Martin Jiřička
> It seems natural (for me at least) to introduce a new map type > dnsbl: that maps those IP addresses to an action. That would be amazing! If I get it right this would also deprecate e.g. `reject_rhsbl_client` and `reject_rbl_client`. As a Postfix novice I would appreciate the reduction of

Re: Why there is no `reject_rbl_sender` restriction?

2017-08-03 Thread Martin Jiřička
> I'm not talking about DNS lookups, but about DNSBL lookups. Yes, I did interchanged them, pardon. > You ask each dnsbl for client IP, now you will ask them for each A or MX > record. That means, number of DNSBL lookups will increase ad least two times > (for each dnsbl you already query).

Re: Why there is no `reject_rbl_sender` restriction?

2017-08-03 Thread Martin Jiřička
> Did you mean: reject_rhsbl_sender (i.e. reject the sender domain)? > That already exists. The `reject_rhsbl_sender` checks whether MAIL FROM domain is listed under rbl_domain. And I would like to have `reject_rbl_sender` that would check whether reversed sender domain is listed under

Re: Why there is no `reject_rbl_sender` restriction?

2017-08-03 Thread Martin Jiřička
> Doing it on MX would require dnsbl lookups for each MX server in all > received mail. > That would massively increase amount of dnsbl lookups. I do not know if I would call it "massively". I already do `reject_unknown_client_hostname` check and 4 other dnsbl lookups. So I would do another 2 in

Why there is no `reject_rbl_sender` restriction?

2017-08-03 Thread Martin Jiřička
My best wishes, Martin Jiřička