[Tickets #5581] procmail expression problem
bugs at bugs.horde.org
bugs at bugs.horde.org
Wed Jul 25 14:41:14 UTC 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=5581
-----------------------------------------------------------------------
Ticket | 5581
Created By | zmoelnig at iem.at
Summary | procmail expression problem
Queue | Ingo
Version | 1.1.2
Type | Bug
State | Unconfirmed
Priority | 1. Low
Owners |
-----------------------------------------------------------------------
zmoelnig at iem.at (2007-07-25 07:41) wrote:
ingo generates wrong procmail filter rules with special characters for me.
for instance, i want to create a filter rule that checks whether a
header-field (X-Spam-Score) has at least 5 "+".
therefore i create a rule where the header field "contains" the expression
"+++++"
ingo renders this into a procmailrc file like that:
* ^X-Spam-Score:.*+++++
obviously this is wrong, as the "+" is a special character in regular
expressions and has therefore to be escaped to something like:
* ^X-Spam-Score:.*\+\+\+\+\+
of course there is the possibility to use "regular expressions" directly,
but for ordinary users, i would expect the "contains" matching to be
ordinary non-regex syntax.
just in case this is a distribution problem: i am using debian/etch with
ingo1_1.1.2-1
i am pretty sure that this _used_ to work in older versions (i had it
running on i debian/sarge with the ingo version 1.0.1-1sarge1).
the problem is that my users have created their spam-filtering rules a
while ago, and when they now update their filter-rules (e.g. adding
vacation notes), suddenly a lot of their emails vanish into their
spam-folders...
yours,
IOhannes
More information about the bugs
mailing list