Musing with mailcow since september and more or less it is working, but all these little settings are killing me: I learn the hard way, and it is really the hard way.

Well, I use grafana for observabilty and I observe everthing. I wrote some code to scrap the mailcow api, and it is fine, now I observe the mailboxes, the queue, the quarantine and I am able to add some alerts, in case…

Today I would like to observe rspamd. In mailcow settings it is possible to add a password to the app and then manage rspamd : http://mymailcow.random.io:40080/rspamd/

But I want to get access to the rsqpamd API. When I use the stat endpoint : http://mymailcow.random.io:40080/rspamd/stat

all I get is this json :

{
"error": "Unauthorized"
}

If I curl it:

 curl -u "admin:mypassword" http://localhost:40080/rspamd/stat
{"error":"Unauthorized"}

So, is there any mailcow guru here that can help me to gain access to the rspamd api?

Thanks in advance, rr

No one is typing

Have something to say?

Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!