help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rmail_ Invalid mbox file


From: జిందం వాఐి
Subject: rmail_ Invalid mbox file
Date: Sun, 01 Oct 2023 08:10:36 +0530

* 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]