tlweb
Verified User
Hi,
First of all rspamd is great. It blocks spam a million times better than spamassassin.
But there are some quirks using it in DA. And i also found a bug i think.
***BUG***
If i setup custom blacklist filters through the spamassassin settings the config file does not get generated correctly because i end up with this err
no actions in settings: exampleuser_blacklist
Now i dove into the configuration file in /etc/rspamd/user.d/exampleuser.conf
I found that it generates this:
When i change it to this it works fine:
**Quirks***
It would be nice if the system could detect if rspamd or spamassin is enabled and would rename the menu item accordingly. Also the possibilities in blacklisting are somewhat "off" to what rspamd needs or can use.
This means i can add *@*domain.com even when rspamd is active. It doesn't throw an error saying this is not possible and it just creates a faulty config file.
Also inserting domain.com as an alternative doesn't work through the spamassassin since it needs an @ to be able to save it. Maybe DA could just strip anything before the last asterix to make sure at least the config will work as best as it can.
Kind regards,
Tom
First of all rspamd is great. It blocks spam a million times better than spamassassin.
But there are some quirks using it in DA. And i also found a bug i think.
***BUG***
If i setup custom blacklist filters through the spamassassin settings the config file does not get generated correctly because i end up with this err
no actions in settings: exampleuser_blacklist
Now i dove into the configuration file in /etc/rspamd/user.d/exampleuser.conf
I found that it generates this:
Code:
exampleuser_blacklist {
priority = high;
rcpt = "[email protected]"
rcpt = "@exampleuser.nl"
rcpt = "@exampleuser.nl"
from = "@ourfine.tech"
action {
reject = -999;
}
}
When i change it to this it works fine:
Code:
exampleuser_blacklist {
priority = high;
rcpt = "[email protected]"
rcpt = "@exampleuser.nl"
rcpt = "@exampleuser.nl"
from = "@ourfine.tech"
apply {
actions {
reject = -999;
}
}
}
**Quirks***
It would be nice if the system could detect if rspamd or spamassin is enabled and would rename the menu item accordingly. Also the possibilities in blacklisting are somewhat "off" to what rspamd needs or can use.
This means i can add *@*domain.com even when rspamd is active. It doesn't throw an error saying this is not possible and it just creates a faulty config file.
Also inserting domain.com as an alternative doesn't work through the spamassassin since it needs an @ to be able to save it. Maybe DA could just strip anything before the last asterix to make sure at least the config will work as best as it can.
Kind regards,
Tom