-
Greetings. I've written a sieve script in Notepad as follows
But am unsure how to proceed. I added the <script contents> to the Stalwart UI under Settings > Scripting > System Scripts - is this correct? Where/how do I add this section:
According to #655, I can attach the script to the DATA stage of the SMTP transaction. How? Any pointers will be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Whether you add your script to the SMTP DATA stage or to your personal accounts using ManageSieve depends on whether you want this script to run globally on all messages that enter the system or just for messages that reach your mailbox. |
Beta Was this translation helpful? Give feedback.
-
OK, figured it out. Just add the whole script to the bottom of the config file like so:
No need to add it to the web interface. |
Beta Was this translation helpful? Give feedback.
OK, figured it out.
Just add the whole script to the bottom of the config file like so:
No need to add it to the web interface.