Thread View: gnu.epoch.misc
3 messages
3 total messages
Started by Arnold Smith
Wed, 05 Aug 1992 17:40
sendmail/rmail-input compatibility in Epoch 4.0p2
Author: Arnold Smith
Date: Wed, 05 Aug 1992 17:40
Date: Wed, 05 Aug 1992 17:40
29 lines
1649 bytes
1649 bytes
I've been experiencing an odd problem with sendmail in Epoch 4.0p2 that I
didn't have with Epoch 3.2. I use epoch to send most of my mail, and I
have mail-archive-file-name set non-nil (to the name of a file in fact) in
order to retain copies of all messages I send. Since installing 4.0p2,
outgoing messages continue to be put into the specified file, but in a
format that (rmail-convert-to-babyl-format) doesn't recognize as Unix mail
messages. The result is that if I examine my outgoing-messages file using
rmail-input, all messages sent using 4.0p2 appear to be concatenated
together as a single long message.
The only difference between the old and new headers that I can see appears
to be the addition of a time zone field. If no one else has encountered
this problem, I'll look more closely and see if I can find out exactly what's
going on.
Old (3.2) format message header:
From smith Thu Jul 9 15:46:27 1992
To: dmc
Subject: /usr/local
New (4.0p2) format message header:
From smith Mon Jul 13 11:17:03 1992 BST
To: manny
Subject: in tomorrow
The system environment is SunOS 4.1.2 on a SPARCstation (IPX), running
OpenWindows 3.
sendmail/rmail-input compatibility in Epoch 4.0p2
Author: Marc Andreessen
Date: Wed, 05 Aug 1992 09:00
Date: Wed, 05 Aug 1992 09:00
25 lines
1324 bytes
1324 bytes
--> On Wed, 5 Aug 92 18:40:19 BST, Arnold Smith <smith@cam.sri.com> said: /arnold/ Old (3.2) format message header: /arnold/ From smith Thu Jul 9 15:46:27 1992 To: dmc Subject: /arnold/ /usr/local /arnold/ New (4.0p2) format message header: /arnold/ From smith Mon Jul 13 11:17:03 1992 BST To: manny /arnold/ Subject: in tomorrow This isn't Epoch's fault, it's Emacs's. (Epoch 4.0 is based on a later version of GNU Emacs than 3.2.) From 4.0p2's lisp/ChangeLog: ------------------------------------------------------------------------------ Tue Jan 28 16:22:59 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * sendmail.el (mail-do-fcc): Put timezone in From line. ------------------------------------------------------------------------------ This change took effect in GNU Emacs 18.58 (which is what 4.0p2 is based on). Marc
bug in sendmail.el in Emacs 18.58 distribution
Author: Stephan Oepen
Date: Fri, 07 Aug 1992 19:15
Date: Fri, 07 Aug 1992 19:15
56 lines
3044 bytes
3044 bytes
marca@ncsa.uiuc.edu (Marc Andreessen) writes:
> This isn't Epoch's fault, it's Emacs's. (Epoch 4.0 is based on a
> later version of GNU Emacs than 3.2.)
yes, true. however, i consider having the timezone go _behind_ the
year a bug in sendmail.el as it comes with Emacs 18.58 (as well as the
`feature' that always gives you a `Sender:' field whether you want it
or not ... :-{).
this is what i did to our copy of {Emacs | Epoch} ... works fine.
oe@disco-sol (~) 41 $ diff /usr/gnu/emacs/lisp/sendmail.el \
/usr/gnu/emacs/local-lisp/sendmail.el
20a21,27
> ;; routine mail-do-fcc() has been hacked to insert the timezone _before_
> ;; the year instead of at the end of the line, hence allowing to
> ;; rmail-input() files written from `FCC:' fields.
> ;; sendmail-send-it() has been fixed not to include a `Sender:' field in
> ;; every message having a `From:' field only. 26-jun-1992 -- oe.
>
>
214,221c221,228
< (goto-char (point-min))
< (and (re-search-forward "^From:" delimline t)
< (not (save-excursion
< (goto-char (point-min))
< (re-search-forward "^Sender:" delimline t)))
< (progn
< (forward-line 1)
< (insert "Sender: " (user-login-name) "\n")))
---
> ; (goto-char (point-min))
> ; (and (re-search-forward "^From:" delimline t)
> ; (not (save-excursion
> ; (goto-char (point-min))
> ; (re-search-forward "^Sender:" delimline t)))
> ; (progn
> ; (forward-line 1)
> ; (insert "Sender: " (user-login-name) "\n")))
286c293,296
< (current-time-string) " " timezone "\n")
---
> (current-time-string) "\n")
> (forward-word -1)
> (insert timezone " ")
> (goto-char (point-max))
\relax\bye - oe
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Stephan Oepen, Hanna-Kirchner-Str. 8, 66oo Saarbruecken, (o681) - 63 59 24
;;; - oe@dfki.uni-sb.de | oe@cs.tu-berlin.de | oe@gnu.ai.mit.edu -
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads