Re: caching and mailbox synchronisation with c-client

2005-04-14 Thread Mark Crispin
As a first order approximation: You should have on record the UIDVALIDITY of the mailbox, highest assigned UID in the mailbox ever seen by the client, and UIDs of all messages. If the IMAP server reports a different UIDVALIDITY then what you have, dump your entire cache; it has been invalidated

caching and mailbox synchronisation with c-client

2005-04-14 Thread Mike Schmidt
Hi, I'm writing a headless imap client using c-client on WindowsXP. I have interfaced to all the mail functions and can successfully read mail messages from my uw-imap server (linux). Since the mail storage is handled by another application, with which my client communicates. The c-client code

Re: simultaneous access to incoming spool file by c-client and postfix

2005-04-14 Thread Mark Crispin
The simple answer to your question is "no" and "no such measures are necessary". However, make sure that NFS is not involved in accessing the mailbox file or the /tmp directory. On Thu, 14 Apr 2005, Mark Brand wrote: Please consider 2 situations where messages are moved from spool files into mb

Re: symbolic links to mailboxes and locking

2005-04-14 Thread Mark Crispin
On Thu, 14 Apr 2005, Mark Brand wrote: Is it safe for several users to be accessing the same mbx mailbox via different symbolic links pointing to that mailbox? Yes. However, don't use NFS with mbx format. -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politic

simultaneous access to incoming spool file by c-client and postfix

2005-04-14 Thread Mark Brand
Please consider 2 situations where messages are moved from spool files into mbx INBOX files in users home directories: A. c-client software automatically moves mail when software accesses incoming spool file. B. Someone explicitly invokes "mailutil appenddelete". The question is: Can corruption o

symbolic links to mailboxes and locking

2005-04-14 Thread Mark Brand
Is it safe for several users to be accessing the same mbx mailbox via different symbolic links pointing to that mailbox? Assume that all users are doing this with c-client software, or even that all users are using imapd. -- -- For

Re: when ought messages to get moved from spool to user's mbx INBOX?

2005-04-14 Thread Mark Brand
>I have a question, or maybe I just need some advice. Consider this >situation please: > >-There's a user called "info". The purpose of the user is to receive >mail that will end up in a shared mailbox that members of a group >"info" can read and write to. >-Postfix delivers messages to /var/spool