@@ -36,7 +36,8 @@ about the extensions from the Sieve Mail Filtering Language Charter
3636or the [ Sieve.info wiki page] ( http://sieve.info/ ) .
3737
3838::: info
39- Sieve doesn't support running external programs.
39+ Standard Sieve does not support running external programs. However, Dovecot
40+ provides non-standard extensions that provide limited support for doing that.
4041:::
4142
4243### Extensions
@@ -188,22 +189,30 @@ global scripts using the `sievec` command line tool. For example:
188189sievec /var/lib/dovecot/sieve/global/
189190```
190191
191- This is necessary for scripts listed in [[ setting,sieve_global]] ,
192- [[ setting,sieve_before]] , and [[ setting,sieve_after]] settings.
192+ This is necessary for script in storages with
193+ [[ link,sieve_storage_type_after,after]] ,
194+ [[ link,sieve_storage_type_before,before]] ,
195+ [[ link,sieve_storage_type_default,default]] , and
196+ [[ link,sieve_storage_type_global,global]] storage type.
193197
194198For global scripts that are only included in other scripts using the Sieve
195- include extension, this step is not necessary since included scripts
196- are incorporated into the binary produced for the main script.
199+ include extension (from the ` personal ` and ` global ` storage types), this step is
200+ not necessary since included scripts are incorporated into the binary produced
201+ for the main script.
197202
198203## Compile and Runtime Logging
199204
200205Log messages produced during script compilation or during script
201206execution are written to two locations by the LDA Sieve plugin:
202207
203- - A log file is written in the same directory as the user's main
204- private script (as specified by [[ setting,sieve]] ). This
205- log file bears the name of that script file appended with ".log", e.g.
206- ` .dovecot.sieve.log ` .
208+ - If the user's personal storage is using the
209+ [[ link,sieve_storage_file,file driver]] , a log file is written in the same
210+ directory as the user's active personal script as defined by
211+ [[ setting,sieve_script_active_path]] . This log file bears the name
212+ of that script file appended with ".log", e.g. ` .dovecot.sieve.log ` .
213+ Alternatively, e.g. when using another storage driver,
214+ [[ setting,sieve_user_log_path]] can be used to configure the log file
215+ explicitly.
207216
208217 If there are errors or warnings in the script, the messages are appended
209218 to that log file until it eventually grows too large (>10 kB currently).
@@ -213,7 +222,7 @@ execution are written to two locations by the LDA Sieve plugin:
213222 Informational messages are not written to this log file and the log
214223 file is not created until messages are actually logged, i.e. when an
215224 error or warning is produced. The log file name can be overridden with
216- [[ setting,sieve_user_log ]] .
225+ [[ setting,sieve_user_log_path ]] .
217226
218227- Messages that could be of interest to the system administrator are
219228 also written to the Dovecot logging facility (usually syslog). This
0 commit comments