Re: "Mailbox is read-only.", but it isn't
On Wed, Jan 24, 2007 at 04:32:26PM +0100, Michael Tatge wrote:
> * On Wed, Jan 24, 2007 cl@xxxxxxxx (cl@xxxxxxxx) muttered:
> > On Wed, Jan 24, 2007 at 01:39:43PM +0100, Michael Tatge wrote:
> > > * On Wed, Jan 24, 2007 cl@xxxxxxxx (cl@xxxxxxxx) muttered:
> > > > The mail spool file is /var/mail/cgreen, permissions are:-
> > > > -rw-rw---- 1 cgreen mail 835067 Jan 24 09:38
> > > > /var/mail/cgreen
> > > > However when I try and delete (or move) a message using mutt it just
> > > > says "Mailbox is read-only.", what's the problem?
> > >
> > > Sounds like a locking problem. Can you mutt_dotlock the file manually?
> > >
> > I can 'mutt_dotlock <any parameter> /var/mail/cgreen' with no
> > errors, does that mean it's OK?
>
> Check the return code with echo $?.
>
Aha! Yes, 'mutt_dotlock /var/mail/cgreen' returns 1 which I believe
means it has failed. However I'm not sure how to diagnose this any
further.
--
Chris Green (chris@xxxxxxxxxxxx)