Subject: Rewrites of UNIX From line

From: Rick Troxel <[email-masked]>
Date: Thu, 28 Oct 1993 16:39:48 -0400 (EDT)

I recently discovered that Pine's save and extract operations rewrite the
"Unix from line" of a message with my own address and the time of the
operation.  Can this possibly be a feature? 

This is with V3.85 on a Convex and V3.87 on an SGI.

Thanks,

Rick Troxel                 [email-masked]                 301/496-4823
///////////////////////////////////////////////////////////////////////////
     All effort and exertion put forth by man from the fullness of his
     heart is worship, if it  is prompted  by the  highest motives and
     the will to do service to humanity.                 --Abdu'l-Baha

---

From: Alex Tang <[email-masked]>
Date: Thu, 28 Oct 1993 19:07:21 -0400 (EDT)

Hi all.  I've ported (sorta) 3.87 to NetBSD-0.8.  It was fairly easy....i 
just changed a couple of things.  But...the problem is that it doesn't 
work. :(

It compiles and runs fine, but when I run it, the mail i send just 
vaporizes.  At least as far as I can tell, i send the mail, and it never 
gets anywhere.  (I can't even send to users on the same machine).  I can 
see the message briefly pass through /usr/spool/mqueue, but then nothing. 

I think that The .pinedebug files are indicating that all went well.  No 
errors.

sendmail works ok, i can use ucb mail, and i had an old version of pine 
running (3.05), but it got deleted a while back.
I can't figure out why it's doing this.  I'm including my .pinedebug file 
below.

Thanx...alex...

Alex Tang  ---  [email-masked][email-masked]
-----------+    U of M, SNRE: Student and Computer Consultant II,
PGP on req.|    ITD/CSS Consultant, Short asian with long hair :)

Debug output of the Pine program (at debug level 6).  Version 3.87
Thu Oct 28 19:22:18 1993

reading_pinerc "/usr/local/lib/pine.conf"
Read 1582 characters
pinerc : /usr/local/l :              printer : "lpr"
reading_pinerc "/usr/u/altitude/.pinerc"
Read 6060 characters
pinerc : /usr/u/altit :        personal-name : "Alex Tang"
pinerc : /usr/u/altit :              printer : "attached-to-ansi"
pinerc : /usr/u/altit : personal-print-comma : "enscript -2Gr"
pinerc : /usr/u/altit : last-time-prune-ques : "93.10"
pinerc : /usr/u/altit :          user-domain : "umich.edu"
pinerc : /usr/u/altit : use-only-domain-name : "yes"
pinerc : /usr/u/altit :               editor : "vi"
pinerc : /usr/u/altit :     incoming-folders : "Recycle.inbox {recycle.snre.umich.edu}inbox"
pinerc : /usr/u/altit :   folder-collections : "mail/[]"
pinerc : /usr/u/altit :     news-collections : "news *{news.itd.umich.edu/nntp}[]"
pinerc : /usr/u/altit :         feature-list : "old-growth"
pinerc : /usr/u/altit : initial-keystroke-li : "i"
pinerc : /usr/u/altit :    last-version-used : "3.87"
    personal-name :          Alex Tang            <unset>            <unset>
          user-id :            <unset>            <unset>            <unset>
      user-domain :          umich.edu            <unset>          umich.edu
      smtp-server :            <unset>            <unset>            <unset>
       inbox-path :            <unset>              inbox              inbox
 incoming-folders : Recycle.inbox {rec            <unset> Recycle.inbox {rec
folder-collection :            mail/[]            <unset>            mail/[]
 news-collections : news *{news.itd.um            <unset> news *{news.itd.um
      default-fcc :            <unset>          sent-mail          sent-mail
   mail-directory :            <unset>               mail               mail
read-message-fold :            <unset>            <unset>            <unset>
   signature-file :            <unset>         .signature         .signature
     address-book :            <unset>       .addressbook       .addressbook
     feature-list :         old-growth            <unset>         old-growth
initial-keystroke :                  i            <unset>            <unset>
saved-msg-name-ru :            <unset>     default-folder     default-folder
         sort-key :            <unset>            arrival            reverse
    character-set :            <unset>            <unset>            <unset>
           editor :                 vi            <unset>                 vi
     image-viewer :            <unset>            <unset>            <unset>
use-only-domain-n :                yes                 no                yes
          printer :   attached-to-ansi                lpr   attached-to-ansi
personal-print-co :      enscript -2Gr            <unset>      enscript -2Gr
 standard-printer :            <unset>                lpr                lpr
last-time-prune-q :              93.10            <unset>              93.10
last-version-used :               3.87            <unset>               3.87
    bugs-nickname :            <unset>            <unset>            <unset>
    bugs-fullname :            <unset>            <unset>            <unset>
     bugs-address :            <unset>            <unset>            <unset>
   elm-style-save :            <unset>                 no                 no
  header-in-reply :            <unset>                 no                 no
    feature-level :            <unset>            sapling            sapling
  old-style-reply :            <unset>                 no                 no
     compose-mime :            <unset>            <unset>            <unset>
show-all-characte :            <unset>            <unset>            <unset>
   save-by-sender :            <unset>                 no                 no
Userid: altitude
Fullname: "Alex Tang"
User domain name being used "umich.edu"
Local Domain name being used "snre.umich.edu"
Host name being used "recycle.snre.umich.edu"
Mail Domain name being used "umich.edu"
new win size -----<24 80>------
Terminal type: vt100
Context [] type: LOCAL
Context mail/[] type: LOCAL
Context {recycle.snre.umich.edu}mail/[] type: REMOTE
Context *{news.itd.umich.edu/nntp}[] type: REMOTE BBOARD OLDTECH
About to open folder "INBOX"    inbox: "INBOX"
broach_folder: nickname for inbox is INBOX
=== mm_exists(2,/var/mail/altitude) called ===
Opened folder "/var/mail/altitude" with 2 messages
Sorting by arrival/reverse
First unseen returning 1
==== expire_mail called ====

 ---- MAIL INDEX ----
***** new_mail pinging *****
New mail checked 
******** new mail returning -1  ********

 - process_cmd((99)c) -

    ---- COMPOSE SCREEN (not in pico yet) ----

 === send called === 
Address book opened with 26 items
=== init_addr_disp called ===
new win size -----<24 80>------
cannonized To "[email-masked]"
====== context_mailbox: (sent-mail)
=== call_mailer ===
=== expand_foldername called (/var/tmp//pinesend000765) ===
returning "/var/tmp//pinesend000765"
Send command "(( /usr/lib/sendmail -oi -oem -t ; /bin/rm -f /var/tmp//pinesend000765) & )< /var/tmp//pinesend000765"

***** MAIL SENT ******
To: [email-masked]: Testing, d6
Message ID: <[email-masked]>

 ---- MAIL INDEX ----

 - process_cmd((113)q) -
MAIL_CMD: quit

    ---- QUIT SCREEN ----
expunge and close mail stream "/var/mail/altitude"
about to end_tty_driver

---

From: Steve Hubert <[email-masked]>
Date: Thu, 28 Oct 1993 23:09:33 -0700 (PDT)

You could try some debugging by altering the source so that it stops after
it creates the /tmp/pinesend123456 file and returns NULL.  Then you could
look at that file (the input to sendmail) to see if it looks right and try
running it through sendmail with sendmail verboseness and debugging turned
on.  If your syslog is working you might be able to find some mention of
the sendmail problem, there, too.

Alternatively, you could try setting the smtp-server to some other SMTP 
host and see if avoiding the local sendmail fixes it for you.

Steve Hubert <[email-masked]>
Networks and Distributed Computing, Univ. of Washington, Seattle