On Wed, 13 Aug 2003, Rob Siemborski wrote: > On Wed, 13 Aug 2003, Per Steinar Iversen wrote: > > > The fud-client in cyrus-imapd-2.1.14 seems a little broken, or perhaps > > it is the fud-server? > > It appears you're calling it in a strange way. > > > $ fud-client localhost stens user.stens > > user: stens > > mbox: user.stens > > Number of Recent 0 > > Last read: Wed Aug 13 11:37:51 2003 > > Last arrived: Wed Aug 13 13:54:38 2003 > > Looks fine to me. > > > But: > > > > $ fud-client localhost randomstring user.stens > > user: randomstring > > mbox: user.stens > > Number of Recent 1553 > > Last read: Thu Jan 1 01:00:00 1970 > > Last arrived: Wed Aug 13 13:54:38 2003 > > The 'randomstring' is telling fud 'show me the seen state of this mailbox > as seen by the user "randomstring"'. Which, if 'randomstring' isn't a > valid user, is going to be "all messages recent, never opened". > > > The only numbers that seems reasonable is the "Last arrived" and "Number > > of Recent" when the fud "user" is a random string and the username. > > Doctor! It hurts when I hit my head against the wall! ;)
I noticed something silly though: After running this: $ fud-client localhost randomstring user.stens Then I get a brand new seen-file for "randomstring" : # ls -la /var/lib/imap/user/r/randomstring.seen -rw------- 1 cyrus mail 144 Aug 13 14:19 /var/lib/imap/user/r/randomstring.seen Not good, a simple loop calling fud-client with different values of "randomstring" each time would not be nice. Can these seen-files that does not belong to any real mailbox just be removed by hand? -psi