You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Simon Wilson via users <us...@spamassassin.apache.org> on 2025/04/05 00:59:23 UTC

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

OK, back to the purpose of this list - spamassassin! :)
Validity are planning to enforce limits (although how they will enforce remains unknown - timeouts? false -ves? false +ves?). Given that these DNS BLs are in the standard config, and I'm apparently exceeding the free threshold of 10,000 queries in 30 days I need to explore ways to reduce consumption.
From looking in 20_dnsbl_tests.cf, the Validity tests seem to be generating queries to sa-trusted.bondedsender.org, sa-accredit.habeas.com and bl.score.senderscore.com. From grep counting in my unbound logs I'm hitting about 240 queries a day on average to EACH of those (so if that is 700+ a day total then I can see how I'm exceeding 10k in 30 days). E.g. these hits from one email:
Apr 05 10:00:13 unbound[5946:1] info: 127.0.0.1 161.40.42.203.bl.score.senderscore.com. A IN NXDOMAIN 0.462141 0 129
Apr 05 10:00:13 unbound[5946:1] info: 127.0.0.1 161.40.42.203.sa-trusted.bondedsender.org. A IN NXDOMAIN 0.459313 0 70
Apr 05 10:00:13 unbound[5946:1] info: 127.0.0.1 161.40.42.203.sa-accredit.habeas.com. A IN NXDOMAIN 0.467782 0 65
If each set does 3 x queries we are limited to about 100 sets of queries a day to stay inside total 10,000 in 30 days free. I'd need about 25,000 a month I guess.
What's the consensus on how to manage this within spamassassin? 
 
Simon.


On Saturday, April 05, 2025 09:39 AEST, "Simon Wilson via users" <us...@spamassassin.apache.org> wrote:

 
Hi Andrew
Thank you, and Tom Bartel (on the mailop list), for replying. 
 * BTW I've never signed up for anything with Validity other than creating an account at validity.com/zone to validate my IPs (horrible website trying to find that again to check yesterday). * I'm a personal not corporate email system user, with about 300 inbound emails a day average across half a dozen active domains, running caching local DNS lookups. I've never actively added validity lookups, I assume these are default lookups baked into spamassassin's 20_dnsbl_tests.cf file. * Validity sent me a first email on 2nd April saying “if you wish to continue to access the Validity Zone File, a contract is required. If we are unable to secure this agreement prior to May 1, 2025, your account will be downgraded to the free edition as of May 1, 2025, which comes with limited access to Validity Zone File Access data” * Validity then sent a reminder on 4th April saying “Reminder – you’re currently receiving the paid edition of Validity’s Zone File Access (at no cost), but as of May 1st, 2025, we will no longer be able to provide this experience for free. If you wish to continue receiving IP Reputation, Validity Blocklist and Validity Certification Allowlist data, you will need to upgrade your account by May 1st, 2025. ” * When I replied with questions, the response was even less helpful: “Accounts with under 10,000 queries within a rolling 30-day window will still be free. Hopefully this means you are unaffected.” Still no usable information.
