@@ -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,31 @@ 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 [[ link,sieve_storage_type_personal,personal]] and
200+ [[ link,sieve_storage_type_global,global]] storage types), this step is
201+ not necessary since included scripts are incorporated into the binary produced
202+ for the main script.
197203
198204## Compile and Runtime Logging
199205
200206Log messages produced during script compilation or during script
201207execution are written to two locations by the LDA Sieve plugin:
202208
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 ` .
209+ - If the user's personal storage is using the
210+ [[ link,sieve_storage_file,file driver]] , a log file is written in the same
211+ directory as the user's active personal script as defined by
212+ [[ setting,sieve_script_active_path]] . This log file bears the name
213+ of that script file appended with ".log", e.g. ` .dovecot.sieve.log ` .
214+ Alternatively, e.g. when using another storage driver,
215+ [[ setting,sieve_user_log_path]] can be used to configure the log file
216+ explicitly.
207217
208218 If there are errors or warnings in the script, the messages are appended
209219 to that log file until it eventually grows too large (>10 kB currently).
@@ -213,7 +223,7 @@ execution are written to two locations by the LDA Sieve plugin:
213223 Informational messages are not written to this log file and the log
214224 file is not created until messages are actually logged, i.e. when an
215225 error or warning is produced. The log file name can be overridden with
216- [[ setting,sieve_user_log ]] .
226+ [[ setting,sieve_user_log_path ]] .
217227
218228- Messages that could be of interest to the system administrator are
219229 also written to the Dovecot logging facility (usually syslog). This
0 commit comments