Hi, On Sunday 25 May 2008, Charles Marcus wrote: > On 5/24/2008 Adrián Ribao Martínez wrote: > > I want this filter for all the users of the system, but I also want > > to tell dovecot to look in the /home/user/mail/.sieve file for custom > > per-user filters. > > Can I do this? > > 'Include' support is only in v1.1, but I don't use it (yet) so can't > vouch for how well it works...
It works as advertised :) I'm using it here already. With sieve_global_path = /var/sieve-global/main.sieve in the protocol lda {} section and sieve = mailfilter.sieve in the plugin {} section, I can put user-specific rules into ~/mailfilter.sieve. If I don't, /var/sieve-global/main.sieve will be processed. If I want both to be processed, I put require ["include"] include :global "main.sieve"; into the ~/mailfilter.sieve. Patrick. -- STAR Software (Shanghai) Co., Ltd. http://www.star-group.net/ Phone: +86 (21) 5427 7799 x 826 Fax: +86 (21) 6485 0071 PGP key: https://stshacom1.star-china.net/keys/patrick_nagel.asc Fingerprint: E09A D65E 855F B334 E5C3 5386 EF23 20FC E883 A005
signature.asc
Description: This is a digitally signed message part.