unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* rmail_ Invalid mbox file
@ 2023-10-01  2:40 జిందం వాఐి
  2023-10-01  5:34 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: జిందం వాఐి @ 2023-10-01  2:40 UTC (permalink / raw)
  To: Help-gnu Emacs

* emacs 28.2 on proot-distro debian
* i have read previous ml thread [ 1 ]
* from doesnt have colon
* cat ~/RMAIL | head -10
 From bounce+5442+761+7591695+12225238@groups.io Sun Sep 24 21:57:27 2023
Delivered-To: jindam@list.ru
Return-path: <bounce+5442+761+7591695+12225238@groups.io>
Authentication-Results: mxs.mail.ru; spf=pass (mx239.i.mail.ru: domain 
of groups.io designates 66.175.222.108 as permitted sender) 
smtp.mailfrom=bounce+5442+761+7591695+12225238@groups.io 
smtp.helo=mail02.groups.io;
          dkim=pass header.d=groups.io
Received-SPF: pass (mx239.i.mail.ru: domain of groups.io designates 
66.175.222.108 as permitted sender) client-ip=66.175.222.108; 
envelope-from=bounce+5442+761+7591695+12225238@groups.io; 
helo=mail02.groups.io;
Received: from mail02.groups.io ([66.175.222.108]:44804)
         by mx239.i.mail.ru with esmtp (envelope-from 
<bounce+5442+761+7591695+12225238@groups.io>)
         id 1qkX6U-00EWCj-1o
         for jindam@list.ru; Mon, 25 Sep 2023 00:57:27 +0300

* error
Debugger entered--Lisp error: (error "Invalid mbox file")
   error("Invalid mbox file")
   rmail-convert-file-maybe()
   rmail()
   funcall-interactively(rmail)
   command-execute(rmail record)
   execute-extended-command(nil "rmail" "rmail")
   funcall-interactively(execute-extended-command nil "rmail" "rmail")
   command-execute(execute-extended-command)

* retrieved email method
$ cd mail
$ movemail -v pops://jindam%40list.ru:PASSWD@pop.mail.ru:995 ~/RMAIL

* .emacs
(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
  '(auto-save-default nil)
  '(create-lockfiles nil)
  '(debug-on-error t)
  '(initial-buffer-choice "~/")
  '(make-backup-files nil)
  '(message-send-mail-function 'smtpmail-send-it)
  '(rmail-mbox-format 'mboxrd))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
  )

;; pop3

(require 'smtpmail)
(require 'rmail)

(setq user-mail-address "jindam@list.ru")
(setq user-full-name "జిందం వాఐి")
(setq smtpmail-smtp-user "jindam@list.ru"
           smtpmail-smtp-server "smtp.mail.ru"
            smtpmail-smtp-service 465
            smtpmail-stream-type 'ssl)

(setq
      rmail-preserve-inbox 1                     ; Don't delete mail from 
server
      rmail-mail-new-frame 1                     ; Compose in a full 
frame
      rmail-delete-after-output 1                ; Delete original mail 
after copying
      rmail-mime-prefer-html nil                 ; Prefer plaintext when 
possible
      rmail-file-name   "~/mail/inbox"           ; The path to our inbox 
file
      rmail-secondary-file-directory "~/mail"    ; The path to our other 
mbox files
      message-default-headers "Fcc: ~/mail/sent") ; Copy sent mail to the 
"sent" file

;; Debug
(setq smtpmail-debug-info t)
(setq smtpmail-debug-verb t)

;; html
(setq
  shr-use-fonts nil  ; Don't load fancy fonts
  shr-indentation 2  ; A left-margin of 2 columns
  shr-use-colors nil ; Don't load special colors
  shr-width 32       ; Fix width to 70 columns
  shr-bullet "• ")   ; A bullet character for <li> elements

;; tls
(setq rmail-movemail-flags "--tls")

;; Use Mail mode to compose messages (default)
(setq mail-user-agent 'sendmail-user-agent)

;; If you're using rmail
(setq read-mail-command 'rmail)

;;(setq rmail-primary-inbox-list
  ;;    (cons (concat "pop3://"
              ;;      "jindam@list.ru"
             ;;      "@pop.mail.ru") nil))

(setq
;; The mail URL, specifying a remote mail account
;; (Omit this to read from /var/mail/user)
rmail-primary-inbox-list
   '("pops://jindam@list.ru@pop.mail.ru"))

* how do i resolve issue?

[ 1 ] 
https://lists.gnu.org/archive/html/help-gnu-emacs/2021-05/msg00190.html

-- 
regards,
జిందం వాఐి [ jindam, vani ]
toots_ @jindam_vani@ieji.de
[matrix]_ @jindam.vani:oikei.net



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

* Re: rmail_ Invalid mbox file
  2023-10-01  2:40 rmail_ Invalid mbox file జిందం వాఐి
@ 2023-10-01  5:34 ` Eli Zaretskii
  2023-10-01 13:14   ` జిందం వాఐి
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2023-10-01  5:34 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Sun, 01 Oct 2023 08:10:36 +0530
> From: జిందం వాఐి <jindam.vani@disroot.org>
> 
> * emacs 28.2 on proot-distro debian
> * i have read previous ml thread [ 1 ]
> * from doesnt have colon
> * cat ~/RMAIL | head -10
>  From bounce+5442+761+7591695+12225238@groups.io Sun Sep 24 21:57:27 2023

This "From" line should begin at the beginning of the line, not after
a space.  Is that so in your mbox file?

In any case, please report this as a bug, and attach the mbox file to
your report, so that we could look at it closer.



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

* Re: rmail_ Invalid mbox file
  2023-10-01  5:34 ` Eli Zaretskii
@ 2023-10-01 13:14   ` జిందం వాఐి
  0 siblings, 0 replies; 3+ messages in thread
From: జిందం వాఐి @ 2023-10-01 13:14 UTC (permalink / raw)
  To: help-gnu-emacs

On 2023-10-01 11:04, Eli Zaretskii wrote:
>> Date: Sun, 01 Oct 2023 08:10:36 +0530
>> From: జిందం వాఐి <jindam.vani@disroot.org>
>> 
>> * emacs 28.2 on proot-distro debian
>> * i have read previous ml thread [ 1 ]
>> * from doesnt have colon
>> * cat ~/RMAIL | head -10
>>  From bounce+5442+761+7591695+12225238@groups.io Sun Sep 24 21:57:27 
>> 2023
> 
> This "From" line should begin at the beginning of the line, not after
> a space.  Is that so in your mbox file?

no, i still have text file of email and error code

> In any case, please report this as a bug, and attach the mbox file to
> your report, so that we could look at it closer.

done, with mess ;) excuse_ 
https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-10/msg00024.html

-- 
regards,
జిందం వాఐి [ jindam, vani ]
toots_ @jindam_vani@ieji.de
[matrix]_ @jindam.vani:oikei.net



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

end of thread, other threads:[~2023-10-01 13:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-01  2:40 rmail_ Invalid mbox file జిందం వాఐి
2023-10-01  5:34 ` Eli Zaretskii
2023-10-01 13:14   ` జిందం వాఐి

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).