Open G2G2G2G opened 2 days ago
rspamd is not developed by mailcow You may ask @ https://github.com/rspamd/rspamd
Who said it was? Are you claiming rspamd team developed mailcow's alias system with the two buttons I screenshotted?
Can you reopen this since it has nothing to do with adding anything to rspamd and you just didn't read it? Or do you really want me to bother rspamd devs and have them send me back here just to prove to you that adding stuff to mailcow's UI isn't part of their job? @MAGICCC
Maybe I misunderstood you yes. Just to confirm where do you want to have a button? On https://mail.example.org/rspamd/#history or somewhere like https://mail.example.org/debug?
Yea I wasn't sure it was possible that is why I asked how they are added on the "mailcow alias page"
and my motivation is because rspamd kinda sucks to use..
But yea those pages you linked, the rspamd one does not have it that is for them to add but they won't. I asked like 5+ years ago.
On the mailcow page if it is possible I think it should be added:
maybe a second button? "mark as spam" or "take action" and it pops up with mark spam / mark ham
maybe like this?
<td>
<div class="badge fs-6 bg-danger">Mark Spam</div>
<div class="badge fs-6 bg-success mt-1 w-100">Mark Ham</div>
</td>
I have these same people spamming the server for 2 years, like 1 email per week. They're pretty similar emails however the domain changes.
I have tried to "learn spam" in the rspamd idk if I am using it correctly or not. There doesn't seem to be any tutorials at all so if it's that "straight forward" I would guess it is working? But it doesn't send them to spam lol... I've "taught" the emails to it many times. I haven't tried the alias ones because they send to random people on our company and some of the emails are legit -.-
So I'd just like to have a button to manually do it.
I copied some of this from the other admin button so it is not fully correct
<td>
<a class="btn btn-sm btn-xs-half d-block d-sm-inline btn-success dropdown-toggle show" data-bs-toggle="dropdown" href="#" aria-expanded="true">no action</a>
<ul class="dropdown-menu show" style="position: absolute; inset: 0px auto auto 0px; margin: 0px; transform: translate3d(1096px, 761px, 0px);" data-popper-placement="bottom-start">
<li>
<a class="dropdown-item" data-action="edit_selected" data-id="admins" data-api-url="edit/admin" data-api-attr="{"active":"1"}" href="#">
<span class="badge bg-danger">Mark Spam</span>
</a>
</li>
<li>
<a class="dropdown-item" data-action="edit_selected" data-id="admins" data-api-url="edit/admin" data-api-attr="{"active":"0"}" href="#">
<span class="badge bg-success">Mark Ham</span>
</a>
</li>
</ul>
</td>
but it has a nice outcome
Summary
So I've noticed in the alias category you have a button to auto teach rspamd that something is spam?
Motivation
Rspamd is pretty bad interface for teaching what is good/bad there is no easy button you have to copy the email source into it. Not easy for many users system
Additional context
I think just on the logs page for rspam if you have a button that just says "this is spam" and it auto-teaches rspamd that message?