Bharadwaj --

...and then [EMAIL PROTECTED] said...
% I suspect this is an FAQ. However, I couldn't

It very well might be :-)


% find the answer. On Tru64 (Digital Unix) I 
% configured mutt with --enable-flock --disable-fcntl
% together, only one of them as well as without either

Sure; those can all work well together and the important thing is to make
sure that mutt is configured to use whatever your MDA uses.


% of them. In all cases, when I read my mail with 
% the resulting executable and try to save a message,
% I get the following error message:
% 
%     Couldn't lock <full-path-of-mailbox>

This, on the other hand, sounds like a permissions problem.  I will
hazard a guess that this only happens for your mail spool file, which is
probably located under /var/spool/mail or some such, and that you have no
problem with any mailboxes in your personal tree.  Your mail spool
directory probably looks something like

  drwxrwsr-t  2 root   mail    .... /var/spool/mail

and that means that only root and the mail group -- and that probably
means *not* you - can write in there.  To get around that but not tie so
much power into mutt itself, there is a little binary called mutt_dotlock
which should be installed with mail groupship and with the SGID bit set;
*it* is called by mutt and is what actually does the locking.


% 
% If it matters, I have installed the binaries in 
% my home directory.

That's another clue that the mutt_dotlock file is not set with special
permission.  Check it out.


% 
% Can some one please tell me what I am doing wrong?

We'll certainly try!


% 
% Thanks,
% 
% Bharadwaj

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.bigfoot.com/~davidtg/        Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.

PGP signature

Reply via email to