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

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



* 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 $?

HTH,

Michael
-- 
MOUNT TAPE U1439 ON B3, NO RING

PGP-Key-ID: 0xDC1A44DD
Jabber:     init[0]@amessage.de