unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* rmail invalid mbox file
@ 2021-05-04 23:31 Jim Erickson
  2021-05-05  2:31 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Jim Erickson @ 2021-05-04 23:31 UTC (permalink / raw)
  To: help-gnu-emacs

i am using rmail in emacs 27.2 on openbsd 6.9 on raspberrypi 4B 8gb
aarch64. i use fetchmail and procmail to deliver my gmail to
/home/jim/RMAIL. all rmail settings are at standard defaults. when i
try to open rmail to process my gmail it says the following:

Debugger entered--Lisp error: (error "Invalid mbox file")
  signal(error ("Invalid mbox file"))
  error("Invalid mbox file")
  rmail-convert-file-maybe()
  rmail()
  funcall-interactively(rmail)
  call-interactively(rmail)
  menu-bar-read-mail()
  funcall-interactively(menu-bar-read-mail)
  call-interactively(menu-bar-read-mail nil nil)
  command-execute(menu-bar-read-mail)

i am using the standard RMAIL file formed by receiving mail through
fetchmail + procmail. can anyone tell me how to form a valid mbox file
so i can use rmail to process and read my gmail?



^ permalink raw reply	[flat|nested] 8+ messages in thread
* rmail invalid mbox file
@ 2021-05-05 11:37 Jim Erickson
  2021-05-05 12:23 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Jim Erickson @ 2021-05-05 11:37 UTC (permalink / raw)
  To: help-gnu-emacs

yes the first line of the mbox file reads as follows:

Return-Path: <jim@openbsd1.jimerickson.info>




^ permalink raw reply	[flat|nested] 8+ messages in thread
* rmail invalid mbox file
@ 2021-05-05 14:26 Jim Erickson
  2021-05-05 14:51 ` Eli Zaretskii
  2021-05-05 15:51 ` tomas
  0 siblings, 2 replies; 8+ messages in thread
From: Jim Erickson @ 2021-05-05 14:26 UTC (permalink / raw)
  To: help-gnu-emacs

thank you it is good to at least know what the problem is. is this a new
google policy to write things this way? my "From:" line comes after a
bunch of other headers. how does one go about reordering lines in the
mbox with emacs? otherwise i guess i will have to switch to gnus. gnus
seems to handle the messages fine. 



^ permalink raw reply	[flat|nested] 8+ messages in thread
* rmail invalid mbox file
@ 2021-05-06 16:31 Jim Erickson
  0 siblings, 0 replies; 8+ messages in thread
From: Jim Erickson @ 2021-05-06 16:31 UTC (permalink / raw)
  To: help-gnu-emacs

well i figured out a solution and got rmail working. i removed procmail
and setup opensmtpd to deliver everything to the spool then put a
.forward file in my home directory telling it to forward to
~/RMAIL. worked like a charm. just thought i would let the list know for
anyone else who has this problem in the future. thanks.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-05-06 16:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-04 23:31 rmail invalid mbox file Jim Erickson
2021-05-05  2:31 ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2021-05-05 11:37 Jim Erickson
2021-05-05 12:23 ` Eli Zaretskii
2021-05-05 14:26 Jim Erickson
2021-05-05 14:51 ` Eli Zaretskii
2021-05-05 15:51 ` tomas
2021-05-06 16:31 Jim Erickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).