Sieve scripts running fine, but please what would mean the "Stop", if I have multiple Policy that will run true, I need one stop to finish this per section?
if header :is ["from","bcc","to"] ["Email-Address-one", "Email-Address-Two", "and so on"] {
fileinto ".\Magic-FolderName";
stop;
}
thanks
On 20/01/2022 20:13 mauric@gmx.ch wrote:
Sieve scripts running fine, but please what would mean the “Stop”, if I have multiple Policy that will run true, I need one stop to finish this per section?
if header :is ["from","bcc","to"] [“Email-Address-one”, ”Email-Address-Two”, ”and so on”] { fileinto ".\Magic-FolderName"; stop; }
thanks
stop will stop at that point.
Aki
On 20/01/2022 20:25 mauric@gmx.ch wrote:
On 20/01/2022 20:13 mauric@gmx.ch wrote:
stop will stop at that point. Aki
Thanks for your quick answer, so please if I have multiple policy's running, so sould stop on each point or once for all?
It depends. If you want it to stop processing further rules, then yes.
Aki
Am 20.01.2022 um 19:13 schrieb mauric@gmx.ch:
Sieve scripts running fine, but please what would mean the “Stop”, if I have multiple Policy that will run true, I need one stop to finish this per section?
if header :is ["from","bcc","to"] [“Email-Address-one”, ”Email-Address-Two”, ”and so on”] { fileinto ".\Magic-FolderName"; stop; }
Without „stop;“ at the end and if you had a second rule like for example: if header :is ["from","bcc","to"] [“Email-Address-one”, ”Email-Address-Two”, ”and so on”] { fileinto „.\Different-FolderName“; }
the Mail would get copied in BOTH folders: „Magic-FolderName“ AND Different-FolderName.
If you want to STOP further proccessing of that mail, once it gets proccessed by a rule the first time, you use „stop;“ in the rule. This means, even if a further rule would match the mail, it will not get proccessed by that rule anymore.
Steven
participants (3)
-
Aki Tuomi
-
mauric@gmx.ch
-
Steven Varco