[Imap-uw] mailutil double count, 2004f comments
Tim Mooney
mooney at dogbert.cc.ndsu.NoDak.edu
Wed Aug 31 16:10:50 PDT 2005
In regard to: Re: [Imap-uw] mailutil double count, 2004f comments, Mark...:
> On Wed, 31 Aug 2005, Tim Mooney wrote:
>> - It appears that mailutil double counts every message when doing a
>> "check", at least for mbx-format mailboxes:
>
> Did you modify the software in any way?
>
> In particular, did you modify the sysinbox() routine to point to the
> mbx-format INBOX? If you did, don't do that.
That is exactly what was done, to support home directory mail delivery
on our IMAP servers. Our sysinbox() in env_unix.c looks like:
char *sysinbox ()
{
char tmp[MAILTMPLEN];
if (!sysInbox) { /* initialize if first time */
#if defined(KERDAP)
sprintf(tmp, "%s/INBOX", myHomeDir);
#else
sprintf (tmp,"%s/%s",MAILSPOOL,myusername ());
#endif
sysInbox = cpystr (tmp); /* system inbox is from mail spool */
}
return sysInbox;
}
and we are compiling with KERDAP defined. I probably already know
the answer to this, but I have to ask: do you have a recommendation for
a better method of having all of the imap suite (imapd, dmail, mailutil,
et. al.) have both INBOX and all users folders relative to the user's home
directory?
> Hmm. It looks like it needs the imap-2005 version of mail.h. Oh well
>
> If you really want to play with it, I'll send you the definitions of
> sslclientcert_t and sslclientkey_t; otherwise, wait until imap-2005 comes out.
We can wait.
>> - It would be really helpful if mailutil supported some kind of a "what
>> version am I?" argument, so it would be possible to interrogate it and
>> find out what version of the imap toolkit it came from.
>
> Starting in imap-2005, mailutil announces its version in its help text.
Excellent, thanks.
Tim
--
Tim Mooney mooney at dogbert.cc.ndsu.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
More information about the Imap-uw
mailing list