Question about Sieve scripts #67
thepepe123
started this conversation in
General
Replies: 1 comment 7 replies
-
|
Hi, Please read the section about macro limitations. In particular file macros only work on local settings which Sieve scripts are not by default (you can make them local though). Also, note that global user scripts are not loaded automatically. You need to use ManageSieve or JMAP for Sieve to create a user script that imports your global script. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I have successfully set up the mail server and had no problems at all, but now I'm failing with the Sieve scripts.
Unfortunately, there is not enough documentation on the subject for me and it is too shallow. I think I have understood the difference between “System Scripts” and “User Scripts”, as this is explained on the documentation page. 1, 2
Where I have problems now is running a Sieve script directly in the User Script field, or is the field not there for scripts directly but only the link to the scripts in the file system?
To try it out, I created the script in the file system and added in the Webgui under Settings -> Scripting -> User Scripts
inserted:
but when I save and reload the configuration I get
Build error for "sieve.untrusted.scripts.global.contents": Failed to compile untrusted Sieve script: Expected token "instruction" but found "[" at line 1, column 0.Unfortunately I do not understand how to use the scripts. I am completely confused how to use this.
Thanks for the help.
Regards
Beta Was this translation helpful? Give feedback.
All reactions