It took me a while to even work out what this was about, and then even longer to work out what in my config was calling the lookups.
The emails are alarmist, uninformative and unhelpful; what would be have been useful would have been something like: * We are continuing to provide a free service (10,000 queries in a rolling 30 days) * You are currently exceeding that threshold by… (insert real stats here on recipient's usage) * Your options are: * Reduce your usage to under 10,000 queries per 30 days (see xxx for tips on how to do that) * Stop using the validity service * Subscribe to a plan to continue as is (see yyy for details of plans available to you)
Little wonder the allergic reaction.
I echo Jaroslaw's comment on the mailop list: “If they now want to charge money for using that list, said motivation drops to near zero, and benefit, in monetary terms, may even become negative...”. Yep. For my volume of usage and with the costs I already incur to provide ‘free’ email to close family, adding extra costs here means using these BLs drops off the ROI.
Simon
BTW, if I'm doing more than 10k queries in a 30 day period, stats and info would be useful so I can work out why and do something about it.

 
On Saturday, April 05, 2025 01:25 AEST, "Andrew Fragias via users" <us...@spamassassin.apache.org> wrote:

 
Hi Simon,
 
I wanted to introduce myself as one of the Product Managers here at Validity and help clarify some of the confusion here.
Firstly, I wanted to point out that the free service will not be changing and we will be allowing 10,000 Queries within a rolling 30 day window, what will be changing is all those that are excessively exceeding that volume will no longer be able to consume at those extreme volumes unless a contract is in place by May 1st.
 
In regards to the notifications that are being sent out, they are being sent to all users on Accounts that are currently far exceeding a 10,000 query volume in a rolling 30 day window as they will be impacted by the enforcement of this limit moving forward and we wanted to provide notice of change to ensure all are prepared for this by either contracting directly with Validity or by reducing their query volume.
 
For your case I believe you are already in contact with a colleague of mine but if you require any additional information please reach to either them or me on Andrew.fragias@validity.com
 
Regards
Andrew Fragias


 
Disclaimer
The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

-- 
 Simon Wilson
M: 0400 121 116

-- 
 Simon Wilson
M: 0400 121 116

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by Giovanni Bechis <gi...@paclan.it>.
On Fri, Apr 04, 2025 at 10:23:30PM -0400, pgnd wrote:
> > Subject: Re: Ways to reduce calls to Validity BLs (was Validity  (return path blocklist))
> 
> fwiw, depending on how _much_ reduction is of interest,
> 
>   How to stop SpamAssassin from querying Validity RBLs
>    https://support.cpanel.net/hc/en-us/community/posts/30601239292183-How-to-stop-SpamAssassin-from-querying-Validity-RBLs
this is not the correct way to prevent SpamAssassin from querying an
rbl, it's just an hack.
Correct configuration is:
--------------------------------------------------------------
dns_query_restriction deny sa-trusted.bondedsender.org
dns_query_restriction deny sa-accredit.habeas.com
dns_query_restriction deny bl.score.senderscore.com
--------------------------------------------------------------
 Cheers
  Giovanni

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by pgnd <pg...@dev-mail.net>.
> Subject: Re: Ways to reduce calls to Validity BLs (was Validity  (return path blocklist))

fwiw, depending on how _much_ reduction is of interest,

  How to stop SpamAssassin from querying Validity RBLs
   https://support.cpanel.net/hc/en-us/community/posts/30601239292183-How-to-stop-SpamAssassin-from-querying-Validity-RBLs

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by Matija Nalis <mn...@voyager.hr>.
On Mon, Apr 07, 2025 at 12:39:58PM +0100, Nick Howitt wrote:
> > Maybe not a single-person host, but even a small company can cross this
> > limit easily. 10k e-mails in 30 days is 333 mails a day, which is quite
> > low number.
> Divide that by 3 as there are 3 queries per email and the limit is the
> number of queries and not emails, so 111 emails per day.

Yeah, and that is 111 mails TOTAL. Avarage spam/ham ratio is
supposedly about 2 worldwide, so if it is like that for you too, it
is more like 55 legitimate emails per day.

So, perhaps doable if you don't do email much, don't get much spam,
and you're not subscribed to any mailing lists nor newsletters, nor
do you have any automated e-mails enabled.

But if you actually use E-mail, it's more than likely going to shut
you off.


-- 
Opinions above are GNU-copylefted.

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by Nick Howitt <ni...@howitts.co.uk>.

On 07/04/2025 12:27, Matus UHLAR - fantomas wrote:
>> "Simon Wilson" <si...@simonandkate.net> writes:
>>
>>> My results (about 1800 inbound emails across 6 days) show:
>>>   * combination of postscreen and other upstream tests are catching 
>>> true baddies enough that the VALIDITY_RPBL does not catch any for me
>>>   * VALIDITY_SAFE and VALIDITY_CERTIFIED hit on about 5% of total 
>>> emails (96)
>
> On 05.04.25 10:09, Greg Troxel wrote:
>> Does anybody find incoming mail that is VALIDITY_SAFE but not
>> VALIDITY_CERTIFIED?
>
> I have checked a few servers I maintain, some of them seem to always 
> get matches for both, some don't.
>
>> I used to get such mail, and it was in part spam, I think because SAFE
>> allowed "single opt in" otherwise known as "list owner just added you
>> saying you somehow signed up".
>>
>> But now, I find that if either SAFE or CERTIFIED hits, both do.
>>
>>  I'd like to ask Andrew to adjust the Validity website to provide an
>>  easy to find, clear explanation of the semantics of the RBLs. I went
>>  to the URL in the config file and just got marketing text.
>>
>>  I'd like Andrew to explain if there is (still) any point to SAFE and
>>  CERTIFIED being separate.
>>
>>  Given the very low query limits, and others comments, it seems like SA
>>  should drop SAFE and RPBL.
>
> Most of hits I got were from RPBL.
> That one has positive score, so it's more a spam indicator.
>
>>  I'm unclear on SA doctrine for included lists, but the Validity list
>>  limits seem too low even for single-person personal sites. Perhaps
>>  now with blocked codes and a way that queries are disabled for a while
>>  if blocked, we're ok with that.
>
> Maybe not a single-person host, but even a small company can cross 
> this limit easily. 10k e-mails in 30 days is 333 mails a day, which is 
> quite low number.
Divide that by 3 as there are 3 queries per email and the limit is the 
number of queries and not emails, so 111 emails per day.
>
> After checking on multiple hosts I have disabled lookups on some of 
> them because they were producing _BLOCKED responses. 

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
>"Simon Wilson" <si...@simonandkate.net> writes:
>
>> My results (about 1800 inbound emails across 6 days) show:
>>   * combination of postscreen and other upstream tests are catching true baddies enough that the VALIDITY_RPBL does not catch any for me
>>   * VALIDITY_SAFE and VALIDITY_CERTIFIED hit on about 5% of total emails (96)

On 05.04.25 10:09, Greg Troxel wrote:
>Does anybody find incoming mail that is VALIDITY_SAFE but not
>VALIDITY_CERTIFIED?

I have checked a few servers I maintain, some of them seem to always get 
matches for both, some don't.

>I used to get such mail, and it was in part spam, I think because SAFE
>allowed "single opt in" otherwise known as "list owner just added you
>saying you somehow signed up".
>
>But now, I find that if either SAFE or CERTIFIED hits, both do.
>
>  I'd like to ask Andrew to adjust the Validity website to provide an
>  easy to find, clear explanation of the semantics of the RBLs.  I went
>  to the URL in the config file and just got marketing text.
>
>  I'd like Andrew to explain if there is (still) any point to SAFE and
>  CERTIFIED being separate.
>
>  Given the very low query limits, and others comments, it seems like SA
>  should drop SAFE and RPBL.

Most of hits I got were from RPBL.
That one has positive score, so it's more a spam indicator.

>  I'm unclear on SA doctrine for included lists, but the Validity list
>  limits seem too low even for single-person personal sites.   Perhaps
>  now with blocked codes and a way that queries are disabled for a while
>  if blocked, we're ok with that.

Maybe not a single-person host, but even a small company can cross this 
limit easily. 10k e-mails in 30 days is 333 mails a day, which is quite low 
number.

After checking on multiple hosts I have disabled lookups on some of them 
because they were producing _BLOCKED responses. 
-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
He who laughs last thinks slowest.

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by Bill Cole <sa...@billmail.scconsult.com>.
On 2025-05-27 at 09:54:38 UTC-0400 (Tue, 27 May 2025 15:54:38 +0200)
Vincent Lefevre <vi...@vinc17.net>
is rumored to have said:

> On 2025-05-08 09:44:18 -0400, Bill Cole wrote:
>> That is absolutely true but it is not *for me* a sufficient reason to 
>> remove
>> a longstanding rule. I would need to be convinced that the marginal
>> improvements in noise and privacy for most users greatly outweighs 
>> the risk
>> that removing the rules will quietly break useful local 
>> configurations.
>>
>> That's *NOT* a veto, because there is no formal vote being held. Any
>> committer COULD remove the Validity rules, although I would hope that 
>> would
>> get a broader discussion first. I'm not eager to put my name on that 
>> choice,
>> but if the users and other PMC members broadly want Validity gone, I 
>> won't
>> oppose it any further than this explanation.
>
> What's the current status?

The Validity rules have been given zero scores. This is consistent with 
how we treat the MAPS DNSBLs.


This allows people who have used the checks in meta rules to continue to 
do so.

>
> FYI, I've just noticed this issue with the Validity rules, though
> the RCVD_IN_VALIDITY_*_BLOCKED have appeared since May 2. Note
> that this is for a personal server (members of my family also have
> e-mail addresses, but for them, mail is redirected by postfix, thus
> SpamAssassin is not used).
>
> I looked at what messages had RCVD_IN_VALIDITY_RPBL (without _BLOCKED)
> in the past. Some of them are spam. But there is also quite a lot of
> legitimate mail: all from mailing-lists for my work, except a couple
> of messages from some user (sent via RENATER).
>
> So I'm wondering whether they are useful, and if they are, whether
> there is a way to use them conditionally (for instance, they are
> probably useless for messages from high-volume mailing-lists, which
> could also be part of the cause of reaching the limit).
>
> -- 
> Vincent Lefèvre <vi...@vinc17.net> - Web: <https://www.vinc17.net/>
> 100% accessible validated (X)HTML - Blog: 
> <https://www.vinc17.net/blog/>
> Work: CR INRIA - computer arithmetic / Pascaline project (LIP, 
> ENS-Lyon)


-- 
  Bill Cole
  bill@scconsult.com or billcole@apache.org
  (AKA @grumpybozo@toad.social and many *@billmail.scconsult.com 
addresses)
  Not Currently Available For Hire

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by Vincent Lefevre <vi...@vinc17.net>.
On 2025-05-08 09:44:18 -0400, Bill Cole wrote:
> That is absolutely true but it is not *for me* a sufficient reason to remove
> a longstanding rule. I would need to be convinced that the marginal
> improvements in noise and privacy for most users greatly outweighs the risk
> that removing the rules will quietly break useful local configurations.
> 
> That's *NOT* a veto, because there is no formal vote being held. Any
> committer COULD remove the Validity rules, although I would hope that would
> get a broader discussion first. I'm not eager to put my name on that choice,
> but if the users and other PMC members broadly want Validity gone, I won't
> oppose it any further than this explanation.

What's the current status?

FYI, I've just noticed this issue with the Validity rules, though
the RCVD_IN_VALIDITY_*_BLOCKED have appeared since May 2. Note
that this is for a personal server (members of my family also have
e-mail addresses, but for them, mail is redirected by postfix, thus
SpamAssassin is not used).

I looked at what messages had RCVD_IN_VALIDITY_RPBL (without _BLOCKED)
in the past. Some of them are spam. But there is also quite a lot of
legitimate mail: all from mailing-lists for my work, except a couple
of messages from some user (sent via RENATER).

So I'm wondering whether they are useful, and if they are, whether
there is a way to use them conditionally (for instance, they are
probably useless for messages from high-volume mailing-lists, which
could also be part of the cause of reaching the limit).

-- 
Vincent Lefèvre <vi...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by Bill Cole <sa...@billmail.scconsult.com>.
On 2025-05-07 at 11:19:47 UTC-0400 (Wed, 07 May 2025 11:19:47 -0400)
Greg Troxel <gd...@lexort.com>
is rumored to have said:

> Bill Cole <sa...@billmail.scconsult.com> writes:
>
> 1> On 2025-05-06 at 12:33:00 UTC-0400 (Tue, 06 May 2025 12:33:00 
> -0400)
>> Greg Troxel <gd...@lexort.com>
>> is rumored to have said:
>> [...]
>>> I think we have arrived at it being time to just drop all VALIDITY
>>> rules
>>> from the default rulset.  Even if people using them in meta rules 
>>> have
>>> to adjust (or add them back as local config).  The query limits are 
>>> so
>>> low that it is hard to imagine any significant fraction of
>>> spamassassin
>>> users being ok with them.
>>
>> In what way it is harmful for those rules to be left in place, given
>> that SA disables 'blocked' DNSBL servers when it encounters them.
>
> It spams the score reports for every mail.

Incorrect. Note what SA now does after hitting a BLOCKED rule.

> It provides advertising for a for-pay BL service.

Oh come on... Advertising in spam filtering logs and maybe headers? 
Quite a stretch.

Note that if any service provider started to really use any ASF 
trademarks (such as "SpamAssassin") in advertisement they would tangle 
with the ASF legal department.

> There's a security issue (below).
>
>> I'm not a fan of Validity and I don't even believe that they have 
>> been
>> honest here or have acted in good faith. But whether or not we change
>> the default rules   is not based on how trusted the Validity folks 
>> are
>> or even how useless their lists have become.
>
> What if we were in a situation where these BLs were not in the default
> ruleset.  Would we consider adding them?  I realize we need some
> hysteresis, but I can't see that we would be even close to adding, 
> given
> how things are.

I would absolutely oppose adding them now, if they had not already been 
there for many years.

>> I'm always eager to make changes that actually improve SA. I am much
>> more uneasy about making changes that are entirely cosmetic.
>
> There's also the security issue, that default RBLs get a feed of
> incoming delivery addresses vs receiving DNS querier.  Therefore I 
> think
> default RBLs shoudl only be allowed if they have a credible published
> privacy policy that says there is no logging of any association from
> querying IP and mail-sending IP.

That's not exactly nothing, but it is awfully close. The fact is that 
such associations are far from being useful, because any mail server 
will, in normal operation, see connections from everywhere and only ask 
about a fraction of connections due to DNS caching and -- for blocked 
systems -- SA's dynamic disablement.

> (I think it's ok to count queries from
> a querier, and above-the-line to have stats on senders.)
>
>
> To me, it comes down to thinking that there's no way this would get
> added now.

That is absolutely true but it is not *for me* a sufficient reason to 
remove a longstanding rule. I would need to be convinced that the 
marginal improvements in noise and privacy for most users greatly 
outweighs the risk that removing the rules will quietly break useful 
local configurations.

That's *NOT* a veto, because there is no formal vote being held. Any 
committer COULD remove the Validity rules, although I would hope that 
would get a broader discussion first. I'm not eager to put my name on 
that choice, but if the users and other PMC members broadly want 
Validity gone, I won't oppose it any further than this explanation.





-- 
  Bill Cole
  bill@scconsult.com or billcole@apache.org
  (AKA @grumpybozo@toad.social and many *@billmail.scconsult.com 
addresses)
  Not Currently Available For Hire

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by Greg Troxel <gd...@lexort.com>.
Bill Cole <sa...@billmail.scconsult.com> writes:

1> On 2025-05-06 at 12:33:00 UTC-0400 (Tue, 06 May 2025 12:33:00 -0400)
> Greg Troxel <gd...@lexort.com>
> is rumored to have said:
> [...]
>> I think we have arrived at it being time to just drop all VALIDITY
>> rules
>> from the default rulset.  Even if people using them in meta rules have
>> to adjust (or add them back as local config).  The query limits are so
>> low that it is hard to imagine any significant fraction of
>> spamassassin
>> users being ok with them.
>
> In what way it is harmful for those rules to be left in place, given
> that SA disables 'blocked' DNSBL servers when it encounters them.

It spams the score reports for every mail.

It provides advertising for a for-pay BL service.

There's a security issue (below).

> I'm not a fan of Validity and I don't even believe that they have been
> honest here or have acted in good faith. But whether or not we change
> the default rules   is not based on how trusted the Validity folks are
> or even how useless their lists have become.

What if we were in a situation where these BLs were not in the default
ruleset.  Would we consider adding them?  I realize we need some
hysteresis, but I can't see that we would be even close to adding, given
how things are.

> I'm always eager to make changes that actually improve SA. I am much
> more uneasy about making changes that are entirely cosmetic.

There's also the security issue, that default RBLs get a feed of
incoming delivery addresses vs receiving DNS querier.  Therefore I think
default RBLs shoudl only be allowed if they have a credible published
privacy policy that says there is no logging of any association from
querying IP and mail-sending IP.  (I think it's ok to count queries from
a querier, and above-the-line to have stats on senders.)


To me, it comes down to thinking that there's no way this would get
added now.

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by Matija Nalis <mn...@voyager.hr>.
On Tue, May 06, 2025 at 12:52:11PM -0400, Bill Cole wrote:
> In what way it is harmful for those rules to be left in place, given that SA
> disables 'blocked' DNSBL servers when it encounters them.

well, for one, it needlessly wastes postmaster's time analyzing and
trying to troubleshoot them for many SA installations (i.e. actively
managed ones)

> I'm not a fan of Validity and I don't even believe that they have been
> honest here or have acted in good faith. But whether or not we change the
> default rules   is not based on how trusted the Validity folks are or even
> how useless their lists have become.

Why not? 

That sounds exactly as a reason for changing what list SA uses and advertises.
"reputation by association" is a thing.

> I'm always eager to make changes that actually improve SA. I am much more
> uneasy about making changes that are entirely cosmetic.

How about at least setting their score to 0 (and mentioning it in
next release notes)?

That should:

- disable running the rules and tagging messages (and thus wasting
  time troubleshooting them), and at the same time

- would NOT be breaking meta rules that users might have made
  (it would just be like VALIDITY never detected a spam), and

- users could also EASILY set the scores to some non-zero number if
  they wanted to continue to using it

-- 
Opinions above are GNU-copylefted.

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by Bill Cole <sa...@billmail.scconsult.com>.
On 2025-05-06 at 12:33:00 UTC-0400 (Tue, 06 May 2025 12:33:00 -0400)
Greg Troxel <gd...@lexort.com>
is rumored to have said:
[...]
> I think we have arrived at it being time to just drop all VALIDITY 
> rules
> from the default rulset.  Even if people using them in meta rules have
> to adjust (or add them back as local config).  The query limits are so
> low that it is hard to imagine any significant fraction of 
> spamassassin
> users being ok with them.

In what way it is harmful for those rules to be left in place, given 
that SA disables 'blocked' DNSBL servers when it encounters them.

I'm not a fan of Validity and I don't even believe that they have been 
honest here or have acted in good faith. But whether or not we change 
the default rules   is not based on how trusted the Validity folks are 
or even how useless their lists have become.

I'm always eager to make changes that actually improve SA. I am much 
more uneasy about making changes that are entirely cosmetic.


-- 
  Bill Cole
  bill@scconsult.com or billcole@apache.org
  (AKA @grumpybozo@toad.social and many *@billmail.scconsult.com 
addresses)
  Not Currently Available For Hire

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by Greg Troxel <gd...@lexort.com>.
On April 5, I wrote:

>   I'd like to ask Andrew to adjust the Validity website to provide an
>   easy to find, clear explanation of the semantics of the RBLs.  I went
>   to the URL in the config file and just got marketing text.
>
>   I'd like Andrew to explain if there is (still) any point to SAFE and
>   CERTIFIED being separate.

Andrew: How is this going?  Is there any reason to hope that validity
will publish informaiton about the semantics of the lists?

>   Given the very low query limits, and others comments, it seems like SA
>   should drop SAFE and RPBL.
>
>   I'm unclear on SA doctrine for included lists, but the Validity list
>   limits seem too low even for single-person personal sites.   Perhaps
>   now with blocked codes and a way that queries are disabled for a while
>   if blocked, we're ok with that.

I find that my own server -- which has 2 email users and a properly set
up resolver -- is now being blocked.

I think we have arrived at it being time to just drop all VALIDITY rules
from the default rulset.  Even if people using them in meta rules have
to adjust (or add them back as local config).  The query limits are so
low that it is hard to imagine any significant fraction of spamassassin
users being ok with them.

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by Bill Cole <sa...@billmail.scconsult.com>.
Please note that "Reindl Harald <h....@thelounge.net>" has a bad 
habit of writing pointlessly confrontational, intentionally rude, and 
very often factually false replies to people posting here. That is why 
you will not find his posts actually allowed on the list (and on some 
other lists as well.)

On 2025-04-08 at 11:51:37 UTC-0400 (Tue, 8 Apr 2025 09:51:37 -0600)
Anne P. Mitchell, Esq. <am...@isipp.com>
is rumored to have said:

>> On Apr 8, 2025, at 9:39 AM, Reindl Harald <h....@thelounge.net> 
>> wrote:
[snip]



-- 
  Bill Cole
  bill@scconsult.com or billcole@apache.org
  (AKA @grumpybozo@toad.social and many *@billmail.scconsult.com 
addresses)
  Not Currently Available For Hire

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by "Anne P. Mitchell, Esq." <am...@isipp.com>.

> On Apr 8, 2025, at 9:39 AM, Reindl Harald <h....@thelounge.net> wrote:
> 
>> It IS part of the business model, which is why in more than 20 years we have never charged for queries or xfers, and we never will.   Even though senders pay us, we consider the receivers to be our customers, and our first responsibility is, and has always been, to them.  After all, isn't the whole purpose of a DNS cert list, and indeed Spam Assassin, to help keep email usable and to better identify good email versus spam so that receivers have to do a little bit less heavy lifting, and can focus their resources on actual spam?
>> That is the *entire* reason for our being
> 
> with the new limits your beeing has no longer any reason

We are not Validity, we are the other guys, we have no limits, never have, never will. We are represented in the rules by "IADB".

Anne

--
Anne P. Mitchell, Esq.
Email Law & Policy Attorney, Legislative Advisor
Author: Section 6 of the CAN-SPAM Act of 2003 (the Federal email marketing law)
CEO Institute for Social Internet Public Policy 
Creator of the term 'deliverability'; Co-Founder of the deliverability industry
Author: The Email Deliverability Handbook
Board of Directors, Denver Internet Exchange
Dean Emeritus, Cyberlaw & Cybersecurity, Lincoln Law School
Prof. Emeritus, Lincoln Law School
Chair Emeritus, Asilomar Microcomputer Workshop
Counsel Emeritus, eMail Abuse Prevention System (MAPS)



Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by "Anne P. Mitchell, Esq." <am...@isipp.com>.
> 
> On Apr 4, 2025, at 7:57 PM, Greg Troxel <gd...@lexort.com> wrote:
> 
> I have no recollection of signing up in any form, and have not gotten an
> email asking me to pay.  I actually had no idea these were pay/limited
> until your mail, as I figured free access to SAFE/CERTIFIED for relying
> parties was part of the business model of charnging "high volume email
> senders" to be certified as not spammers.  (To be fair, my analysis of
> 30 days of logs did not find any CERTIFIED or SAFE senders  as spam.)

