[Dovecot] sieve fileinto rule (pigeonhole)

Stephan Bosch stephan at rename-it.nl
Sun Mar 14 12:42:53 EET 2010


Oliver Eales wrote:
> Thanks for the answer, i should have read the wiki more carefully. :-)
> I tried it with the -s parameter, but it is only working when the
> mailbox name is given as a parameter via -m
> When i do
>
>  /usr/lib/dovecot/deliver -m "bla2" -s  -d 1000000000032 <~/test.eml 
>
> the mailbox bla2 gets created and subscribed to.
> but when i leave out the -m and take the mailbox from the sieve script
> the subsription isn't done.
>
> require ["fileinto", "mailbox"];
> if header :contains ["Subject"] "bla2"
> {
>         fileinto :create "bla2";
>         stop;
> }
> and then 
>
> /usr/lib/dovecot/deliver -s  -d 1000000000032 <~/test.eml
>
> the mailbox gets created but not subscribed to. (I didn't make any
> difference if i use the :create sieve command or leave or it out)
>
> Am i doing something wrong ?
>   
Not that I can see. I've tested the behavior at my end and all works 
well. Note that the subscription is only performed when the folder is 
actually created, not when it already exists. I must say, if this is 
truly a bug somehow, I am not quite sure how to debug this. You should 
post your dovecot -n output here so that we can check your config.

Timo, any ideas?

Regards,

Stephan.



More information about the dovecot mailing list