[Dovecot] Why not just ignore sieve include error and continue read and execute the rest of sieve rules?
24 Apr
2009
24 Apr
'09
4:46 a.m.
Hi, all.
I use a global sieve script and include user's personal sieve script in it, but it doesn't run while user's sieve script not exist. Why not just ignore this error and continue read and execute the rest of sieve rules?
My global script:
require ["include"]; include :personal ".dovecot.sieve";
Sieve log while user's personal sieve script doesn't exist:
Info: Loading modules from directory: /usr/lib64/dovecot/lda Info: Module loaded: /usr/lib64/dovecot/lda/lib10_quota_plugin.so Info: Module loaded: /usr/lib64/dovecot/lda/lib90_cmusieve_plugin.so Info: auth input: home=/home/vmail/a.cn/www/ Info: auth input: quota_rule=*:bytes=104857600 Info: auth input: sieve_dir=/home/vmail/sieve/a.cn/www/ Info: Quota root: name= backend=maildir args= Info: Quota rule: root= mailbox=* bytes=104857600 messages=0 Info: maildir: data=//home/vmail/a.cn/www//:INDEX=//home/vmail/a.cn/www// Info: maildir++: root=//home/vmail/a.cn/www/, index=, control=, inbox=//home/vmail/a.cn/www/ Info: cmusieve: /home/vmail/a.cn/www//.dovecot.sieve doesn't exist Info: cmusieve: Using sieve path: /home/vmail/.dovecot.sieve Info: cmusieve: Executing script /home/vmail/.dovecot.sievec Info: cmusieve: Script not found: /home/vmail/sieve/a.cn/www//.dovecot.sieve Info: include: Script not found: '.dovecot.sieve' Info: sieve runtime error: Include can not find script Error: sieve_execute_bytecode(/home/vmail/.dovecot.sievec) failed Info: msgid=<49F117C9.8020505@b.cn>: saved mail to INBOX
-- Best regards.
Zhang Huangbin
- Open Source Mail Server Solution for RHEL/CentOS 5.x: http://code.google.com/p/iredmail/
25 Apr
25 Apr
1:52 a.m.
Zhang Huangbin schreef:
Basically, because it is required by the draft standard. I've coined something like that on the Sieve mailing list, but I haven't received a response thus far. I must admit however that it is barely ever useful to have optional script includes.
Regards,
-- Stephan Bosch stephan@rename-it.nl
5925
Age (days ago)
5925
Last active (days ago)
1 comments
2 participants
participants (2)
-
Stephan Bosch
-
Zhang Huangbin