View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003803 | SOGo | Backend Mail | public | 2016-08-24 07:43 | 2016-08-27 06:10 |
Reporter | Jens Erat | Assigned To | |||
Priority | low | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 2.3.13 | ||||
Summary | 0003803: Writing sieve rule fails on Dovecot if \r is included | ||||
Description | As a step in migrating users from Cyrus to Dovecot, we're rewriting the Sieve rules stored in SOGo by merely running an export of the Sieve rules and importing them again. This failed for a few users which had a \r in their JSON dump, ie. copied this from somewhere earlier. Cyrus seemed to accept it, Dovecot doesn't. Proposed solution: strip \r when writing Sieve rules. Example export attached. | ||||
Additional Information | [{"active": 1, "actions": [{"method": "fileinto", "argument": "Spam"}], "rules": [{"operator": "is", "custom_header": "X-Spam-Flag", "field": "header", "value": "YES"}, {"operator": "contains_not", "field": "from", "value": "christian.mack@uni.kn\r"}, {"operator": "contains_not", "field": "from", "value": "hugine.habicht@uni-konstanz.de"}, {"operator": "contains_not", "field": "from", "value": "jens.erat@uni-konstanz.de"}], "match": "all", "name": "Spam-Filter"}] | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-08-24 07:43 | Jens Erat | New Issue |