[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Convert text file to mbox file?
From: |
Eli Zaretskii |
Subject: |
Re: Convert text file to mbox file? |
Date: |
Thu, 03 Mar 2022 20:24:06 +0200 |
> From: "Dr. C. Baxter" <m43cap@yandex.com>
> Date: Thu, 03 Mar 2022 17:53:28 +0000
>
> In my rmail configuration, I have sent the variable
> 'mail-archive-file-name' to a local file 'sent'. All appeared to go well
> for several months, but when I now try to read 'sent' via "M-x rmail-input"
> I'm told that 'sent' is an Invalid mbox file. I think the problem may
> have arisen when I edited and saved 'sent' as if it were an ordinary
> text file. Is there anyway in which I can covert 'sent' back to an mbox
> file?
My suggestion is to establish what exactly causes Rmail to signal this
error. Set debug-on-error non-nil, and examine the backtrace; then
step with Edebug if needed.
Once you understand what exactly causes the error, I'm quite sure
repairing your archive will be easy.