sieve script not running?

Ken Murchison ken at oceana.com
Tue Jul 8 10:15:55 EDT 2003



Hank Beatty wrote:

> On Tue, 2003-07-08 at 08:26, Ken Murchison wrote:
> 
> 
>>Not really, there isn't a lot of logging for sieve.  Is your script 
>>activated?  There shgould be a link from default.bc to your active 
>>script.  Are the permissions on the script correct?  It should be at 
>>least readable byt the cyrus user.
> 
> 
> It appears that both of those are true:
> 
> [root at medusa scriptTestDir]# ll
> /usr/sieve/domain/R/<domain>.net/W/<user>/
> total 16
> lrwxrwxrwx    1 cyrus    mail            7 Jul  7 11:32 default.bc ->
> test.bc
> -rw-------    1 cyrus    mail          232 Jul  7 11:02 phpscript.bc
> -rw-------    1 cyrus    mail          202 Jul  7 11:02 phpscript.script
> -rw-------    1 cyrus    mail          116 Jul  8 07:57 test.bc
> -rw-------    1 cyrus    mail           95 Jul  8 07:57 test.script
> 
> Is it normal for the user created folders to be created under the mail
> directory?

Ahh!  I hadn't noticed that.


> 
> user/<user>/mail/Junk Mail@<domain>.net (\HasNoChildren)
> 
> and does that change how the script should be written?


Yes, in this case your script must read:

fileinto "INBOX/mail/Junk Mail";  /* altnamespace: no */

OR

fileinto "mail/Junk Mail";  /* altnamespace: yes */

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp





More information about the Info-cyrus mailing list