It IS part of the business model, which is why in more than 20 years we have never charged for queries or xfers, and we never will.   Even though senders pay us, we consider the receivers to be our customers, and our first responsibility is, and has always been, to them.  After all, isn't the whole purpose of a DNS cert list, and indeed Spam Assassin, to help keep email usable and to better identify good email versus spam so that receivers have to do a little bit less heavy lifting, and can focus their resources on actual spam?

That is the *entire* reason for our being.

Anne

CEO ISIPP SuretyMail (the IADB Good Senders List, a/k/a "the other guys" :~) )

---
Anne P. Mitchell, Esq.
Email Law & Policy Attorney; Legislative Advisor
Author: Section 6 of the CAN-SPAM Act of 2003
CEO Institute for Social Internet Public Policy
Dean Emeritus, Cyberlaw & Cybersecurity, Lincoln Law School
Prof. Emeritus, Lincoln Law School
Chair Emeritus, Asilomar Microcomputer Workshop
Creator of the term 'deliverability'; Co-Founder of the deliverability industry
Counsel Emeritus, eMail Abuse Prevention System (MAPS)

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by Greg Troxel <gd...@lexort.com>.
"Simon Wilson" <si...@simonandkate.net> writes:

> My results (about 1800 inbound emails across 6 days) show:
>   * combination of postscreen and other upstream tests are catching true baddies enough that the VALIDITY_RPBL does not catch any for me
>   * VALIDITY_SAFE and VALIDITY_CERTIFIED hit on about 5% of total emails (96)

