Look at tools/mkimap. It makes the directories for sieve. You can make /usr/sieve/[a-z] directories manually if youd like.
Jon ----- Original Message ----- From: "Su Li" <[EMAIL PROTECTED]> To: "'Scott Russell'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, September 27, 2002 11:38 AM Subject: RE: Can not logon to Sieve -- need help -- still need help > Hi, > I saw a lot of mails on Sieve. I haven't gotten Sieve work for me. > > Thanks for Scott, I used "sieveshell --user=cyrus --auth=cyrus localhost". > I got further. But I still get the following error, when I typed in > password. I typed in password 3 times. > > Sep 27 11:28:47 web9 sieve[4111]: accepted connection > Sep 27 11:28:47 web9 master[7564]: about to exec /usr/cyrus/bin/timsieved > Sep 27 11:28:47 web9 sieve[7564]: executed > Sep 27 11:28:55 web9 timsieved[4111]: mkdir /usr/sieve/c/cyrus: No such file > or directory > Sep 27 11:28:55 web9 timsieved[4111]: error in actions_setuser() > Sep 27 11:29:00 web9 timsieved[4111]: mkdir /usr/sieve/c/cyrus/c/cyrus: No > such file or directory > Sep 27 11:29:00 web9 timsieved[4111]: error in actions_setuser() > Sep 27 11:29:09 web9 timsieved[4111]: mkdir > /usr/sieve/c/cyrus/c/cyrus/c/cyrus: No such file or directory > Sep 27 11:29:09 web9 timsieved[4111]: error in actions_setuser() > > -------- > I tried '/tools/dohash'. I read the man page of dohash, it should works on > /var/imap/user. I don't see anything about 'dohash' creating subdirectorys > in sieve. > > [cyrus@web9 tools]$ ./dohash > Use of uninitialized value in string eq at (eval 1) line 9, <DATA> line 209. > Use of uninitialized value in string eq at (eval 1) line 17, <DATA> line > 209. > Use of uninitialized value in string eq at (eval 1) line 25, <DATA> line > 209. > upgrading configuration directory /var/imap...user error: couldn't create a > > -------- > I have did "chown cyrus /usr/sieve" and "chgrp mail /usr/sieve". I still get > the error. > > Can anybody help me on that? > > Thanks a lot. > > > Su > > > > > -----Original Message----- > From: Scott Russell [mailto:[EMAIL PROTECTED]] > Sent: September 25, 2002 11:04 PM > To: [EMAIL PROTECTED] > Subject: Re: Can not logon to Sieve -- need help > > > Add the /usr/local perl path to your PERL5LIB env var. For my Red Hat > 7.3 box where bash is the default shell for all accounts I added the > following to my /etc/profile: > > PERL5LIB=/usr/local/lib/perl5/site_perl/5.6.1/i386-linux/ > export PERL5LIB > > When using sieveshell try having both --user and --auth set as such: > > sieveshell --user=cyrus --auth=cyrus localhost > > -- > Scott >