[ This is a Mail mode bug. --kyle ]
This is not a new problem; I noticed it previously with 6.63.
Problem: VM writes to the FCC outgoing mail file even when sending the
message fails. I think the correct behavior (to be an accurate record of
what was actually sent) should be that it only gets written if the mail
was successfully sent.
Example: I am always running out of memory since I generally have 2 mail
files open, each 10-30 MB large. When this happens, I occasionally get
"Can't fork: bad file number" error when trying to get new mail, send
mail, or open a new buffer. This happens until I increase my swap space,
kill one of the large mail buffers, or kill other system processes.
But that's a different problem I have to cope with...
In any case, when I try to send a mail message in this situation, it fails
with the above error, but still appends it to my folder specified in the
FCC header. If I then try to clear up some memory and resend, it gets
written to the folder again with a different timestamp and message ID. I
think it should wait until it successfully sends it before writing to the
FCC file.
Thanks,
jfw
Emacs : XEmacs 20.4 "Emerald" [Lucid] (sparc-sun-solaris2.5.1) of Thu Aug 27
1998 on jwhitehe-sun
Package: VM 6.72
current state:
==============
(setq
vm-arrived-message-hook nil
vm-arrived-messages-hook nil
vm-auto-center-summary nil
vm-auto-decode-mime-messages t
vm-auto-displayed-mime-content-type-exceptions nil
vm-auto-displayed-mime-content-types '("image" "image/gif"
"image/jpeg"
"message" "multipart" "text/enriched"
"text/plain")
vm-auto-folder-case-fold-search nil
vm-auto-get-new-mail nil
vm-auto-next-message t
vm-berkeley-mail-compatibility nil
vm-check-folder-types t
vm-circular-folders nil
vm-confirm-new-folders nil
vm-confirm-quit 0
vm-convert-folder-types t
vm-crash-box "~/mail/Misc.CRASH"
vm-crash-box-suffix nil
vm-default-From_-folder-type 'From_
vm-default-folder-type 'From_-with-Content-Length
vm-delete-after-archiving nil
vm-delete-after-bursting t
vm-delete-after-saving nil
vm-delete-empty-folders t
vm-digest-burst-type "guess"
vm-digest-identifier-header-format "X-Digest: %s\n"
vm-digest-center-preamble t
vm-digest-preamble-format "\"%s\" (%F)"
vm-digest-send-type "mime"
vm-display-buffer-hook nil
vm-display-using-mime t
vm-edit-message-hook nil
vm-edit-message-mode 'text-mode
vm-fill-paragraphs-containing-long-lines 80
vm-flush-interval 90
vm-folder-directory "~/mail/"
vm-folder-read-only nil
vm-follow-summary-cursor t
vm-forward-message-hook nil
vm-forwarded-headers nil
vm-forwarding-digest-type "mime"
vm-forwarding-subject-format "Fwd: [%F] %s"
vm-frame-parameter-alist nil
vm-frame-per-completion t
vm-frame-per-composition t
vm-frame-per-edit t
vm-frame-per-folder t
vm-frame-per-help nil
vm-frame-per-summary nil
vm-highlight-url-face 'bold
vm-highlighted-header-regexp "^\\(From:\\|Subject:\\)"
vm-honor-page-delimiters nil
vm-image-directory "/usr/local/lib/xemacs-20.4/etc/vm/"
vm-imap-bytes-per-session nil
vm-imap-expunge-after-retrieving t
vm-imap-max-message-size nil
vm-imap-messages-per-session nil
vm-in-reply-to-format "%i"
vm-included-text-attribution-format "%F writes:\n"
vm-included-text-discard-header-regexp nil
vm-included-text-headers nil
vm-included-text-prefix " > "
vm-index-file-suffix ".index"
vm-init-file "~/.vm"
vm-infer-mime-types nil
vm-invisible-header-regexp
"^\\(A1-type:\\|Admin:\\|Alternate-recipient:\\|Approved-By:\\|Autoforwarded:\\|Content-Disposition:\\|Content-Identifier:\\|Content-Length:\\|Content-Transfer-Encoding:\\|Content-Type:\\|Errors-To:\\|Hop-count:\\|Importance:\\|In-Reply-To:\\|Lines:\\|List-\\|Message-ID:\\|MIME-Version:\\|MR-Received:\\|NNTP-Posting-Host:\\|Organi[sz]ation:\\|Original-Encoded-Information-Types:\\|Path:\\|Posting-date:\\|Precedence:\\|Priority:\\|Received:\\|References:\\|Reply-to:\\|Resent-Date:\\|Resent-From:\\|Resent-Message-ID:\\|Return-Path:\\|Resent-Sender:\\|Sender:\\|Sensitivity:\\|Status:\\|Summary:\\|UA-content-id:\\|X-AIGTO:\\|X-AirNote:\\|X-Attachments:\\|X-Comment:\\|X-Face:\\|X-Imperative:\\|X-Mailer:\\|X-MIME-Autoconverted:\\|X-EFF_\\|X-Loop:\\|X-Lotus-\\|X-Mailing-List:\\|X-MimeOle:\\|X-MS-\\|X-MSMail-\\|X-OpenMail-Hops:\\|X-Organization:\\|X-PGPKey-URL:\\|X-Phone:\\|X-Planation:\\|X-Priority:\\|X-Procc?essed-By:\\|X-SB\\|X-Sender:\\|X-SMAP-Received-F!
!
!
rom:\\|X-Spam\\|X-Sun-Charset:\\|X-VM-\\|X-Zippy-Sez:\\|X400-\\|Xref:\\)"
vm-jump-to-new-messages t
vm-jump-to-unread-messages t
vm-keep-crash-boxes "/tmp"
vm-keep-sent-messages t
vm-mail-header-from nil
vm-mail-header-insert-date t
vm-mail-header-insert-message-id t
vm-mail-hook nil
vm-make-crash-box-name nil
vm-make-spool-file-name nil
vm-mail-check-interval 300
vm-mail-mode-hook nil
vm-mime-7bit-composition-charset "us-ascii"
vm-mime-8bit-composition-charset "iso-8859-1"
vm-mime-8bit-text-transfer-encoding 'quoted-printable
vm-mime-alternative-select-method 'best-internal
vm-mime-attachment-auto-type-alist '(("\\.jpe?g$" .
"image/jpeg")
("\\.gif$" . "image/gif")
("\\.png$" . "image/png")
("\\.tiff?$" . "image/tiff")
("\\.html?$" . "text/html")
("\\.au$" . "audio/basic")
("\\.mpe?g$" . "video/mpeg")
("\\.ps$" . "application/postscript"))
vm-mime-attachment-save-directory "~/mail/attachments/"
vm-mime-avoid-folding-content-type t
vm-mime-base64-decoder-program "mimencode"
vm-mime-base64-decoder-switches '("-u")
vm-mime-base64-encoder-program "mimencode"
vm-mime-base64-encoder-switches nil
vm-mime-button-format-alist '(("text" . "%-35.35(%d, %c%) [%k to
%a]")
("multipart/alternative" .
"%-35.35(%d%) [%k to %a]")
("multipart/digest" .
"%-35.35(%d, %n message%s%) [%k to %a]")
("multipart" .
"%-35.35(%d, %n part%s%) [%k to %a]")
("message/partial" .
"%-35.35(%d, part %N (of %T)%) [%k to %a]")
("message" . "%-35.35(%d%) [%k to %a]")
("audio" . "%-35.35(%d%) [%k to %a]")
("video" . "%-35.35(%d%) [%k to %a]")
("image" . "%-35.35(%d%) [%k to %a]")
("application/octet-stream" .
"%-35.35(%d, %f%) [%k to %a]")
)
vm-mime-button-face 'gui-button-face
vm-mime-charset-font-alist nil
vm-mime-default-face-charsets '("us-ascii" "iso-8859-1"
"iso-8859-2"
"windows-1252")
vm-mime-digest-discard-header-regexp nil
vm-mime-digest-headers '("Resent-" "From:" "Sender:"
"To:" "Cc:" "Subject:"
"Date:" "Message-ID:" "Keywords:"
"MIME-Version:"
"Content-")
vm-mime-display-function nil
vm-mime-external-content-types-alist '(("application/pdf"
"acroread")
("image" "xv")
("text/html"
"netscape -remote 'openURL(file://%f)'")
("video" "xanim"))
vm-mime-ignore-mime-version t
vm-mime-internal-content-type-exceptions nil
vm-mime-internal-content-types t
vm-mime-max-message-size nil
vm-mime-type-converter-alist '(("application/msword" "text/plain"
"catdoc -"
"text/html" "text/plain" "cat")
)
vm-mode-hook nil
vm-mode-hooks nil
vm-mosaic-program "Mosaic"
vm-mosaic-program-switches nil
vm-move-after-deleting t
vm-move-after-undeleting nil
vm-move-after-killing t
vm-move-messages-physically nil
vm-movemail-program "movemail"
vm-mutable-frames t
vm-mutable-windows t
vm-netscape-program "netscape"
vm-netscape-program-switches nil
vm-pop-bytes-per-session nil
vm-pop-expunge-after-retrieving t
vm-pop-max-message-size nil
vm-pop-messages-per-session nil
vm-pop-md5-program "md5"
vm-popup-menu-on-mouse-3 t
vm-preferences-file "~/.vm.preferences"
vm-preview-lines nil
vm-preview-read-messages nil
vm-primary-inbox "INTERNAL"
vm-quit-hook nil
vm-recognize-imap-maildrops "^imap:[^:]+:[^:]+:[^:]+:[^:]+:[^:]+:[^:]+"
vm-recognize-pop-maildrops "^[^:]+:[^:]+:[^:]+:[^:]+:[^:]+"
vm-reply-hook nil
vm-reply-ignored-reply-tos nil
vm-reply-subject-prefix "Re: "
vm-resend-bounced-discard-header-regexp nil
vm-resend-bounced-headers '("MIME-Version:" "Content-"
"From:" "Sender:"
"Reply-To:" "To:" "Cc:" "Subject:"
"Newsgroups:"
"In-Reply-To:" "References:" "Keywords:"
"X-")
vm-resend-bounced-message-hook nil
vm-resend-discard-header-regexp "\\(\\(X400-\\)?Received:\\|Resent-\\)"
vm-resend-headers nil
vm-resend-message-hook nil
vm-retrieved-spooled-mail-hook nil
vm-rfc1153-digest-discard-header-regexp "\\(X400-\\)?Received:"
vm-rfc1153-digest-headers '("Resent-" "Date:" "From:"
"Sender:" "To:" "Cc:"
"Subject:" "Message-ID:" "Keywords:")
vm-rfc934-digest-discard-header-regexp nil
vm-rfc934-digest-headers '("Resent-" "From:" "Sender:"
"To:" "Cc:" "Subject:"
"Date:" "Message-ID:" "Keywords:")
vm-search-using-regexps nil
vm-select-message-hook '(bbdb/vm-update-record)
vm-select-new-message-hook nil
vm-select-unread-message-hook nil
vm-send-digest-hook nil
vm-send-using-mime t
vm-skip-deleted-messages t
vm-skip-read-messages nil
vm-spool-file-suffixes nil
vm-startup-with-summary 1
vm-strip-reply-headers nil
vm-summary-format "%n %*%a %-22.22UB %-3.3m%2d %I\"%s\"\n"
vm-summary-highlight-face 'bold
vm-summary-mode-hook nil
vm-summary-mode-hooks nil
vm-summary-redo-hook nil
vm-summary-show-threads nil
vm-summary-thread-indent-level 1
vm-summary-uninteresting-senders-arrow "To: "
vm-tale-is-an-idiot nil
vm-temp-file-directory "/tmp"
vm-thread-using-subject t
vm-toolbar-pixmap-directory "/usr/local/lib/xemacs-20.4/etc/vm/"
vm-trust-From_-with-Content-Length t
vm-undisplay-buffer-hook '(vm-delete-buffer-frame)
vm-unforwarded-header-regexp "only-drop-this-header"
vm-url-browser 'vm-mouse-send-url-to-netscape
vm-url-search-limit 20000
vm-use-menus '(folder motion send mark label sort virtual undo dispose emacs
nil help)
vm-use-toolbar '(next previous delete/undelete autofile file reply compose
print visit quit nil help)
vm-virtual-folder-alist '(("EXTERNAL Unfiled"
(("EXTERNAL") (not (virtual-folder-member))))
("INTERNAL Unfiled"
(("INTERNAL") (not (virtual-folder-member))))
)
vm-virtual-mirror t
vm-visible-headers '("From:" "Subject:" "Date:"
"To:")
vm-visit-folder-hook nil
vm-visit-when-saving 0
vm-warp-mouse-to-new-frame nil
vm-window-configuration-file "~/.vm.windows"
features '(reporter bbdb-com mail-abbrevs sendmail vm-reply vm-search
lazy-lock hyper-apropos pp vm-sort vm-minibuf vm-macro vm-delete
vm-undo highlight-headers bbdb-hooks mail-extr mail-utils vm-page
vm-mime vm-summary vm-save tapestry vm-motion vm-toolbar
vm-message vm-menu vm-folder vc-hooks vm-misc vm-mouse vm-window
my-virtual-folders bbdb-sc sc-header-jfw-rmail supercite regi
bbdb-vm vm-autoload vm-vars vm-startup vm-version vm bbdb t
timezone filladapt time rsz-minibuf func-menu font-lock crypt
crypt++ completer auto-save view-less view default-dir efs-cu
efs-x19\.15 efs-fnh efs-ovwrt efs-auto cus-face dired-faces
dired-xemacs dired x11-autoloads w3-autoloads vm-autoloads
viper-autoloads vc-autoloads utils-autoloads tm-autoloads
tl-autoloads rmail-autoloads psgml-autoloads prim-autoloads
pcl-cvs-autoloads packages-autoloads modes-autoloads
mh-e-autoloads mel-autoloads mailcrypt-autoloads iso-autoloads
hm--html-menus-autoloads gnus-autoloads gnats-autoloads
games-autoloads eterm-autoloads emulators-autoloads
electric-autoloads efs-autoloads ediff-autoloads edebug-autoloads
custom-autoloads comint-autoloads cc-mode-autoloads
calendar-autoloads bytecomp-autoloads auctex-autoloads
apel-autoloads auto-show fontl-hooks ediff-hook x-iso8859-1
x-menubar mouse mode-motion itimer lisp-mode easymenu iso8859-1
page buff-menu lib-complete help-nomule derived frame text-props
cus-start custom widget cl-autoloads cl-extra mini-cl cl cl-19
packages backquote tooltalk lucid-scrollbars cut-buffer
lucid-menubars xpm gif motif-dialogs x tty-frames tty toolbar
native-sound scrollbar network-streams subprocesses menubar dbm
md5 xemacs lisp-float-type usg-unix-v dialog window-system
c-balloon-help)
)
--
john f whitehead email jfw(a)cisco.com
i t advanced technology voice 408-527-2809
cisco systems inc pager 800-365-4578
Show replies by date