Does anybody find incoming mail that is VALIDITY_SAFE but not
VALIDITY_CERTIFIED?

I used to get such mail, and it was in part spam, I think because SAFE
allowed "single opt in" otherwise known as "list owner just added you
saying you somehow signed up".

But now, I find that if either SAFE or CERTIFIED hits, both do.

  I'd like to ask Andrew to adjust the Validity website to provide an
  easy to find, clear explanation of the semantics of the RBLs.  I went
  to the URL in the config file and just got marketing text.

  I'd like Andrew to explain if there is (still) any point to SAFE and
  CERTIFIED being separate.

  Given the very low query limits, and others comments, it seems like SA
  should drop SAFE and RPBL.

  I'm unclear on SA doctrine for included lists, but the Validity list
  limits seem too low even for single-person personal sites.   Perhaps
  now with blocked codes and a way that queries are disabled for a while
  if blocked, we're ok with that.

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by Simon Wilson via users <us...@spamassassin.apache.org>.
Interesting! Thanks Greg.
My results (about 1800 inbound emails across 6 days) show:
 * combination of postscreen and other upstream tests are catching true baddies enough that the VALIDITY_RPBL does not catch any for me * VALIDITY_SAFE and VALIDITY_CERTIFIED hit on about 5% of total emails (96)
