bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Added ~/.<program>rc as a config file.


From: Sergey Poznyakoff
Subject: Re: Added ~/.<program>rc as a config file.
Date: Thu, 21 Mar 2002 12:40:47 +0200

> Ouf, that was too early in the morning!

:^))

> > necessary for mail utility, since its 'standard' startup file is
> > called '.mailrc' and thus clashes with our naming scheme.
> 
> Is there a "standard" format for that config file, as well, that
> would cause problems?

No, I don't think so. The only conflict is a (possible) name clash
between the 'native' .mailrc file and mailutils-specific one.

Changing the topic, there is a problem with locking mechanism
(locker.c): if the mailbox lives in a non-writable directory
the locking will fail (and that is correct). But along with
it the scanning of the mailbox will also fail, e.g. in mbox_scan0:

  if((status = locker_lock (mailbox->locker)))
    {
      monitor_unlock (mailbox->monitor);
      return status;
    }

Thus it effectively disables imap4d's 'other' namespace, which in most
cases is located in a non-writable directory. Disabling the locking
in this case doesn't seem to be correct, since the mailbox itself may
still be writable. How about using a separate directory for lock
files, like /var/lock found on most systems?

Regards,
Sergey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]