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

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



oN tHU, Jan 25, 2007 at 02:26:56PM +0100, Patrick Ben Koetter wrote:
> * cl@xxxxxxxx <cl@xxxxxxxx>:
> > 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.
> 
> Are you using Debian or Ubuntu? It seems there has been an error with a
> stable package, IIRC.
> 
It's on a shell login account on a web hosting provider, it's not my
personal system.  A 'uname -a' reports:-

    Linux shell 2.4.23-grsec #1 Tue Dec 2 19:44:13 GMT 2003 i586 unknown

I think it's Debian.  The mutt is mine though.  It's not a system I
use much for mail (or I'd be a bit more worried).  It used to work
fine but the mail spool moved a while ago and I only just noticed,
when I changed my muttrc to match I started getting this error.

-- 
Chris Green (chris@xxxxxxxxxxxx)