I've now disabled the SA lookups for RPBL (thanks @ pgnd for the link with an easy way to do that), so that should drop my lookups by a third, taking me to about 15k per 30 days I think on average. As you mention, a combined answer would safe a huge amount of lookups.
My mail server is running RHEL8 with spamassassin 3.4.6 - so the BLOCKED tests are not there - but I'm not being blocked from what I can see, so that's not an issue for now.
Simon.


On Saturday, April 05, 2025 11:57 AEST, Greg Troxel <gd...@lexort.com> wrote:

 
"Simon Wilson via users" <us...@spamassassin.apache.org> writes:

> OK, back to the purpose of this list - spamassassin! :)
> Validity are planning to enforce limits (although how they will
> enforce remains unknown - timeouts? false -ves? false +ves?). Given
> that these DNS BLs are in the standard config, and I'm apparently
> exceeding the free threshold of 10,000 queries in 30 days I need to
> explore ways to reduce consumption.
> From looking in 20_dnsbl_tests.cf, the Validity tests seem to be
> generating queries to sa-trusted.bondedsender.org,
> sa-accredit.habeas.com and bl.score.senderscore.com.

I have no recollection of signing up in any form, and have not gotten an
email asking me to pay. I actually had no idea these were pay/limited
until your mail, as I figured free access to SAFE/CERTIFIED for relying
parties was part of the business model of charnging "high volume email
senders" to be certified as not spammers. (To be fair, my analysis of
30 days of logs did not find any CERTIFIED or SAFE senders as spam.)


