Vincent --

...and then Vincent Lefevre said...
% 
% On Mon, Jul 22, 2002 at 10:00:09 -0500, David T-G wrote:
% > 
% > ...and then Vincent Lefevre said...
% > % 
% > % It seems that to force the dotlock locking strategy, one needs to use
% > % the --with-homespool option. But then, mutt -v says:
% > 
% > That doesn't make sense; I've had dotlocking with my mail spool under
% > /var before.  In fact, the whole reason for having a separate dotlock
% > program with its own priv permissions is specifically because of mail
% > spools under /var instead of $HOME.
% 
% I wasn't talking of a separate dotlock program. I just wanted Mutt
% to use the dotlock mechanism (preferably the internal one).

You'd *prefer* the internal?  OK.


% 
% > % MAILPATH="mailbox"
% > % 
% > % Here, mailbox doesn't correspond to anything. So, is it a problem?
% > 
% > What if you compile with HOMESPOOL turned off?
% 
% With --with-homespool:
% +USE_DOTLOCK
% MAILPATH="mailbox"
% 
% Without --with-homespool:
% -USE_DOTLOCK
% MAILPATH=""

Hmmm...  I see what you mean; there's not --use-dotlock switch.  Well,
you could

  --enable-external-dotlock

to force it, even though you'd then have the external program.  [Why
don't you like that, though?]

Come to think of it, I think dotlocking is the default, so if you
specifically disable fcntl (and perhaps flock) then you'll get that.
When you install, check the perms on the binary; if you don't have the
external program, then you'll probably have an sgid mutt, which can then
do dotlocking in /var -- and which, with or without the perms, can lock
in your home dir.


% 
% > % Note that my only spool mailbox is an IMAP mailbox. But I need a locking
% > % strategy for the postpone and archive mailboxes (under NFS). As fcntl is
% > % not reliable here, I think I'll disable it and use dotlocking only.
% > 
% > Sounds good.
% 
% Well, the lock manager has just been cleaned here, so fcntl is now OK
% (for the moment).

That's good :-)


HTH & HAND

:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg29805/pgp00000.pgp
Description: PGP signature

Reply via email to