<<< Date Index >>>     <<< Thread Index >>>

Re: "Mailbox is read-only.", but it isn't



On Thu, Jan 25, 2007 at 09:04:57AM +0100, Michael Tatge wrote:
> * On Wed, Jan 24, 2007 cl@xxxxxxxx (cl@xxxxxxxx) muttered:
> > On Wed, Jan 24, 2007 at 04:32:26PM +0100, Michael Tatge wrote:
> > > * On Wed, Jan 24, 2007 cl@xxxxxxxx (cl@xxxxxxxx) muttered:
> > > > 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.
> 
> See the mutt_dotlock man page DIAGNOSTICS section.
> 
> 1 - DL_EX_ERROR
>   An  unspecified  error such as bad command line
>   parameters, lack of system memory and the like has occured.
> 
> 
> mutt_dotlock -t -p /var/mail/cgreen; echo $?
> 
    mutt_dotlock -t -p /var/mail/cgreen; echo $?
    5
    You have mail in /var/mail/cgreen

    mutt_dotlock -p /var/mail/cgreen; echo $?
    1

So it's an "unspecified  error".  Maybe the full file system is
causing the problem, as I said I'll wait until that's cleared up
before trying any harder.

-- 
Chris Green (chris@xxxxxxxxxxxx)