Reading 20_dnsbl_tests.cf, I notice:

Indeed there are 3 tests, for 3 rules. (Interesting that it isn't a
combined answer.)

There are _BLOCKED rules, checking for 127.255.255.255, and code to
stop querying (I think) if that rule fires.

Looking in my logs, there are enough emails that I should be seeing a
somehwhat higher query volume than you, although if TTLs are reasonably
long a fair bit of mailinglist traffic may avoid lookups. Still, I'm
almost certainly over 10000/month.

I didn't react to 10000/month when you said it but having done the math,
finding my usage (definitely personal) over, and that it's only just
over 100 messages/day, it seems clear that 10K is way too low a limit
for a service to be included in the default ruleset. But maybe with an
overlimit response and SA configured to just stop after getting that
once, it's ok. I don't remember doctrine accomodating that but I
suspect I would have missed discussion depending on when.

Are you using SA 4, that should handle *_BLOCKED? If not, upgrading
seems in order. Or is that rule firing?


Looking at scores:

33 messages had both RCVD_IN_VALIDITY_CERTIFIED and RCVD_IN_VALIDITY_SAFE
seems like all ham

27 messages hit RCVD_IN_VALIDITY_RPBL
3 are ham, same host
24 were very high scoring and I can comfortably say all spam

I'm not sure how much it would have hurt my classification to skip these rules.

