How to upload a sieve script?

Ken Murchison ken at oceana.com
Mon Jan 6 21:27:38 EST 2003



peter at neubauer.nu wrote:
> 
> Hi,
> with help from Ken Murchison, i got the sieveshell working, but i can't upload a
> script, getting:
> 
> moria:/home/peter# cat test.script
> #Example sieve script
> #Reject messages based on criteria
> 
> require ["fileinto"];
> 
> if header :contains ["From"] ["peter at neubauer.nu"] {
>  fileinto "INBOX.peter";
> }
> moria:/home/peter# sieveshell --user=peter --authname=peter localhost
> connecting to localhost
> Please enter your password:
> > put test.script
> upload failed: put script: Unable to open script for writing (test.script.NEW)
> > quit
> moria:/home/peter# ls -l test.script
> -rwxrwxrwx    1 root     root          161 Jan  7 01:04 test.script
> 
> Can anyone please help once more?

What are the permissions on the sievedir tree?  It should at least be
owned by the cyrus user.

-- 
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