On 3/8/2012 12:56 PM, Leo Baltus wrote:
Op 23/02/2012 om 02:15:48 +0100, schreef Stephan Bosch:
The repository is at: http://hg.rename-it.nl/pigeonhole-0.3-sieve-duplicate
This plugin is only a few hours old, experimental, and largely untested, so test it thoroughly before considering to use this. Read the INSTALL file for compile and installation instructions.
Comments are welcome. I did some very basic testing and it seems to work fine.
The example in spec-bosch-sieve-duplicate.txt however says:
if duplicate { fileinto :create "Trash/Duplicate"; }
This assumes the hierarchy separator is '/', but in Maildir this defaults to '.'
So this leads to: failed to store into mailbox 'Trash/Duplicate': Invalid mailbox name
I am not sure if this a bug or not, I suppose you know the rfc's better than I do, is the sieve language supposed to be agnostic of the internals of the storage-engine (dovecot)?
For Sieve, the mailbox name is pretty much opaque. Usually, it matches what is used through IMAP.
http://tools.ietf.org/html/rfc5228#section-4.1
So, in your case, just use "Trash.Duplicate" instead.
Regards,
Stephan.