For your amusement, my custom scores, adjusted ad hoc over time. I
don't remember clearly, but I think I was getting spam that was hiting
SAFE (and you can see by the comments that SAFE seems to include "single
opt in").

score RCVD_IN_VALIDITY_SAFE 2 # was -2
score RCVD_IN_VALIDITY_CERTIFIED -2 # was -3
# VALIDITY's blocklist appears good.
score RCVD_IN_VALIDITY_RPBL (2) # was 1.3

Based on recent log analysis, I changed to:

score RCVD_IN_VALIDITY_SAFE -1 # was -2
#score RCVD_IN_VALIDITY_CERTIFIED -3 # was -3
 

-- 
 Simon Wilson
M: 0400 121 116

Re: Ways to reduce calls to Validity BLs (was Validity (return path blocklist))

Posted by Greg Troxel <gd...@lexort.com>.
"Simon Wilson via users" <us...@spamassassin.apache.org> writes:

> OK, back to the purpose of this list - spamassassin! :)
> Validity are planning to enforce limits (although how they will
> enforce remains unknown - timeouts? false -ves? false +ves?). Given
> that these DNS BLs are in the standard config, and I'm apparently
> exceeding the free threshold of 10,000 queries in 30 days I need to
> explore ways to reduce consumption.
> From looking in 20_dnsbl_tests.cf, the Validity tests seem to be
> generating queries to sa-trusted.bondedsender.org,
> sa-accredit.habeas.com and bl.score.senderscore.com.

