filter "begin with" in ispconfig_filter plugin doesn't generates the correct sieve rule ?
Closed this issue · 9 comments
I try to get the rule to move email whose subject begin with "[zabbix] to the Zabbix folder.
Here is the filter i put in ISPconfig :
Source : Subject begin with [zabbix]
Action : Move to Zabbix
I've checked the generated sieve rule :
BEGIN FILTER_ID:3
if header :regex ["subject"] [" [zabbix]"] {
fileinto "Zabbix";
stop;
}
It seems there is a space instead of a ^ character. In my opinion, the correct rule would be :
BEGIN FILTER_ID:3
if header :regex ["subject"] ["^[zabbix]"] {
fileinto "Zabbix";
stop;
}
Anyway, if I modified manually with the rule above, it works fine.
Can you have a look please ?
Thanks for your help.
I will check into it, can you provide me more informations like what mailserver and in what directory "zabbix" is (in inbox or same level as inbox).
Is the same error happening if you enter the information directly in ispconfig per mail user rule?
because i'm not generating the filter, I'm just using the api which then generates it as it would be a normal mail user rule from ispconfig panel.
but it looks like, its an error from ispconfig itself. needs more checking
Hi,
Here is more information about my mail server :
- OS : Debian 7
- dovecot version : 2.1.7
- roundcube version : 0.9.1
- plugins ispconfig_* are up to date via svn.
- cat /var/vmail/numeezy.com/aellert/.sieve
BEGIN FILTER_ID:3
if header :regex ["subject"] [" [zabbix]"] {
fileinto "Zabbix";
stop;
}
END FILTER_ID:3
- Folder named "Zabbix" is at the same level as INBOX.
- Please see attached screenshot of roundcube configuration and ISPconfig
generated rule.
Thanks a lot for your help.
2013/6/22 Horst Fickel notifications@github.com
but it looks like, its an error from ispconfig itself. needs more checking
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-19860540
.
you can't send attachments to github. So i can't see the screen. But thanks for the good information.
btw what ispconfig version, thats the only thing missing.
ISPconfig version is 3.0.5.2.
In the screen, i would just show you that rule in ISPconfig are the same as
in the file /var/vmail/numeezy.com/aellert/.sieve and that in I input these
informations in roundcube filter :
Name : Zabbix
Source : Subject | Begin with | [zabbix]
Action : Mote to folder | Zabbix
2013/6/22 Horst Fickel notifications@github.com
you can't send attachments to github. So i can't see the screen. But
thanks for the good information.
btw what ispconfig version, thats the only thing missing.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-19861425
.
well then its a ispconfig issue, please report it under http://bugtracker.ispconfig.org or in the forum.
Ok, thanks again.
2013/6/22 Horst Fickel notifications@github.com
well then its a ispconfig issue, please report it under
http://bugtracker.ispconfig.org or in the forum.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-19861970
.
To report the bug, can you provide me more information about what is going
wrong with ISPconfig API ?
2013/6/22 Alexandre Ellert ellertalexandre@gmail.com
Ok, thanks again.
2013/6/22 Horst Fickel notifications@github.com
well then its a ispconfig issue, please report it under
http://bugtracker.ispconfig.org or in the forum.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-19861970
.
well, if the error also exist when you create the rule per ispconfig panel. then you can just report it as rule creation issue. if it is something with the api, which uses the same backend as ispconfig, then just link to this issue.
everybody knows my plugins^^