Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown tagged argument ':notcontains' for the deleteheader command #9610

Closed
2 tasks done
codegain opened this issue Aug 26, 2024 · 3 comments
Closed
2 tasks done

unknown tagged argument ':notcontains' for the deleteheader command #9610

codegain opened this issue Aug 26, 2024 · 3 comments

Comments

@codegain
Copy link
Contributor

Prerequisites

  • I have searched for duplicate or closed issues
  • I can recreate the issue with all plugins disabled

Describe the issue

Hi,

I'm running Roundcube 1.6.8 with the managesieve plugin and I stumbled upon this error:

roundcube: line 10: error: unknown tagged argument ':notcontains' for the deleteheader command (reported only once at first occurrence). roundcube: error: validation failed.

It happens if you create a filter with the action Remove header from the message:

  • Header name: From
  • Header value patterns: leave empty
  • match type: not contains
  • comparator: default
  • Header occurence/position: Leave empty + from start

Match type contains surprisingly does work with the same settings.

Is this a roundcube bug or a bug on sieve server side?

What browser(s) are you seeing the problem on?

Chrome

What version of PHP are you using?

8.1

What version of Roundcube are you using?

1.6.8

JavaScript errors

No response

PHP errors

No response

@roundcube roundcube deleted a comment Aug 26, 2024
@roundcube roundcube deleted a comment Aug 26, 2024
@alecpl
Copy link
Member

alecpl commented Aug 26, 2024

Sounds like a bug.

@alecpl alecpl added this to the later milestone Aug 26, 2024
@alecpl
Copy link
Member

alecpl commented Feb 16, 2025

Seems to me that negative matches are not supported. We can't do in "Actions" the not prefix trick that we do in "Rules".

@alecpl
Copy link
Member

alecpl commented Feb 16, 2025

Fixed.

@alecpl alecpl closed this as completed Feb 16, 2025
pabzm pushed a commit to pabzm/roundcubemail that referenced this issue Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants