Aaron --

...and then Aaron Goldblatt said...
% >   mutt -v
% 
% Okay.
% 
% bash-2.05$ mutt -v
% Mutt 1.3.24i (2001-11-29)
...
% -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
% +USE_FCNTL  -USE_FLOCK
...

So that tells us how you can lock.  Good.


% 
% 
% So I recompiled:  ./configure --with-flock --enable-nfs-fix
% 
% Now it looks like this:
% 
...
% -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
% +USE_FCNTL  +USE_FLOCK
...

That looks better; I don't know if your system will support flocking, but
now your mutt does.


...
% > issues where, say, mutt_dotlock (which should be SGID mail) can't write
% > to your home dir or some such.
% 
% Strikes me as odd, but I'll look:
% 
% bash-2.05$ ls -la /usr/local/bin/mutt_dotlock 
% -rwxr-sr-x    1 root     mail        43680 Dec  3 13:23 \
%    /usr/local/bin/mutt_dotlock
% 
% I don't have trouble with the Maildir mailboxes, but razor
% (http://razor.sourceforge.net/) doesn't work with Maildir.

Well, Maildir boxes don't require locking, so your success is expected :-)


% 
% Note that writing a message to /tmp (a non-NFS filesystem) is
% successful, so I guess the problem IS NFS, but beyond what I've done I
% don't know what to do about it.  Recompiling as above did not resolve
% the issue.

No, that won't do it.  You can test your permissions by trying to
manually dotlock something like

  cd $HOME
  touch testfile
  mutt_dotlock testfile

to see what you get.  You might play with the -t and -f parameters to see
what you get.

At this point, you should check with your sysadmin to look at how you
might have your home dir exported to allow your box to run a program with
SGID perms set.

Alternatively, you might pull the mail in as usual but then save it to a
Maildir after razor has finished with the box.  Ugly, but a workaround :-)


% 
% ag

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: msg20983/pgp00000.pgp
Description: PGP signature

Reply via email to