Re: Running reconstruct as cyrus user

2004-04-13 Thread Craig Ringer
On Mon, 2004-04-05 at 00:36, Ken Murchison wrote: > Craig Ringer wrote: > > On Sun, 2004-04-04 at 00:13, Robert Fitzpatrick wrote: > >>The next step is to see if I'm really dealing with a corrupt > >>mailbox, etc. I don't know the IMAP commands :( so all I can do with > >>imtest is test login,

Re: Running reconstruct as cyrus user

2004-04-04 Thread Ken Murchison
Craig Ringer wrote: On Sun, 2004-04-04 at 00:13, Robert Fitzpatrick wrote: My client is Ximian Evolution on SusE 9 Evolution does cache heavily; I use it myself. I'm in Mulberry now and both have the same problem. They are listing the messages because the cyrus files still show entries for

Re: Running reconstruct as cyrus user

2004-04-04 Thread Robert Fitzpatrick
On Sat, 2004-04-03 at 22:37, Craig Ringer wrote: > Perhaps 'reconstruct' hasn't done its job for some reason. Were you > definitely running it as user 'cyrus'? I'm pretty sure. Before writing my C script, it was giving me an error that it must be ran by the user 'cyrus'. Now, in the script, it set

Re: Running reconstruct as cyrus user

2004-04-03 Thread Craig Ringer
On Sun, 2004-04-04 at 00:13, Robert Fitzpatrick wrote: > My client is Ximian Evolution on SusE 9 Evolution does cache heavily; I use it myself. > I'm in Mulberry now and both have > the same problem. They are listing the messages because the cyrus files > still show entries for the messages.

Re: Running reconstruct as cyrus user

2004-04-03 Thread Robert Fitzpatrick
--On Saturday, April 03, 2004 10:27 AM +0800 Craig Ringer <[EMAIL PROTECTED]> wrote: Alternately, it's possible that reconstruct isn't doing it's job, resulting in the mailbox thinking it still contains all those messages. If the client caches headers and messages, the fact that the remote mailbox

Re: Running reconstruct as cyrus user

2004-04-02 Thread Robert Fitzpatrick
On Fri, 2004-04-02 at 14:37, Craig Ringer wrote: > On Sat, 2004-04-03 at 01:01, Robert Fitzpatrick wrote: > > > Can someone offer advice on how to get this command the script is trying > > to execute working? Maybe I don't need to be using the 'cyrus' user to > > do this? > > I'd be reluctant to

Re: Running reconstruct as cyrus user

2004-04-02 Thread Robert Fitzpatrick
On Fri, 2004-04-02 at 16:26, Andrew J Caird wrote: > Robert, > If you don't use the "-" in "su - " it won't try to find the environment > of the account you're specifying (cyrus, in this case), so you don't need > to have a home directory. Of course, you need to make sure that the > environment

Re: Running reconstruct as cyrus user

2004-04-02 Thread Andrew J Caird
On Fri, 2 Apr 2004, Robert Fitzpatrick wrote: > I found a script that supposedly will sa-learn Cyrus IMAP mailboxes for > spam and ham. The script wants to run the reconstruct command as the > cyrus user, but 'su' seems to have a problem with the way it is setup: > > su - -s /bin/sh cyrus -c "/usr

Re: Running reconstruct as cyrus user

2004-04-02 Thread Craig Ringer
On Sat, 2004-04-03 at 01:01, Robert Fitzpatrick wrote: > Can someone offer advice on how to get this command the script is trying > to execute working? Maybe I don't need to be using the 'cyrus' user to > do this? I'd be reluctant to manually move messages and reconstruct unless I had to. I do cu

Running reconstruct as cyrus user

2004-04-02 Thread Robert Fitzpatrick
I found a script that supposedly will sa-learn Cyrus IMAP mailboxes for spam and ham. The script wants to run the reconstruct command as the cyrus user, but 'su' seems to have a problem with the way it is setup: su - -s /bin/sh cyrus -c "/usr/local/cyrus/bin/reconstruct spam" Aside from the fact