Summary | invalid sieve script is generated when spam filter is enabled |
Queue | Ingo |
Queue Version | 3.2.16 |
Type | Bug |
State | Not A Bug |
Priority | 2. Medium |
Owners | |
Requester | jiri.slezka (at) slu (dot) cz |
Created | 12/08/2017 (2764 days ago) |
Due | |
Updated | 01/22/2018 (2719 days ago) |
Assigned | 01/22/2018 (2719 days ago) |
Resolved | 01/22/2018 (2719 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
settings in the application configuration), and 2) we don't catch
this properly. Did you get errors in the Horde log file?
we have there this configuration
$conf['storage']['params']['driverconfig'] = 'horde';
$conf['storage']['driver'] = 'sql';
$conf['rules']['userheader'] = false;
$conf['spam']['compare'] = 'string';
which unfortunately made horde to display numeric spam level in Ingo...
Correctly generated config is
$conf['storage']['params']['driverconfig'] = 'horde';
$conf['storage']['driver'] = 'sql';
$conf['rules']['userheader'] = false;
$conf['spam']['header'] = 'X-Spam-Level';
$conf['spam']['compare'] = 'numeric';
which works ok.
Sorry, for this confusion...
Priority ⇒ 2. Medium
State ⇒ Feedback
settings in the application configuration), and 2) we don't catch this
properly. Did you get errors in the Horde log file?
Priority ⇒ 3. High
New Attachment: ingo_spam_filter.png
Patch ⇒ No
Milestone ⇒
Summary ⇒ invalid sieve script is generated when spam filter is enabled
Type ⇒ Bug
State ⇒ Unconfirmed
Queue ⇒ Ingo
when I try to enable Spam filter in Ingo, I get this error
Script not updated: There was an error activating the script. The
driver said: ingo: line 5: error: unknown test 'No' (only reported
once at first occurrence). ingo: error: validation failed.
sieve script is generated in this way
1: # Sieve Filter
2: # Generated by Ingo (http://www.horde.org/apps/ingo/)
(12/08/2017, 12:53)
3: require ["fileinto", "vacation", "regex"];
4: # Spam Filter
5: if No strings specified {
6: fileinto "Junk";
7: stop;
8: }
problem seems to be the string "No strings specified".
I Ingo spamfilter I have selected this values:
- Spam Level: 10
- Folder to receive spam: Spam
We are using versions
- Horde Groupware Webmail Edition 5.2.22
- Horde (horde) 5.2.17
- Filters (ingo) 3.2.16