I have no recollection of signing up in any form, and have not gotten an
email asking me to pay.  I actually had no idea these were pay/limited
until your mail, as I figured free access to SAFE/CERTIFIED for relying
parties was part of the business model of charnging "high volume email
senders" to be certified as not spammers.  (To be fair, my analysis of
30 days of logs did not find any CERTIFIED or SAFE senders  as spam.)


Reading 20_dnsbl_tests.cf, I notice:

  Indeed there are 3 tests, for 3 rules.  (Interesting that it isn't a
  combined answer.)

  There are _BLOCKED rules, checking for 127.255.255.255, and code to
  stop querying (I think) if that rule fires.

Looking in my logs, there are enough emails that I should be seeing a
somehwhat higher query volume than you, although if TTLs are reasonably
long a fair bit of mailinglist traffic may avoid lookups.  Still, I'm
almost certainly over 10000/month.

I didn't react to 10000/month when you said it but having done the math,
finding my usage (definitely personal) over, and that it's only just
over 100 messages/day, it seems clear that 10K is way too low a limit
for a service to be included in the default ruleset.  But maybe with an
overlimit response and SA configured to just stop after getting that
once, it's ok.  I don't remember doctrine accomodating that but I
suspect I would have missed discussion depending on when.

Are you using SA 4, that should handle *_BLOCKED?  If not, upgrading
seems in order.  Or is that rule firing?


Looking at scores:

  33 messages had both RCVD_IN_VALIDITY_CERTIFIED and RCVD_IN_VALIDITY_SAFE
    seems like all ham

  27 messages hit RCVD_IN_VALIDITY_RPBL
    3 are ham, same host
    24 were very high scoring and I can comfortably say all spam

I'm not sure how much it would have hurt my classification to skip these rules.

For your amusement, my custom scores, adjusted ad hoc over time.  I
don't remember clearly, but I think I was getting spam that was hiting
SAFE (and you can see by the comments that SAFE seems to include "single
opt in").

score   RCVD_IN_VALIDITY_SAFE           2       # was -2
score   RCVD_IN_VALIDITY_CERTIFIED      -2      # was -3
# VALIDITY's blocklist appears good.
score   RCVD_IN_VALIDITY_RPBL           (2)     # was 1.3

Based on recent log analysis, I changed to:

score   RCVD_IN_VALIDITY_SAFE           -1      # was -2
#score  RCVD_IN_VALIDITY_CERTIFIED      -3      # was -3