Open shoulders opened 1 week ago
Instead of that message, couldn't we just block rules with invalid names from being added?
Would be better + a link maybe.
But I am sure @iliajie said it would be difficult because of UI limitations.
I think what Jamie meant was that we can implement server-side validation and simply throw an error if a field isn’t set correctly or is left empty... We don’t actually need to do client-side validation.
Background
The issue
You are able to make and submit rules that do no follow the required convention:
https://spamassassin.apache.org/full/3.1.x/doc/Mail_SpamAssassin_Conf.html
Proposed solution
I would like to add the following text (from the SpamAssassain Docs) to the top of the
Header and body tests
page to help use the correct syntax.This will be a useful stop gap because there is no form validation which is what users would expect.