Moin,

> Please, can you provide example of HTTP response?

Sure!

https://stalemarc.measurement.network/api/checkDomain.php?key=example.com

-> 200: All RUA/RUF are undeliverable
-> 404: No data found OR at least one RUA/RUF is deliverable (but not 
        necessarily all OR no data available (yet)

https://stalemarc.measurement.network/api/[email protected]

-> 200: RUA is undeliverable
-> 404: RUA is deliverable OR no data is available (yet)

This is based on what rspamd seems to be working well with for the
config above.

In addition, there is still a "full" script giving back json:

https://stalemarc.measurement.network/api/checkRuaRuf.php?rua=export
-> Returns a plain list of all undeliverable RUAs

https://stalemarc.measurement.network/api/checkRuaRuf.php?doain=export
-> returns a plain list of all domains where _at least_ one RUA is 
   undeliverable.

https://stalemarc.measurement.network/api/checkRuaRuf.php?domain=example.com
-> 
{
  "broken_count": 1,    # Number of _broken_ RUAs for the pol.dom
  "domain_found": true, # If the domain is already known/in the DB
  "domain_added": false # If the domain was added (unknown+has DMARC)
}

https://stalemarc.measurement.network/api/[email protected]
-> Returns json data with more info; Format:

{
  "address": "[email protected]",
  "undeliverable": (true|false),
  "error": "<URL of the observed NDR>",
  "created_at": "2025-11-06 18:14:19",
  "last_checked_at": "2025-11-06 00:01:35",
  "last_updated_at": "2025-11-08 17:19:11"
}

There are still some performance things I'd like to add; Also, i threw
this together during the IETF meeting (after the rspamd patch came out;
Thanks again for that! Really appreciated how fast that was.).

Things I still want to do:

- Provide an RBL compatible DNS interface
- Provide a bit more data for policy domain queries
- Write proper documentation ;-)
- Clean up the code a bit and make it public (3c BSDL likely)

With best regards,
Tobias

-- 
Dr.-Ing. Tobias Fiebig
T +31 616 80 98 99
M [email protected]
_______________________________________________
mailop mailing list
[email protected]
https://list.mailop.org/listinfo/mailop

Reply via email to