[Dovecot] Sieve command line tool status for Refiltering

Stephan Bosch stephan at rename-it.nl
Sun Sep 9 11:48:47 EEST 2012


On 9/9/2012 5:42 AM, Dieter Knopf wrote:
> 2012/9/8 Stephan Bosch <stephan at rename-it.nl>:
>
>> For Pigeonhole v0.3 it is part of the normal release as the sieve-filter
>> command. I still haven't received much feedback on it though, so make sure
>> your backups are in order before you give it a try and please report back
>> your findings.
> Thanks for the info.
>
> I'm not really understanding that tool :-(
>
> I tried this:
> sieve-filter -u foo at foo.tld main.sieve /home/vmail/foo/foo/._REFILTER_/  keep
>
> But i only get an error:
> sieve-filter(root): Fatal: Unknown namespace for source mailbox '...'
>
> What's the problem? ._REFILTER_ is a standard IMAP subfolder.

Mailboxes are not specified in terms of filesystem paths; these are 
specified in much the same way as for IMAP (albeit in UTF8 where 
relevant) and doveadm mailbox. So you should try:

sieve-filter -u foo at foo.tld main.sieve _REFILTER_ keep

The documentation is part of the problem I guess. I've adjusted the man page to specify the mailbox naming explicitly:



Regards,

Stephan.






More information about the dovecot mailing list